[Pacemaker] best/proper way to shut down a node for service
David Morton
david.morton at eroad.co.nz
Wed Jan 23 08:51:11 UTC 2013
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. The logical
volumes were some how active on the node coming back into the cluster, the
monitor operations detected this (key here: monitor operations fire even in
standby I believe) and shut down resources on the active node as part of
the recovery process.
On Wednesday, 23 January 2013, Dan Frincu wrote:
> Hi,
>
> On Wed, Jan 23, 2013 at 5:21 AM, Brian J. Murrell <brian at interlinx.bc.ca<javascript:;>>
> 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 doesn't go trying to "fix" that situation and
> > STONITHing it to try to bring it back up, etc.?
> >
> > Currently my practice for STONITH is to have it reboot. Maybe it's a
> > better practice to have STONITH configured to just power a node down and
> > not try to power it back up for this exact reason?
> >
> > Any other suggestions welcome.
>
> 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.
>
> For global cluster maintenance, such as when upgrading to a major
> software version, maintenance-mode is needed.
>
> HTH,
> Dan
>
> >
> > Cheers,
> > b.
> >
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org <javascript:;>
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
> >
>
>
>
> --
> Dan Frincu
> CCNA, RHCE
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org <javascript:;>
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130123/baae4f08/attachment.htm>
More information about the Pacemaker
mailing list