On 25 October 2010 19:50, David Quenzler <quenz...@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
_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to