Skip to content

Commit

Permalink
Merge pull request #6173 from pvisweswar/SAAS-15050/remove_one_data_n…
Browse files Browse the repository at this point in the history
…ode_from_each_zone

Removing one datanode from each zone in Production
  • Loading branch information
AmitPhulera authored Nov 23, 2023
2 parents df27b77 + d7ef72a commit d00da1e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
4 changes: 0 additions & 4 deletions environments/production/aws-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 0 additions & 6 deletions environments/production/inventory.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions environments/production/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d00da1e

Please sign in to comment.