[Pacemaker] 4 node cluster configuration

Andrew Beekhof andrew at beekhof.net
Sun Jun 26 19:56:28 EDT 2011


On Mon, May 30, 2011 at 10:16 PM, Janec, Jozef <jozef.janec at hp.com> wrote:
>
> Hello All,
>
> I'm trying find solution for 4 node cluster: scenario:
> We have two primary resource group GA,GB
> 2 dc's
>
> nodeA.nodeB in DC1
> nodeC,nodeD in DC2

A four node cluster still has only one DC.
Whether a node is a DC is independent of whether it is also running a
given resource.

>
> I need configure solution that GA will be running on nodeA,nodeC, GB will be running on nodeB,noddeD.
>
> In case that GA, or GB will be not able run in that DC, both will be automatically switched to DC2 in correct order
>
> Is there way how configure collocation rules to do this?

Try location constraints and experiment with the score-attribute of
colocation constraints.

>
>
> Thanks very much
>
> Best regards,
>
> Jozef
>
>
> _______________________________________________
> 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