Hello,

I have added the following resource and constraints.

<resources>
        <group id="ping_test_group">
                <primitive id="ping_test" class="ocf"
provider="heartbeat" type="pingd">
                        <operations>
                                <op id="ping_mon" interval="20s"
name="monitor" timeout="60s"/>
                        </operations>
                </primitive>
        </group>
</resources>
<constraints>
        <rsc_location id="rsc_test_group" rsc="ping_test_group">
                <rule id="rsc_location_group_1" score="100">
                        <expression attribute="#uname" operation="eq"
value="node10"/>
                </rule>
        </rsc_location>
</constraints>

When I kill pingd on node10, it will restart it on node10. I want the
resource to move over to the next node if it fails. Is there a way of
doing this?

Thanks for the help.
-- 
- Justin
_______________________________________________
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