[Pacemaker] how to prevent auto relocation of recources to old primary?

Dominik Klein dk at in-telegence.net
Wed Mar 18 11:16:48 UTC 2009


> i wonder why the line
> 
> location ms-drbd0-master-on-xen-1 ms-drbd0 rule role=master 100: #uname eq xen-1
> 
> is in the example config, because heartbeat seems to be doing what the
> line says even without it.

The section states that "If you want to prefer a node to run the master
role (xen-1 in this example), you can express that like this:"

Soooo ... if you don't want to, just don't configure it.

Although it may look differently, the cluster picks a node at random if
you don't configure any preference.

Regards
Dominik




More information about the Pacemaker mailing list