[Pacemaker] power failure handling

Andrew Beekhof andrew at beekhof.net
Thu May 27 11:21:35 UTC 2010


On Wed, May 26, 2010 at 9:07 PM, Vadym Chepkov <vchepkov at gmail.com> wrote:
> Hi,
>
> What would be the proper way to shutdown members of two-node cluster in case of a power outage?
> I assume as soon I issue 'crm node standby node-1 reboot' resources will start to fail-over to the second node and,
> first of all, there is no reason for that, and, second of all,
> consecutive 'crm node standby node-2 reboot' might get into some race condition.

Why?

>
> In pseudo-property terms:
>
> crm confgure property stop-all-resources-even-if-target-role-is-started-until-reboot=true

crm confgure property stop-all-resources=true

followed by:
  cibadmin --delete-all --xpath '//nvpar[@name="target-role"]'

should work




More information about the Pacemaker mailing list