[Pacemaker] Colocation / Order question

Andrew Beekhof andrew at beekhof.net
Thu Dec 9 10:09:03 UTC 2010


On Wed, Dec 8, 2010 at 11:31 PM, Vadym Chepkov <vchepkov at gmail.com> wrote:
> On Dec 8, 2010, at 9:43 AM, Michael Schwartzkopff wrote:
>
>> Hi,
>>
>> I have two groups each located on one node. So GroupA on nodeA and GroupB on
>> nodeB.
>>
>> I want to have a third resource (i.e. IP-Address) make run on any node where
>> one of the above groups are running, i.e. on nodeA or nodeB.
>>
>> Can I realize this with constraint sets? Is it possible to have simple
>> constraints?
>>
>> Thanks for any hints.
>
> colocation col1 500: IP-Address GroupA
> colocation col1 500: IP-Address GroupB
>
> :)

Would mostly work but if neither A nor B are running then the IP would
still be active.
I've wanted to implement colocate( ( A or B) C ) for a while now but
haven't had the bandwidth.

>
>
>
>>
>> Michael
>>
>> --
>> Dr. Michael Schwartzkopff
>> Guardinistr. 63
>> 81375 München
>>
>> Tel: (0163) 172 50 98
>> _______________________________________________
>> 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