其中一个奴隶在复制时跑了。 建议您在发生这种情况时重新启动slony。 重新启动它应该采取哪些步骤?
谢谢, 沙拉德帕
答案 0 :(得分:3)
这取决于你如何安装Slony。例如,如果您有Debian软件包,请使用通常的/etc/init.d/slony1 restart
。
答案 1 :(得分:0)
你会在Postgres安装目录的bin目录中找到与slony相关的二进制文件 例如 - >可以使用/usr/pgsql-9.3/bin/slon_kill
slon_kill --help
Usage: slon_kill [--config file] [-w|--watchdog]
--config file Location of the slon_tools.conf file
-w
--watchdog Only kill the watchdog process(es)
Kills all running slon and slon_watchdog on this machine for every
node in the cluster.