Hi, On Fri, Apr 19, 2013 at 08:01:04AM -0600, Greg Woods wrote: > I've got two-node clusters running Heartbeat (3.0.3-2.3.el5) and > Pacemaker (1.0.9.1-1.15.el5) from the clusterlabs repo on CentOS 5.9 > (yes, I know my Pacemaker is a little old, but I don't want to upgrade > unless there is some reason to believe it will help). These clusters run > Xen virtual machines that provide critical infrastructure services (such > as DNS). > > The problem is only that I don't know what is the best way to shut down > the entire cluster cleanly (e.g. as when we do electrical maintenance in > the data center and have a planned complete outage). Often one of the > nodes gets stuck at "Stopping HA Services" and eventually I just have to > hit the power button (physically or via IPMI). > > I can get a clean shutdown if I shut down one node first, then the > second, but that isn't really "clean" because it causes all the virtual > machines from the first node to stop and start on the second node, then > go down again. I'd rather have everything just go down and stay down. > > Is there a recommended method for taking a cluster out of service > cleanly?
If you don't want you resources to failover, just stop them, either one by one (if there are not so many) or set the "stop-all-resources" property to true. After that stop pacemaker on all nodes. The stop getting stuck is usually due to one or the other resource not being able to stop. Thanks, Dejan > Thanks, > --Greg > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
