Adrian Chapela wrote:
<master_slave id="MySQL_Server">
[snip]
<operations>
<op id="mysqld-child-monitor" name="monitor" interval="20s"
timeout="19s" prereq="nothing"/>
<op id="mysqld-child-start" name="start" prereq="nothing"/>
</operations>
</primitive>
</master_slave>
I think that this line: <op id="mysqld-child-monitor"
name="monitor" interval="20s" timeout="19s" prereq="nothing"/> is the
line to config monitoring operations and the time to do that. In this
line I think interval is 20 seconds, but I am testing and I manually
make an error in the Master MySQL server to test failover. I saw that
monitoring operation isn't being executed and the error isn't detected
by Heartbeat.
If I run the script manually the error is detected but Heartbeat is not
running the script in monitor mode and it don't know the problem. This
is the crm_mon output:
[snip]
please refer to [1] and add more monitoring actions for all applicable
roles.
cheers,
raoul
[1]
http://www.linux-ha.org/ClusterInformationBase/Actions#head-951a50aae161c116d73c95aa0659873ee7a2973b
--
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc. email. [EMAIL PROTECTED]
Technischer Leiter
IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. [EMAIL PROTECTED]
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems