[Pacemaker] Dependency on either of two resources

Holger.Teutsch at fresenius-netcare.com Holger.Teutsch at fresenius-netcare.com
Mon Oct 4 02:20:45 EDT 2010


Hi,
a similar or related use case that we tried to solve without success:
- a stretch cluster with two disk boxes
- a LUN on each disk box guarded by an individual SFEX
- a mirror (raid1 or clvm) that survives an outage of one disk box
- the mirror should be started if at least one SFEX can be obtained and 
the other one could not be obtained on a different node

IMHO sdb is not an alternative as this introduces a SPOF.
 
Mit freundlichen Grüßen / Kind regards 

Holger Teutsch 





From:   Vladislav Bogdanov <bubble at hoster-ok.com>
To:     The Pacemaker cluster resource manager 
<pacemaker at oss.clusterlabs.org>
Date:   04.10.2010 06:33
Subject:        [Pacemaker] Dependency on either of two resources



Hi all,

just wondering, is there a way to make resource depend on (be colocated
with) either of two other resources?

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101004/ad33bc4a/attachment-0001.html>


More information about the Pacemaker mailing list