On Wed, May 26, 2010 at 9:07 PM, Vadym Chepkov <vchep...@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 '//nvp...@name="target-role"]'

should work

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf

Reply via email to