[ClusterLabs] Coming in Pacemaker 1.1.17: start a node in standby

Jehan-Guillaume de Rorthais jgdr at dalibo.com
Thu Apr 27 16:39:07 CEST 2017


On Thu, 27 Apr 2017 16:07:11 +0200
Lars Ellenberg <lars.ellenberg at linbit.com> wrote:

> On Thu, Apr 27, 2017 at 09:19:55AM +0200, Jehan-Guillaume de Rorthais wrote:
> > > > > I seem to remember that at some deployment,
> > > > > we set the node instance attribute standby=on, always,
> > > > > and took it out of standby using the node_state
> > > > > transient_attribute :-)
> > > > > 
> > > > > As in
> > > > > # crm node standby ava  
> 
> > > > > # crm node status-attr ava set standby off  
> 
> > > Well, you want the "persistent" setting "on",
> > > and override it with a "transient" setting "off".  
> 
> > Quick questions:
> > 
> >   * is it what happen in the CIB when you call crm_standby?  
> 
> crm_standby --node emma --lifetime reboot --update off
> crm_standby --node emma --lifetime forever --update on
> 
> (or -n -l -v,
> default node is current node,
> default lifetime is forever)
> 
> >   * is it possible to do the opposite? persistent setting "off" and
> > override it with the transient setting?  
> 
> see above, also man crm_standby,
> which again is only a wrapper around crm_attribute.

Thank you!



More information about the Users mailing list