[Pacemaker] Temporarily disabling the cluster

Andrew Beekhof beekhof at gmail.com
Tue Sep 9 10:57:19 EDT 2008


On Sep 9, 2008, at 4:30 PM, Jesse W. Hathaway wrote:

> When I need to restart a service that is part of a cluster I
> typically run:
>
> 1. crm_attribute -t crm_config -n is_managed_default -v false
> 2. restart the service
> 3. crm_attribute -t crm_config -n is_managed_default -v true
>
> This works well except the fail counter for the resource is still
> incremented while is_managed_default=false. This often causes the
> service to migrate to a different node when management is enabled.
>
> Is there a way to avoid the fail counter being incremented?

basically no.  you could reset them before changing is_managed_default  
back though

>
>
> Or is there a more preferred method to disable the cluster, while
> doing maintenance?
>
> thanks, Jesse
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker





More information about the Pacemaker mailing list