pgpool 之五 pgpool的start、stop、reload
阿新 • • 發佈:2019-01-11
os: ubuntu 16.04
db: postgresql 9.6.8
pgpool: pgpool-II-3.7.7
pgpool start
$ which pgpool
/usr/pgpool-3.7.7/bin/pgpool
$ pgpool --help
$ pgpool -f /usr/pgpool-3.7.7/etc/pgpool.conf -F /usr/pgpool-3.7.7/etc/pcp.conf -a /usr/pgpool-3.7.7/etc/pool_hba.conf > /tmp/pgpool.log 2>&1 &
pgpool stop
$ which pgpool /usr/pgpool-3.7.7/bin/pgpool $ pgpool --help $ pgpool -f /usr/pgpool-3.7.7/etc/pgpool.conf -F /usr/pgpool-3.7.7/etc/pcp.conf -a /usr/pgpool-3.7.7/etc/pool_hba.conf -m fast stop
pgpool reload
$ which pgpool
/usr/pgpool-3.7.7/bin/pgpool
$ pgpool --help
$ pgpool -f /usr/pgpool-3.7.7/etc/pgpool.conf -F /usr/pgpool-3.7.7/etc/pcp.conf -a /usr/pgpool-3.7.7/etc/pool_hba.conf reload
參考:
http://www.pgpool.net/mediawiki/index.php/Downloads
http://www.pgpool.net/docs/latest/en/html/index.html