[Pacemaker] resource modification and resource agent update
Vladislav Bogdanov
bubble at hoster-ok.com
Fri Mar 15 13:16:52 UTC 2013
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.
Or just temporary delete 'op monitor' lines from affected resources.
>
> 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
>
More information about the Pacemaker
mailing list