Hello list, I setup a 4 node cluster with drbd and mysql on node2 and node3. But in my log I can see the monitor process for drbd will try on node0 and node1. How can I avoid this ? Attached you find my .dot, and my cib.xml (stripped in case of client data).
Where is my fault ? What is missing (or even too much) ?
On node0, node1 there is no drbd (and must not!).
Thanks for your reply in advance.
Thomas.
============
Last updated: Sat Dec 6 22:45:46 2008
Current DC: node0 (e1374bf0-51b7-4535-9aba-4299898e9522)
4 Nodes configured.
3 Resources configured.
============
Node: node3 (d29dde8b-1f7a-469a-9733-a4d71a6b449e): online
Node: node2 (41969885-02ed-4fb2-913a-a79b26edfd88): online
Node: node1 (e1374bf0-51b7-4535-9aba-4299898e9522): online
Node: node0 (b4613c4b-e464-4487-bea6-0318d575352f): online
Master/Slave Set: MS_DRBD0
R_DRBD0:0 (ocf::heartbeat:drbd): Master node2
R_DRBD0:1 (ocf::heartbeat:drbd): Started node3
Resource Group: G_MySQL_DRBD0
R_DRDB0_FS (ocf::heartbeat:Filesystem): Started node2
R_DRBD0_MySQLd (lsb:mysqld): Started node2
R_VIP:213 (ocf::heartbeat:IPaddr.tiri.li): Started node2
==
Logfile:
Dec 6 22:37:06 node0 crmd: [19461]: info: process_lrm_event: LRM
operation R_VIP:211_monitor_0 (call=5, rc=7) complete
Dec 6 22:37:06 node0 crmd: [19461]: info: process_lrm_event: LRM
operation R_VIP:210_monitor_0 (call=4, rc=7) complete
Dec 6 22:37:06 node0 crmd: [19461]: info: process_lrm_event: LRM
operation R_VIP:209_monitor_0 (call=3, rc=7) complete
Dec 6 22:37:06 node0 crmd: [19461]: info: process_lrm_event: LRM
operation R_ldirector_monitor_0 (call=2, rc=7) complete
Dec 6 22:37:07 node0 lrmd: [19458]: info: rsc:R_VIP:212: monitor
Dec 6 22:37:07 node0 lrmd: [19458]: info: rsc:R_DRBD0:0: monitor
Dec 6 22:37:07 node0 lrmd: [19458]: info: rsc:R_DRDB0_FS: monitor
Dec 6 22:37:07 node0 lrmd: [19458]: info: rsc:R_DRBD0_MySQLd: monitor
Dec 6 22:37:07 node0 drbd[19780]: [19793]: WARNING: drbd0 monitor:
drbd module not loaded
Dec 6 22:37:07 node0 crmd: [19461]: info: process_lrm_event: LRM
operation R_DRBD0:0_monitor_0 (call=7, rc=7) complete
Dec 6 22:37:07 node0 crmd: [19461]: info: process_lrm_event: LRM
operation R_DRDB0_FS_monitor_0 (call=8, rc=7) complete
Dec 6 22:37:07 node0 crmd: [19461]: info: process_lrm_event: LRM
operation R_VIP:212_monitor_0 (call=6, rc=7) complete
Dec 6 22:37:07 node0 crmd: [19461]: info: process_lrm_event: LRM
operation R_DRBD0_MySQLd_monitor_0 (call=9, rc=7) complete
Dec 6 22:37:08 node0 lrmd: [19458]: info: rsc:R_VIP:179: monitor
Dec 6 22:37:08 node0 crmd: [19461]: info: process_lrm_event: LRM
operation R_VIP:179_monitor_0 (call=10, rc=7) complete
--
tiri Limited & Co. KG
Johann-Adolf-Hasse-Str. 2b
21493 Schwarzenbek
Geschäftsführerin: Anja Baumann
Sitz der Gesellschaft: Schwarzenbek
Handelsregister: HRA 5078 HL
USt.-ID: DE254262065
Persönlich haftender Gesellschafter: tiri Limited
tiri Limited ist eine Gesellschaft nach englischem Recht, zugelassen
bei Companies House zu Cardiff, Company No. 05178378, Registered
Office: 39-40 Calthorpe Road, Birmingham, West Midlands, B15 1TS,
United Kingdom
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
----- Ende der weitergeleiteten Nachricht -----
--
tiri Limited & Co. KG
Johann-Adolf-Hasse-Str. 2b
21493 Schwarzenbek
Geschäftsführerin: Anja Baumann
Sitz der Gesellschaft: Schwarzenbek
Handelsregister: HRA 5078 HL
USt.-ID: DE254262065
Persönlich haftender Gesellschafter: tiri Limited
tiri Limited ist eine Gesellschaft nach englischem Recht, zugelassen
bei Companies House zu Cardiff, Company No. 05178378, Registered
Office: 39-40 Calthorpe Road, Birmingham, West Midlands, B15 1TS,
United Kingdom
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
<cib generated="true" admin_epoch="0" epoch="40" num_updates="8" have_quorum="true" ignore_dtd="false" num_peers="4" cib-last-written="Thu Dec 4 10:24:38 2008" cib_feature_revision="2.0" crm_feature_set="2.0" ccm_transition="6" dc_uuid="b4613c4b-e464-4487-bea6-0318d575352f">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<attributes>
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="2.1.4-node: 006a5468fde10a89ccecfd3f46b9eb5d026a013c"/>
<nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1228376319"/>
</attributes>
</cluster_property_set>
</crm_config>
<nodes>
<node id="d29dde8b-1f7a-469a-9733-a4d71a6b449e" uname="node3" type="normal">
<instance_attributes id="nodes-d29dde8b-1f7a-469a-9733-a4d71a6b449e">
<attributes>
<nvpair id="standby-d29dde8b-1f7a-469a-9733-a4d71a6b449e" name="standby" value="off"/>
</attributes>
</instance_attributes>
</node>
<node id="41969885-02ed-4fb2-913a-a79b26edfd88" uname="node2" type="normal">
<instance_attributes id="nodes-41969885-02ed-4fb2-913a-a79b26edfd88">
<attributes>
<nvpair id="standby-41969885-02ed-4fb2-913a-a79b26edfd88" name="standby" value="off"/>
</attributes>
</instance_attributes>
</node>
<node id="e1374bf0-51b7-4535-9aba-4299898e9522" uname="node1" type="normal"/>
<node id="b4613c4b-e464-4487-bea6-0318d575352f" uname="node0" type="normal"/>
</nodes>
<resources>
<master_slave id="MS_DRBD0">
<meta_attributes id="MS_DRBD:meta_attrs">
<attributes>
<nvpair id="MS_DRBD:clone_max" name="clone_max" value="2"/>
<nvpair id="MS_DRBD:clone_node_max" name="clone_node_max" value="1"/>
<nvpair id="MS_DRBD:master_max" name="master_max" value="1"/>
<nvpair id="MS_DRBD:master_node_max" name="master_node_max" value="1"/>
<nvpair id="MS_DRBD:notify" name="notify" value="yes"/>
<nvpair id="MS_DRBD:globally_unique" name="globally_unique" value="false"/>
<nvpair id="MS_DRBD:target_role" name="target_role" value="#default"/>
</attributes>
</meta_attributes>
<primitive id="R_DRBD0" class="ocf" provider="heartbeat" type="drbd">
<instance_attributes id="R_DRBD:instance_attrs">
<attributes>
<nvpair id="R_DRBD:drbd_resource" name="drbd_resource" value="drbd0"/>
</attributes>
</instance_attributes>
<operations>
<op id="R_DRBD:monitor_master" name="monitor" interval="59s" timeout="10s" role="Master"/>
<op id="R_DRBD:monitor_slave" name="monitor" interval="60s" timeout="10s" role="Slave"/>
</operations>
</primitive>
</master_slave>
<group id="G_MySQL_DRBD0" ordered="true" collocated="true">
<meta_attributes id="G_MySQL_DRBD0:meta_attrs">
<attributes>
<nvpair id="G_MySQL_DRBD0:target_role" name="target_role" value="started"/>
</attributes>
</meta_attributes>
<primitive class="ocf" provider="heartbeat" type="Filesystem" id="R_DRDB0_FS">
<instance_attributes id="R_DRDB0_FS:instance_attrs">
<attributes>
<nvpair id="R_DRDB0_FS:fstype" name="fstype" value="ext3"/>
<nvpair id="R_DRDB0_FS:directory" name="directory" value="/var/lib/mysql"/>
<nvpair id="R_DRDB0_FS:device" name="device" value="/dev/drbd0"/>
</attributes>
</instance_attributes>
</primitive>
<primitive id="R_VIP:213" class="ocf" type="IPaddr.tiri.li" provider="heartbeat">
<instance_attributes id="R_VIP_213:instance_attrs">
<attributes>
<nvpair id="R_VIP_213:target_role" name="target_role" value="started"/>
<nvpair id="R_VIP_213:ip" name="ip" value="192.168.100.213"/>
<nvpair id="R_VIP_213:nic" name="nic" value="eth0"/>
<nvpair id="R_VIP_213:netmask" name="cidr_netmask" value="24"/>
<nvpair id="R_VIP_213:broadcast" name="broadcast" value="192.168.100.255"/>
<nvpair id="R_VIP_213:lvs_support" name="lvs_support" value="false"/>
</attributes>
</instance_attributes>
<operations>
<op id="R_VIP_213:monitor" name="monitor" timeout="20s" interval="10s" start_delay="10s" disabled="false" role="Started"/>
</operations>
</primitive>
<primitive class="lsb" type="mysqld" provider="heartbeat" id="R_DRBD0_MySQLd"/>
</group>
</resources>
<constraints>
<rsc_location id="rsc_location:G_VIP" rsc="G_VIP">
<rule id="prefered_location:G_VIP" score="INFINITY" boolean_op="or">
<expression attribute="#uname" id="prefered_location:attr:G_VIP:0" operation="eq" value="node0"/>
<expression attribute="#uname" id="prefered_location:attr:G_VIP:3" operation="eq" value="node3"/>
</rule>
</rsc_location>
<rsc_location id="rsc_location:MS_DRBD0" rsc="MS_DRBD0">
<rule id="prefered_location:MS_DRBD0" score="INFINITY" boolean_op="or">
<expression id="prefered_location:MS_DRBD:2" value="node2" attribute="#uname" operation="eq"/>
<expression id="prefered_location:MS_DRBD:3" value="node3" attribute="#uname" operation="eq"/>
</rule>
<rule id="never_location:MS_DRBD0" score="-INFINITY" boolean_op="and">
<expression id="never_location:MS_DRBD:2" value="node2" attribute="#uname" operation="ne"/>
<expression id="never_location:MS_DRBD:3" value="node3" attribute="#uname" operation="ne"/>
</rule>
</rsc_location>
<rsc_location id="rsc_location:MS_DRBD0:master" rsc="MS_DRBD0">
<rule id="prefered_location:MS_DRBD0:master" role="master" score="100">
<expression id="prefered_location:MS_DRBD0:master:2" attribute="#uname" operation="eq" value="node2"/>
</rule>
</rsc_location>
<rsc_location id="rsc_location:MS_DRBD0:slave" rsc="MS_DRBD0">
<rule id="prefered_location:MS_DRBD0:slave" role="slave" score="100">
<expression id="prefered_location:MS_DRBD0:slave:3" attribute="#uname" operation="eq" value="node3"/>
</rule>
</rsc_location>
<rsc_order id="MS_DRBD0_before_G_MySQL_DRBD0" from="G_MySQL_DRBD0" action="start" to="MS_DRBD0" to_action="promote" symmetrical="true"/>
<rsc_colocation id="G_MySQL_DRBD0_on_MS_DRBD0" from="G_MySQL_DRBD0" to="MS_DRBD0" to_role="master" score="INFINITY"/>
<rsc_location id="rsc_nlocation:MS_DRBD0" rsc="MS_DRBD0">
<rule id="prefered_nlocation:MS_DRBD0" score="-INFINITY" boolean_op="and">
<expression id="prefered_nlocation:MS_DRBD:0" value="node0" attribute="#uname" operation="eq"/>
<expression id="prefered_nlocation:MS_DRBD:1" value="node1" attribute="#uname" operation="eq"/>
</rule>
</rsc_location>
<rsc_location id="rsc_nlocation:DRBD0_FS" rsc="R_DRDB0_FS">
<rule id="prefered_rsc_nlocation:DRBD0_FS" score="-INFINITY" boolean_op="and">
<expression id="prefered_nlocation:DRBD0_FS:0" value="node0" attribute="#uname" operation="eq"/>
<expression id="prefered_nlocation:DRBD0_FS:1" value="node1" attribute="#uname" operation="eq"/>
</rule>
</rsc_location>
<rsc_location id="rsc_nlocation:MySQLd" rsc="R_DRBD0_MySQLd">
<rule id="prefered_rsc_nlocation:MySQLd" score="-INFINITY" boolean_op="and">
<expression id="prefered_nlocation:MySQLd:0" value="node0" attribute="#uname" operation="eq"/>
<expression id="prefered_nlocation:MySQLd:1" value="node1" attribute="#uname" operation="eq"/>
</rule>
</rsc_location>
</constraints>
</configuration>
<status>
<node_state id="b4613c4b-e464-4487-bea6-0318d575352f" uname="node0" crmd="online" crm-debug-origin="do_update_resource" shutdown="0" in_ccm="true" ha="active" join="member" expected="member">
<transient_attributes id="b4613c4b-e464-4487-bea6-0318d575352f">
<instance_attributes id="status-b4613c4b-e464-4487-bea6-0318d575352f">
<attributes>
<nvpair id="status-b4613c4b-e464-4487-bea6-0318d575352f-probe_complete" name="probe_complete" value="true"/>
</attributes>
</instance_attributes>
</transient_attributes>
</node_state>
<node_state id="e1374bf0-51b7-4535-9aba-4299898e9522" uname="node1" ha="active" crm-debug-origin="do_lrm_query" crmd="online" shutdown="0" in_ccm="true" join="member" expected="member">
<transient_attributes id="e1374bf0-51b7-4535-9aba-4299898e9522">
<instance_attributes id="status-e1374bf0-51b7-4535-9aba-4299898e9522">
<attributes>
<nvpair id="status-e1374bf0-51b7-4535-9aba-4299898e9522-probe_complete" name="probe_complete" value="true"/>
</attributes>
</instance_attributes>
</transient_attributes>
</node_state>
<node_state id="41969885-02ed-4fb2-913a-a79b26edfd88" uname="node2" ha="active" crm-debug-origin="do_update_resource" crmd="online" shutdown="0" in_ccm="true" join="member" expected="member">
<transient_attributes id="41969885-02ed-4fb2-913a-a79b26edfd88">
<instance_attributes id="status-41969885-02ed-4fb2-913a-a79b26edfd88">
<attributes>
<nvpair id="status-41969885-02ed-4fb2-913a-a79b26edfd88-probe_complete" name="probe_complete" value="true"/>
</attributes>
</instance_attributes>
<instance_attributes id="master-41969885-02ed-4fb2-913a-a79b26edfd88">
<attributes>
<nvpair id="status-master-R_DRBD0:0-41969885-02ed-4fb2-913a-a79b26edfd88" name="master-R_DRBD0:0" value="5"/>
</attributes>
</instance_attributes>
</transient_attributes>
</node_state>
<node_state id="d29dde8b-1f7a-469a-9733-a4d71a6b449e" uname="node3" ha="active" crm-debug-origin="do_update_resource" crmd="online" shutdown="0" in_ccm="true" expected="member" join="member">
<transient_attributes id="d29dde8b-1f7a-469a-9733-a4d71a6b449e">
<instance_attributes id="status-d29dde8b-1f7a-469a-9733-a4d71a6b449e">
<attributes>
<nvpair id="status-d29dde8b-1f7a-469a-9733-a4d71a6b449e-probe_complete" name="probe_complete" value="true"/>
</attributes>
</instance_attributes>
<instance_attributes id="master-d29dde8b-1f7a-469a-9733-a4d71a6b449e">
<attributes>
<nvpair id="status-master-R_DRBD0:1-d29dde8b-1f7a-469a-9733-a4d71a6b449e" name="master-R_DRBD0:1" value="5"/>
</attributes>
</instance_attributes>
</transient_attributes>
</node_state>
</status>
</cib>
node0.dot
Description: MS-Word document
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
