[EMAIL PROTECTED] wrote:
hello:
    I have a  scenario: there are 5 nodes and 3 resources, RS1 on node1,RS2 on
node2,RS3 on node3,
when node1 shutdown ,RS1 migrate to node4,node2 shutdown RS2 migrate to
node5,and next , node3 shutdown ,so  RS3 must be migrated! But ,i want ,RS3
does't miagrated? How to do ? In other words,Heartbeat can be configured one
node only run one resource ? Thanks

I can't think of a way to configure a node to only run one resource.

But to achieve what you want, just set a negative score for every node you do *not* want RS3 on (any but node3).

Something like this:

<rsc_location id="rs3-only-on-node3" rsc="rs3">
<rule id="rule1" score="-infinity">
<expression attribute="#uname" operation="ne" value="node3"/>
</rule>
</rsc_location>

Regards
Dominik
_______________________________________________
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