pgpool 之五 pgpool的start、stop、reload

版权声明:本文为博主原创文章,转载请标明出处。 https://blog.csdn.net/ctypyb2002/article/details/85629153

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

猜你喜欢

转载自blog.csdn.net/ctypyb2002/article/details/85629153