<div dir="ltr"><div><div><div><div>Hi all,<br></div>I am trying to run both pcp_detach and attach node command. But none of them works.<br></div>how should I use the command?<br><br></div>In my environment, i have a 2 node cluster, streaming replication setup in between.<br>
</div><div>Each server has pgpool on top of it and watchdog is enabled to switching ip and failover.<br><br></div><div>let&#39;s say i want to reboot the standby server, I try the detach command as follow:<br><br>pcp_detach_node 10 10.89.94.30 9898 pgpool 123 0<br>
<br></div><div>The command is just hang there, and it never time out.<br><br></div><div>syslog also show nothing.<br><br></div><div>So what is the correct procedure to reboot a server?<br></div><div>Let&#39;s say if i want to reboot the primary as maintenance, if I bounce the primary with pgpool online, it will failover the primary while this is an expected behavior. Is it possible to avoid this?<br>
<br></div><div>Thanks~<br>Ning<br></div></div>