I'm running on Ubuntu 8.10, heartbeat 2.1.3, using drbd to replicate the mysql
partition.
My group of services is drbd, filesystem, mysql, then a shared IP address.
In /etc/ha.d/ha.cf I have the IP address of the router/switch for testing for
network connectivity.
>From the documention on the website I am using the following constraint:
<rsc_location id="group_1:connected" rsc="group_1">
<rule id="group_1:connected:rule" score="-INFINITY" boolean_op="or">
<expression id="group_1:connected:expr:undefined" attribute="pingd"
operation="not_defined"/>
<expression id="group_1:connected:expr:zero" attribute="pingd"
operation="lte" value="0"/>
</rule>
</rsc_location>
On the 2ndary server, this seems to work correctly and not bring up the service
group when network is lost.
On the primary server, it does not shutdown the services.
My question: Does anyone have an example of where pingd works for the above?
Or a pointer to documentation/examples
of how to use constraints correctly?
Is the best documentation of constraints, etc., just to read the DTD?
thanks,
--
Allan
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems