On 2008-10-27T12:35:19, Adrian Chapela <[EMAIL PROTECTED]> wrote:

> <rsc_location id="mail:drbd" rsc="ms-drbd0">
>  <rule id="rule:ms-drbd0" role="master" score="100">
>      <expression  attribute="#uname" operation="eq" value="debianquagga2"/>
>  </rule>
> </rsc_location>
> <rsc_location id="samba:drbd" rsc="ms-drbd1">
>  <rule id="rule:ms-drbd1" role="master" score="100">
>      <expression  attribute="#uname" operation="eq" value="debianquagga2"/>
>  </rule>
> </rsc_location>
> (Select debianquagga2 as Master and if the node lost its connection take 
> the score -INFINITY to do failover, it applies to ms-drbd0 and ms-drbd1)
>
> With this rules all is working very well but the node selected as master 
> isn't "debianquagga2",   Why could be the reason ?

It's possible the crm_master setting of the RA overrides these values.
Best to ask on the pacemaker list, along with the full CIB attached.

Indeed, the m/s location constraints can be somewhat tricky. Possibly
needs to be cleaned up eventually, as soon as we figure out how - any
recommendations? ;-)


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to