[Pacemaker] Feature request: cleanup resource on primitive definition change

Andrew Beekhof andrew at beekhof.net
Wed Dec 21 04:22:31 CET 2011


On Wed, Dec 21, 2011 at 2:21 PM, Andrew Beekhof <andrew at beekhof.net> wrote:
> On Tue, Dec 13, 2011 at 11:32 PM, Vladislav Bogdanov
> <bubble at hoster-ok.com> wrote:
>> Hi Andrew, all,
>>
>> I'm now testing latest changes in git, everything goes much cleaner then
>> a week ago, I'll (hopefully) make report later.
>>
>> One feature came into mind during testing:
>> Imagine resource which was tried to be started on all nodes and failed
>> everywhere.
>> Then administrator changes resource definition to fix start problem.
>> Now, resource is not tried to start until it is cleaned up (or both its
>> failure-timeout passes and cluster state re-checked).
>> Idea is to make automatic resource cleanup after definition change.
>
> Not good if the device wasn't failed.
> Imagine someone changing the 'ip' for an IPaddr resource, the old
> value would never be removed.
>
>>
>> That would help those who use some automatic tools to manage pacemaker
>> resources.
>>
>> Btw, I did not find cluster-recheck-interval in pacemaker explained
>> "Cluster options" chapter together with stop-all-resources,
>> maintenance-mode and placement-strategy. Former option described only in
>> chapter about rules, others are not mentioned at all.

Ok, we'll have to fix that



More information about the Pacemaker mailing list