adjust firewall rules for replication

This commit is contained in:
Kevin Fenzi 2016-10-05 19:38:22 +00:00
parent b3fce63ae7
commit a196d70bbf
2 changed files with 3 additions and 3 deletions

View file

@ -25,9 +25,9 @@ fas_client_groups: sysadmin-dba,sysadmin-noc,sysadmin-veteran
kernel_shmmax: 68719476736 kernel_shmmax: 68719476736
# #
# Only allow postgresql access from the frontend node. # Only allow postgresql access from the frontend node and other db nodes
# #
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.86 --dport 5432 -j ACCEPT' ] custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.86 --dport 5432 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 10.5.126.188 --dport 5432 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 10.5.126.189 --dport 5432 -j ACCEPT' ]
# #
# Large updates pushes cause lots of db threads doing the tag moves, so up this from default. # Large updates pushes cause lots of db threads doing the tag moves, so up this from default.

View file

@ -27,7 +27,7 @@ kernel_shmmax: 68719476736
# #
# Only allow postgresql access from the frontend node. # Only allow postgresql access from the frontend node.
# #
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.86 --dport 5432 -j ACCEPT' ] custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.86 --dport 5432 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 10.5.126.188 --dport 5432 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 10.5.126.189 --dport 5432 -j ACCEPT' ]
# #
# Large updates pushes cause lots of db threads doing the tag moves, so up this from default. # Large updates pushes cause lots of db threads doing the tag moves, so up this from default.