[Linux-HA] (drbd) master/slave monitoring operations
Raoul Bhatia [IPAX]
r.bhatia at ipax.at
Tue Oct 9 03:01:48 MDT 2007
hi,
as discussed a couple of days ago, monitoring actions do not "happen"
by themselves. moreover, i learnd, that one has to specify seperate
monitoring actions for different roles. now my questions are:
1) What is the difference between role="Slave" and role="Started"?
2) Why does my heartbeat setup run amok, when i replace
<op name="monitor" id="drbd_mysql_mon_normal" interval="5s"
timeout="10s" role="Started" />
with
<op name="monitor" id="drbd_mysql_mon_normal" interval="5s"
timeout="10s" role="Slave" />
<op name="monitor" id="drbd_mysql_mon_master" interval="5s"
timeout="11s" role="Master" />
or when i simply add the master monitor operation?
my logfiles show:
> pengine[27942]: 2007/10/09_10:59:01 WARN: process_pe_message: Transition 840: WARNINGs found during PE processing. PEngine Input stored in: /var/lib/heartbeat/pengine/pe-warn-1886.bz2
> pengine[27942]: 2007/10/09_10:59:01 WARN: native_color: Resource drbd_mysql:1 cannot run anywhere
> pengine[27942]: 2007/10/09_10:59:01 WARN: native_color: Resource mysql-server cannot run anywhere
> crmd[27938]: 2007/10/09_10:59:01 ERROR: cancel_op_key: No known drbd_mysql:0_monitor_5000 operation to cancel
> tengine[27941]: 2007/10/09_10:59:01 WARN: status_from_rc: Action cancel on webcluster01 failed (target: 8 vs. rc: 0): Error
> tengine[27941]: 2007/10/09_10:59:01 WARN: update_failcount: Updating failcount for drbd_mysql:0 on 49e81295-8e2f-4aeb-98f3-a14de6f62298 after failed monitor: rc=0
> pengine[27942]: 2007/10/09_10:59:01 WARN: process_pe_message: Transition 841: WARNINGs found during PE processing. PEngine Input stored in: /var/lib/heartbeat/pengine/pe-warn-1887.bz2
i attached the cib.xml file
3) and last but not least, why are the roles for <op .. /> written with
a big first letter (Started instead of started)? as far as i can see,
this is one of few cases where case matters. :)
thank you,
raoul
--
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc. email. r.bhatia at ipax.at
Technischer Leiter
IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. office at ipax.at
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cib_monitoring_master_slave.xml.gz
Type: application/gzip
Size: 2952 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20071009/0ee83621/cib_monitoring_master_slave.xml.bin
More information about the Linux-HA
mailing list