[Pacemaker] resource modification and resource agent update

Dejan Muhamedagic dejanmm at fastmail.fm
Fri Mar 15 15:38:59 UTC 2013


On Fri, Mar 15, 2013 at 04:16:52PM +0300, Vladislav Bogdanov wrote:
> 15.03.2013 13:52, Leon Fauster wrote:
> > Am 15.03.2013 um 10:49 schrieb Dejan Muhamedagic <dejanmm at fastmail.fm>:
> >> Hi,
> >>
> >> On Thu, Mar 14, 2013 at 11:48:16PM -0400, Matthew O'Connor wrote:
> >>> Hi!!  Two quick questions.
> >>>
> >>> 1. I have a resource that many other resources depend on.  I need to
> >>> modify this "base" resource, but if I modify this resource while it is
> >>> online, will pacemaker restart it to effect the changes?  I would expect
> >>> that if it does, it will necessitate restarting all dependent resources
> >>> as well - is this correct?
> >>
> >> You can update the agent without restarting. But disable
> >> monitoring beforehand: shell scripts don't like being updated
> >> while they're running.
> > 
> > 
> > 
> > putting the resource in unmanaged mode, thought?
> 
> No, monitors are still run in unmanaged mode.
> 
> Global maintainance-mode="true" disables them.

Right. Probably the simplest option.

> Or just temporary delete 'op monitor' lines from affected resources.

Or add enabled=false to the op.

Thanks,

Dejan

> 
> > 
> >  crm resource meta RESOURCE set is-managed false 
> > 
> > --
> > LF
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at 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
> > Bugs: http://bugs.clusterlabs.org
> > 
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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
> Bugs: http://bugs.clusterlabs.org




More information about the Pacemaker mailing list