[Pacemaker] Failover domains?

David Quenzler quenzler at gmail.com
Tue Oct 26 14:24:12 EDT 2010


How about something like...

Cluster with 4 nodes: node1 node2 node3 node4

ResourceA runs only on node1 and node2, never on node3 or node4
ResourceB runs only on node3 and node4, never on node1 or node2

On 10/26/10, Pavlos Parissis <pavlos.parissis at gmail.com> wrote:
> On 25 October 2010 19:50, David Quenzler <quenzler at gmail.com> wrote:
>
>> Is there a way to limit failover behavior to a subset of cluster nodes
>> or pin a resource to a node?
>>
>>
> Yes, there is a way.
>
> Make sure you have a asymmetric cluster by setting symmetric-cluster to
> false
> and then configure accordingly your location constraints in order to have
> the failover domains as you wish.
>
> Here is en example from my cluster where I have 3 nodes and 2 resource
> group. Each resource group have unique primary node but both of them have
> shared secondary node.
>
> location PrimaryNode-pbx_service_01 pbx_service_01 200: node-01
> location PrimaryNode-pbx_service_02 pbx_service_02 200: node-02
>
> location SecondaryNode-pbx_service_01 pbx_service_01 10: node-03
> location SecondaryNode-pbx_service_02 pbx_service_02 10: node-03
>
>
> Cheers,
> Pavlos
>




More information about the Pacemaker mailing list