Lars Marowsky-Bree escribió:
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.
Could you say me what is the Pacemaker list ?
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? ;-)
I will think about it...

Regards,
    Lars


_______________________________________________
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