Created
October 25, 2014 10:16
-
-
Save ruzickap/f186e2f9db6eaf38f96e to your computer and use it in GitHub Desktop.
cz01-pgpool02 secondary pgpool server installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed \ | |
-e "s/^wd_hostname =.*/wd_hostname = 'cz01-pgpool02.example.com'/" \ | |
-e "s/^heartbeat_destination0 =.*/heartbeat_destination0 = 'cz01-pgpool01.example.com'/" \ | |
-e "s/^#other_pgpool_hostname0 =.*/other_pgpool_hostname0 = 'cz01-pgpool01.example.com'/" \ | |
-i /etc/pgpool-II-93/pgpool.conf | |
service pgpool-II-93 start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment