Hi,

On Tue, Sep 22, 2009 at 03:25:29PM -0400, Bernie Wu wrote:
> Hi List,
> I have a constraint identifying nodeA as the master in our 2 node 
> master/slave setup.
> 
> <rsc_location id="drbd0-master-1" rsc="ms-drbd0">
>   <rule id="drbd0-master-on-nodeA" role="master" score="100">
>     <expression id="exp-1" attribute="#uname" operation="eq" value="nodeA"/>
>   </rule>
> </rsc_location>
> 
> If I shutdown HB on nodeA, nothing fails over to nodeB.
> Do I need another constraint for slave nodeB  with a lower score ?

No. If the resource is eligible to run on the other node it will.
You can try ptest -Ls to check the scores. Otherwise, the logs
should tell.

Thanks,

Dejan

> 
> Any help, advice or pointers would be much appreciated.
> 
> TIA
> Bernie Wu
> 
> 
> ________________________________
> The information contained in this e-mail message is intended only for the 
> personal and confidential use of the recipient(s) named above. This message 
> may be an attorney-client communication and/or work product and as such is 
> privileged and confidential. If the reader of this message is not the 
> intended recipient or an agent responsible for delivering it to the intended 
> recipient, you are hereby notified that you have received this document in 
> error and that any review, dissemination, distribution, or copying of this 
> message is strictly prohibited. If you have received this communication in 
> error, please notify us immediately by e-mail, and delete the original 
> message.
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
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