Skip to content

Commit

Permalink
removing pgbouncer_c1 from production environment
Browse files Browse the repository at this point in the history
  • Loading branch information
pvisweswar committed Oct 9, 2023
1 parent e424943 commit 52255a9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 26 deletions.
3 changes: 0 additions & 3 deletions environments/production/inventory.ini
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ mobile_webworkers
10.202.41.209 hostname=pgbouncer-b2-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-0401d2bda17749fb5 root_encryption_mode=aws pgbouncer_processes=2
[pgbouncer_b3]
10.202.41.227 hostname=pgbouncer-b3-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-06b0e8333a5597559 root_encryption_mode=aws pgbouncer_processes=2
[pgbouncer_c1]
10.202.42.16 hostname=pgbouncer-c1-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-079250a517f8cf507 root_encryption_mode=aws pgbouncer_processes=2
[pgbouncer13]
10.202.40.97 hostname=pgbouncer13-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-00081ab490dce797c root_encryption_mode=aws pgbouncer_processes=2
[pgbouncer14]
Expand Down Expand Up @@ -147,7 +145,6 @@ pgbouncer_a5
pgbouncer_a6
pgbouncer_b2
pgbouncer_b3
pgbouncer_c1
pgbouncer13
pgbouncer14
pgformplayer_nlb
Expand Down
2 changes: 0 additions & 2 deletions environments/production/inventory.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ mobile_webworkers
{{ __pgbouncer_a6__ }} pgbouncer_processes=2
{{ __pgbouncer_b2__ }} pgbouncer_processes=2
{{ __pgbouncer_b3__ }} pgbouncer_processes=2
{{ __pgbouncer_c1__ }} pgbouncer_processes=2
{{ __pgbouncer13__ }} pgbouncer_processes=2
{{ __pgbouncer14__ }} pgbouncer_processes=2

Expand Down Expand Up @@ -91,7 +90,6 @@ pgbouncer_a5
pgbouncer_a6
pgbouncer_b2
pgbouncer_b3
pgbouncer_c1
pgbouncer13
pgbouncer14
pgformplayer_nlb
Expand Down
11 changes: 0 additions & 11 deletions environments/production/postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ dbs:
- pgbouncer_a5
- pgbouncer_b2
- pgbouncer_b3
- pgbouncer_c1
- pgbouncer13
- pgbouncer14
formplayer:
Expand All @@ -60,7 +59,6 @@ dbs:
- pgbouncer_a5
- pgbouncer_b2
- pgbouncer_b3
- pgbouncer_c1
- pgbouncer13
- pgbouncer14
ucr:
Expand All @@ -73,7 +71,6 @@ dbs:
- pgbouncer_a5
- pgbouncer_b2
- pgbouncer_b3
- pgbouncer_c1
- pgbouncer13
- pgbouncer14
query_stats: True
Expand All @@ -85,7 +82,6 @@ dbs:
- pgbouncer_a5
- pgbouncer_b2
- pgbouncer_b3
- pgbouncer_c1
- pgbouncer13
- pgbouncer14
auditcare:
Expand All @@ -98,7 +94,6 @@ dbs:
- pgbouncer_a5
- pgbouncer_b2
- pgbouncer_b3
- pgbouncer_c1
- pgbouncer13
- pgbouncer14
repeaters:
Expand All @@ -111,7 +106,6 @@ dbs:
- pgbouncer_a5
- pgbouncer_b2
- pgbouncer_b3
- pgbouncer_c1
- pgbouncer13
- pgbouncer14
form_processing:
Expand All @@ -130,7 +124,6 @@ dbs:
- pgbouncer_a5
- pgbouncer_b2
- pgbouncer_b3
- pgbouncer_c1
- pgbouncer13
- pgbouncer14
p2:
Expand All @@ -142,7 +135,6 @@ dbs:
- pgbouncer_a5
- pgbouncer_b2
- pgbouncer_b3
- pgbouncer_c1
- pgbouncer13
- pgbouncer14
p3:
Expand All @@ -154,7 +146,6 @@ dbs:
- pgbouncer_a5
- pgbouncer_b2
- pgbouncer_b3
- pgbouncer_c1
- pgbouncer13
- pgbouncer14
p4:
Expand All @@ -166,7 +157,6 @@ dbs:
- pgbouncer_a5
- pgbouncer_b2
- pgbouncer_b3
- pgbouncer_c1
- pgbouncer13
- pgbouncer14
p5:
Expand All @@ -178,6 +168,5 @@ dbs:
- pgbouncer_a5
- pgbouncer_b2
- pgbouncer_b3
- pgbouncer_c1
- pgbouncer13
- pgbouncer14
10 changes: 0 additions & 10 deletions environments/production/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,14 +366,6 @@ servers:
volume_encrypted: yes
group: "postgresql"
os: jammy
- server_name: "pgbouncer_c1-production" # pgbouncer_host for pgmain, formplayer
server_instance_type: t3a.large
network_tier: "db-private"
az: "c"
volume_size: 80
volume_encrypted: yes
group: "postgresql"
os: jammy
- server_name: "pgbouncer13-production" # pgbouncer_host for ucr dbs
server_instance_type: t3a.large
network_tier: "db-private"
Expand Down Expand Up @@ -592,12 +584,10 @@ pgbouncer_nlbs:
targets:
- pgbouncer_a4-production
- pgbouncer_b2-production
- pgbouncer_c1-production
- name: pgmain_nlb-production
targets:
- pgbouncer_a4-production
- pgbouncer_b2-production
- pgbouncer_c1-production
- name: pgucr_nlb-production
targets:
- pgbouncer13-production
Expand Down

0 comments on commit 52255a9

Please sign in to comment.