Re: [Pacemaker] best/proper way to shut down a node for service

2013-01-31 Thread Andrew Beekhof
On Wed, Jan 23, 2013 at 2:21 PM, Brian J. Murrell br...@interlinx.bc.ca wrote: OK. So you have a corosync cluster of nodes with pacemaker managing resources on them, including (of course) STONITH. What's the best/proper way to shut down a node, say, for maintenance such that pacemaker

Re: [Pacemaker] best/proper way to shut down a node for service

2013-01-24 Thread Dan Frincu
Hi, On Wed, Jan 23, 2013 at 11:28 PM, Brian J. Murrell br...@interlinx.bc.ca wrote: On 13-01-23 03:32 AM, Dan Frincu wrote: Hi, Hi, I usually put the node in standby, which means it can no longer run any resources on it. Both Pacemaker and Corosync continue to run, node provides quorum.

Re: [Pacemaker] best/proper way to shut down a node for service

2013-01-23 Thread Dan Frincu
Hi, On Wed, Jan 23, 2013 at 5:21 AM, Brian J. Murrell br...@interlinx.bc.ca wrote: OK. So you have a corosync cluster of nodes with pacemaker managing resources on them, including (of course) STONITH. What's the best/proper way to shut down a node, say, for maintenance such that pacemaker

Re: [Pacemaker] best/proper way to shut down a node for service

2013-01-23 Thread Martin Seener
Hi, We have a 2-node active/standby PGSQL/DRBD Cluster with STONITH and we put one node in standby Then shutdown pacemaker on this standby node (service pacemaker stop), wait some sec, then doing the same With corosync (service corosync stop), again wait some seconds and always have a look at

Re: [Pacemaker] best/proper way to shut down a node for service

2013-01-23 Thread David Morton
I've asked this before, you should be able to search the question. Essentially if pacemaker is shut down gracefully the remaining nodes are happy to leave it be. Generally I standby the node and then stop openais ... I have been caught out once bringing a node back online which was in standby.

Re: [Pacemaker] best/proper way to shut down a node for service

2013-01-23 Thread Brian J. Murrell
On 13-01-23 03:32 AM, Dan Frincu wrote: Hi, Hi, I usually put the node in standby, which means it can no longer run any resources on it. Both Pacemaker and Corosync continue to run, node provides quorum. But a node in standby will still be STONITHed if it goes AWOL. I put a node in standby

Re: [Pacemaker] best/proper way to shut down a node for service

2013-01-23 Thread David Morton
Indeed ... thats the correct behavior as it was still an active cluster member, it just happens to not be running any resources as its in standby. If you shutdown (gracefully) openais and its showing happily as 'offline' on the remaining node(s) then all will be well. On 24 January 2013 10:28,

[Pacemaker] best/proper way to shut down a node for service

2013-01-22 Thread Brian J. Murrell
OK. So you have a corosync cluster of nodes with pacemaker managing resources on them, including (of course) STONITH. What's the best/proper way to shut down a node, say, for maintenance such that pacemaker doesn't go trying to fix that situation and STONITHing it to try to bring it back up,