[Pacemaker] Dependency on either of two resources

Vladislav Bogdanov bubble at hoster-ok.com
Tue Oct 5 09:53:34 EDT 2010


05.10.2010 12:12, Andrew Beekhof wrote:
> On Mon, Oct 4, 2010 at 6:31 AM, Vladislav Bogdanov <bubble at hoster-ok.com> wrote:
>> Hi all,
>>
>> just wondering, is there a way to make resource depend on (be colocated
>> with) either of two other resources?
> 
> Not yet.  Its something we want to support eventually though.

That would be a killer feature. Hope you will find time for it until 1.2.

So now I probably should exploit monitor op to try to repair failed
portals. That is a hack and it doesn't let me see in cib if there are
actual problems, but it is better than nothing.

> 
>> Use case is iSCSI initiator connection to iSCSI target with two portals.
>> Idea is to have f.e. device manager multipath resource depend on both
>> iSCSI connection resources, but in a "soft" way, so fail of any single
>> iSCSI connection will not cause multipath resource to stop, but fail of
>> both connections will cause it.
>>
>> I should be missing something but I cannot find answer is it possible
>> with current pacemaker. Can someone bring some light?
>>
>> Best,
>> Vladislav
>>
>> _______________________________________________
>> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>>
> 
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker





More information about the Pacemaker mailing list