From 65b89fd8b9a047c47430639509183a25c8032a17 Mon Sep 17 00:00:00 2001 From: pvisweswar Date: Tue, 21 Nov 2023 11:55:25 +0530 Subject: [PATCH 1/3] removing one datanode from each zone --- environments/production/terraform.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/environments/production/terraform.yml b/environments/production/terraform.yml index 2abf714b27..46800e494a 100644 --- a/environments/production/terraform.yml +++ b/environments/production/terraform.yml @@ -123,7 +123,7 @@ servers: enable_cross_region_backup: yes group: "elasticsearch" os: jammy - count: 5 + count: 4 - server_name: "es_b2{i}-production" server_instance_type: r6a.4xlarge @@ -135,7 +135,7 @@ servers: volume_size: 2100 group: "elasticsearch" os: jammy - count: 5 + count: 4 - server_name: "escoordinator_a1-production" server_instance_type: r6a.2xlarge From fdc36ed089ed68e860176a72c1131f887a57b276 Mon Sep 17 00:00:00 2001 From: pvisweswar Date: Tue, 21 Nov 2023 12:16:11 +0530 Subject: [PATCH 2/3] removing from inventory.ini file --- environments/production/inventory.ini | 6 ------ 1 file changed, 6 deletions(-) diff --git a/environments/production/inventory.ini b/environments/production/inventory.ini index 373cf51a0c..363f162711 100644 --- a/environments/production/inventory.ini +++ b/environments/production/inventory.ini @@ -300,14 +300,11 @@ webworkers 10.202.40.78 hostname=es-a2002-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-0169ade20a6b0c56a datavol_device=/dev/sdf datavol_device1=/dev/sdf is_datavol_ebsnvme=yes root_encryption_mode=aws [es_a2003] 10.202.40.227 hostname=es-a2003-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-05c908c2f55a1549a datavol_device=/dev/sdf datavol_device1=/dev/sdf is_datavol_ebsnvme=yes root_encryption_mode=aws -[es_a2004] -10.202.40.109 hostname=es-a2004-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-0a9afc5182ba77e2d datavol_device=/dev/sdf datavol_device1=/dev/sdf is_datavol_ebsnvme=yes root_encryption_mode=aws [es_a2:children] es_a2000 es_a2001 es_a2002 es_a2003 -es_a2004 [es_b2000] 10.202.41.55 hostname=es-b2000-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-04281634f9046726f datavol_device=/dev/sdf datavol_device1=/dev/sdf is_datavol_ebsnvme=yes root_encryption_mode=aws @@ -317,14 +314,11 @@ es_a2004 10.202.41.28 hostname=es-b2002-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-035adcea273d70022 datavol_device=/dev/sdf datavol_device1=/dev/sdf is_datavol_ebsnvme=yes root_encryption_mode=aws [es_b2003] 10.202.41.212 hostname=es-b2003-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-02a7aac1a3b7b4386 datavol_device=/dev/sdf datavol_device1=/dev/sdf is_datavol_ebsnvme=yes root_encryption_mode=aws -[es_b2004] -10.202.41.24 hostname=es-b2004-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-0c6cb9e5599cd41d5 datavol_device=/dev/sdf datavol_device1=/dev/sdf is_datavol_ebsnvme=yes root_encryption_mode=aws [es_b2:children] es_b2000 es_b2001 es_b2002 es_b2003 -es_b2004 [esmaster_a1] 10.202.40.93 hostname=esmaster-a1-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-0ef9b6a5a762418bf root_encryption_mode=aws elasticsearch_node_name=esmaster_a1 From d7ef72a4a3116d05da47efe61e7a073aee3fae43 Mon Sep 17 00:00:00 2001 From: pvisweswar Date: Thu, 23 Nov 2023 11:36:30 +0530 Subject: [PATCH 3/3] removing from aws-resources.yml file --- environments/production/aws-resources.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/environments/production/aws-resources.yml b/environments/production/aws-resources.yml index b69758e089..80fcb6d078 100644 --- a/environments/production/aws-resources.yml +++ b/environments/production/aws-resources.yml @@ -32,8 +32,6 @@ es_a2002-production: 10.202.40.78 es_a2002-production.instance_id: i-0169ade20a6b0c56a es_a2003-production: 10.202.40.227 es_a2003-production.instance_id: i-05c908c2f55a1549a -es_a2004-production: 10.202.40.109 -es_a2004-production.instance_id: i-0a9afc5182ba77e2d es_b2000-production: 10.202.41.55 es_b2000-production.instance_id: i-04281634f9046726f es_b2001-production: 10.202.41.131 @@ -42,8 +40,6 @@ es_b2002-production: 10.202.41.28 es_b2002-production.instance_id: i-035adcea273d70022 es_b2003-production: 10.202.41.212 es_b2003-production.instance_id: i-02a7aac1a3b7b4386 -es_b2004-production: 10.202.41.24 -es_b2004-production.instance_id: i-0c6cb9e5599cd41d5 escoordinator_a1-production: 10.202.40.159 escoordinator_a1-production.instance_id: i-07757f1f451725bf0 escoordinator_b1-production: 10.202.41.10