On 8/15/07, Kenji HIROHAMA <[EMAIL PROTECTED]> wrote:

> /etc/ha.d/resource.d/mysql is start-up script which comes with MySQL
> Server binary, and I copied it from the original path...

In this case, you must make sure the script behaves as expected with
respect to return codes. Please consult
http://www.linux-ha.org/HeartbeatResourceAgent and test the script (by
running the actions and echoing $?).

You might also consider using the script as a
http://www.linux-ha.org/LSBResourceAgent instead.

> First I thohght it is used only to start/stop MySQL Server resource,
> but perhaps, also used to monitor MySQL Server.

In any case, monitoring only takes place if you define a monitoring
action for the resource in the CIB.

Please execute "cibadmin -Q" and see if your mysql resource has a
monitor action.

Christian
_______________________________________________
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