[Pacemaker] Master/Slave Confusion
Erich Weiler
weiler at soe.ucsc.edu
Tue Feb 2 18:05:11 UTC 2010
> The script should set a preference for being promoted using crm_master.
> Have a look at LinBit's drbd script for a good example.
Thanks for the tip, I think I'm closer... I set a preference and then
tried to start the LDAP service, and the crm monitor shows testvm3 (my
preferred master) trying to start LDAP as a master repeatedly but
failing. It does this like 2 times per second. I think I'm very, very
close to nailing this, but something else is keeping me from succeeding...
crm(live)# configure show
node testvm1
node testvm2
node testvm3
primitive LDAP lsb:ldap \
op monitor interval="40s" role="Slave" timeout="10s" \
op monitor interval="41s" role="Master" timeout="10s" \
meta target-role="Stopped"
primitive LDAP-IP ocf:heartbeat:IPaddr2 \
params ip="10.1.1.80" nic="eth1" cidr_netmask="16" \
op monitor interval="30s" timeout="10s"
ms LDAP-clone LDAP \
meta master-max="1" master-node-max="1" clone-max="2"
clone-node-max="1"
location LDAP-master LDAP-clone \
rule $id="LDAP-master-rule" $role="master" 100: #uname eq testvm3
location LDAP-placement LDAP-clone \
rule $id="LDAP-placement-rule" inf: #uname ne testvm1
colocation LDAP-with-IP inf: LDAP-IP LDAP-clone:Master
order LDAP-after-IP inf: LDAP-IP:start LDAP-clone:promote
property $id="cib-bootstrap-options" \
dc-version="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7" \
cluster-infrastructure="openais" \
expected-quorum-votes="3" \
stonith-enabled="false" \
symmetric-cluster="false"
Here's the output of cibadmin:
[root at testvm1 ~]# cibadmin -Ql
<cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1"
have-quorum="1" admin_epoch="0" epoch="92" num_updates="3"
cib-last-written="Mon Feb 1 16:26:18 2010" dc-uuid="testvm1">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
value="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7"/>
<nvpair id="cib-bootstrap-options-cluster-infrastructure"
name="cluster-infrastructure" value="openais"/>
<nvpair id="cib-bootstrap-options-expected-quorum-votes"
name="expected-quorum-votes" value="3"/>
<nvpair id="cib-bootstrap-options-stonith-enabled"
name="stonith-enabled" value="false"/>
<nvpair id="cib-bootstrap-options-symmetric-cluster"
name="symmetric-cluster" value="false"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="testvm3" uname="testvm3" type="normal"/>
<node id="testvm2" uname="testvm2" type="normal"/>
<node id="testvm1" uname="testvm1" type="normal"/>
</nodes>
<resources>
<primitive class="ocf" id="LDAP-IP" provider="heartbeat"
type="IPaddr2">
<instance_attributes id="LDAP-IP-instance_attributes">
<nvpair id="LDAP-IP-instance_attributes-ip" name="ip"
value="10.1.1.80"/>
<nvpair id="LDAP-IP-instance_attributes-nic" name="nic"
value="eth1"/>
<nvpair id="LDAP-IP-instance_attributes-cidr_netmask"
name="cidr_netmask" value="16"/>
</instance_attributes>
<operations>
<op id="LDAP-IP-monitor-30s" interval="30s" name="monitor"
timeout="10s"/>
</operations>
</primitive>
<master id="LDAP-clone">
<meta_attributes id="LDAP-clone-meta_attributes">
<nvpair id="LDAP-clone-meta_attributes-master-max"
name="master-max" value="1"/>
<nvpair id="LDAP-clone-meta_attributes-master-node-max"
name="master-node-max" value="1"/>
<nvpair id="LDAP-clone-meta_attributes-clone-max"
name="clone-max" value="2"/>
<nvpair id="LDAP-clone-meta_attributes-clone-node-max"
name="clone-node-max" value="1"/>
</meta_attributes>
<primitive class="lsb" id="LDAP" type="ldap">
<operations>
<op id="LDAP-monitor-40s" interval="40s" name="monitor"
role="Slave" timeout="10s"/>
<op id="LDAP-monitor-41s" interval="41s" name="monitor"
role="Master" timeout="10s"/>
</operations>
<meta_attributes id="LDAP-meta_attributes">
<nvpair id="LDAP-meta_attributes-target-role"
name="target-role" value="Stopped"/>
</meta_attributes>
</primitive>
</master>
</resources>
<constraints>
<rsc_location id="LDAP-master" rsc="LDAP-clone">
<rule id="LDAP-master-rule" role="master" score="100">
<expression attribute="#uname" id="LDAP-master-expression"
operation="eq" value="testvm3"/>
</rule>
</rsc_location>
<rsc_colocation id="LDAP-with-IP" rsc="LDAP-IP" score="INFINITY"
with-rsc="LDAP-clone" with-rsc-role="Master"/>
<rsc_order first="LDAP-IP" first-action="start"
id="LDAP-after-IP" score="INFINITY" then="LDAP-clone"
then-action="promote"/>
<rsc_location id="LDAP-placement" rsc="LDAP-clone">
<rule id="LDAP-placement-rule" score="INFINITY">
<expression attribute="#uname" id="LDAP-placement-expression"
operation="ne" value="testvm1"/>
</rule>
</rsc_location>
</constraints>
<rsc_defaults/>
<op_defaults/>
</configuration>
<status>
<node_state id="testvm3" uname="testvm3" ha="active" in_ccm="true"
crmd="online" join="member" expected="member"
crm-debug-origin="do_update_resource" shutdown="0">
<lrm id="testvm3">
<lrm_resources>
<lrm_resource id="LDAP:1" type="ldap" class="lsb">
<lrm_rsc_op id="LDAP:1_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="7:16:7:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:7;7:16:7:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="3" rc-code="7" op-status="0" interval="0" last-run="1265082691"
last-rc-change="1265082691" exec-time="110" queue-time="0"
op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_start_0" operation="start"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="15:2366:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;15:2366:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4591" rc-code="0" op-status="0" interval="0"
last-run="1265132188" last-rc-change="1265132188" exec-time="220"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_promote_0" operation="promote"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="16:2364:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:1;16:2364:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4588" rc-code="1" op-status="0" interval="0"
last-run="1265132187" last-rc-change="1265132187" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_demote_0" operation="demote"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="14:2365:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:1;14:2365:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4589" rc-code="1" op-status="0" interval="0"
last-run="1265132187" last-rc-change="1265132187" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_stop_0" operation="stop"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="11:2367:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;11:2367:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4592" rc-code="0" op-status="0" interval="0"
last-run="1265132188" last-rc-change="1265132188" exec-time="140"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
<lrm_resource id="LDAP-IP" type="IPaddr2" class="ocf"
provider="heartbeat">
<lrm_rsc_op id="LDAP-IP_monitor_0" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="6:16:7:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:7;6:16:7:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="2" rc-code="7" op-status="0" interval="0" last-run="1265082691"
last-rc-change="1265082691" exec-time="230" queue-time="0"
op-digest="8c064556afca1c57e7206e1362cacaf7"/>
<lrm_rsc_op id="LDAP-IP_start_0" operation="start"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="6:2392:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;6:2392:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4633" rc-code="0" op-status="0" interval="0"
last-run="1265132527" last-rc-change="1265132527" exec-time="130"
queue-time="0" op-digest="1a4a631d6b71ed88cc4e066504841311"/>
<lrm_rsc_op id="LDAP-IP_monitor_30000" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="7:2392:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;7:2392:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4635" rc-code="0" op-status="0" interval="30000"
last-run="1265132527" last-rc-change="1265132527" exec-time="100"
queue-time="0" op-digest="7f56b4e19ffe6f7ca857844abeec07e6"/>
<lrm_rsc_op id="LDAP-IP_stop_0" operation="stop"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="8:2411:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;8:2411:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4671" rc-code="0" op-status="0" interval="0"
last-run="1265132532" last-rc-change="1265132532" exec-time="80"
queue-time="0" op-digest="1a4a631d6b71ed88cc4e066504841311"/>
</lrm_resource>
<lrm_resource id="LDAP:0" type="ldap" class="lsb">
<lrm_rsc_op id="LDAP:0_start_0" operation="start"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="9:2527:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;9:2527:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4888" rc-code="0" op-status="0" interval="0"
last-run="1265132949" last-rc-change="1265132949" exec-time="190"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:0_monitor_40000" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="2:58:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;2:58:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="8" rc-code="0" op-status="0" interval="40000"
last-run="1265119325" last-rc-change="1265119325" exec-time="30"
queue-time="0" op-digest="19240b0a103493c96459e91c1a816b50"/>
<lrm_rsc_op id="LDAP:0_pre_notify_stop_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="47:2349:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;47:2349:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4559" rc-code="0" op-status="0" interval="0"
last-run="1265132055" last-rc-change="1265132055" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:0_stop_0" operation="stop"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="1:2529:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;1:2529:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4891" rc-code="0" op-status="0" interval="0"
last-run="1265132949" last-rc-change="1265132949" exec-time="140"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:0_promote_0" operation="promote"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="10:2527:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:1;10:2527:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4889" rc-code="1" op-status="0" interval="0"
last-run="1265132949" last-rc-change="1265132949" exec-time="30"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:0_demote_0" operation="demote"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="8:2528:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:1;8:2528:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4890" rc-code="1" op-status="0" interval="0"
last-run="1265132949" last-rc-change="1265132949" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:0_post_notify_start_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="49:2348:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;49:2348:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4557" rc-code="0" op-status="0" interval="0"
last-run="1265132055" last-rc-change="1265132055" exec-time="30"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:0_pre_notify_promote_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="55:2346:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;55:2346:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4548" rc-code="0" op-status="0" interval="0"
last-run="1265132054" last-rc-change="1265132054" exec-time="50"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:0_post_notify_promote_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="56:2346:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;56:2346:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4550" rc-code="0" op-status="0" interval="0"
last-run="1265132054" last-rc-change="1265132054" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:0_pre_notify_demote_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="59:2347:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;59:2347:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4551" rc-code="0" op-status="0" interval="0"
last-run="1265132054" last-rc-change="1265132054" exec-time="10"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:0_post_notify_demote_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="60:2347:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;60:2347:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="4553" rc-code="0" op-status="0" interval="0"
last-run="1265132054" last-rc-change="1265132054" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
</lrm_resources>
</lrm>
<transient_attributes id="testvm3">
<instance_attributes id="status-testvm3">
<nvpair id="status-testvm3-probe_complete"
name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
</node_state>
<node_state id="testvm2" uname="testvm2" ha="active" in_ccm="true"
crmd="online" join="member" expected="member"
crm-debug-origin="do_update_resource" shutdown="0">
<transient_attributes id="testvm2">
<instance_attributes id="status-testvm2">
<nvpair id="status-testvm2-probe_complete"
name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
<lrm id="testvm2">
<lrm_resources>
<lrm_resource id="LDAP-IP" type="IPaddr2" class="ocf"
provider="heartbeat">
<lrm_rsc_op id="LDAP-IP_monitor_0" operation="monitor"
crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1"
transition-key="7:1:7:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:7;7:1:7:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="2" rc-code="7" op-status="0" interval="0" last-run="1265079932"
last-rc-change="1265079932" exec-time="220" queue-time="0"
op-digest="8c064556afca1c57e7206e1362cacaf7"/>
<lrm_rsc_op id="LDAP-IP_stop_0" operation="stop"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="8:69:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;8:69:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="43" rc-code="0" op-status="0" interval="0"
last-run="1265122912" last-rc-change="1265122912" exec-time="100"
queue-time="0" op-digest="1a4a631d6b71ed88cc4e066504841311"/>
<lrm_rsc_op id="LDAP-IP_start_0" operation="start"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="4:66:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;4:66:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="41" rc-code="0" op-status="0" interval="0"
last-run="1265120435" last-rc-change="1265120435" exec-time="110"
queue-time="0" op-digest="1a4a631d6b71ed88cc4e066504841311"/>
<lrm_rsc_op id="LDAP-IP_monitor_30000" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="1:66:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;1:66:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="42" rc-code="0" op-status="0" interval="30000"
last-run="1265120435" last-rc-change="1265120435" exec-time="50"
queue-time="0" op-digest="9b3c5643dded01e43c10b415282b1311"/>
</lrm_resource>
<lrm_resource id="LDAP:1" type="ldap" class="lsb">
<lrm_rsc_op id="LDAP:1_monitor_0" operation="monitor"
crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1"
transition-key="8:1:7:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:7;8:1:7:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="3" rc-code="7" op-status="0" interval="0" last-run="1265079932"
last-rc-change="1265079932" exec-time="90" queue-time="0"
op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_stop_0" operation="stop"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="7:2530:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;7:2530:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="123" rc-code="0" op-status="0" interval="0"
last-run="1265132950" last-rc-change="1265132950" exec-time="150"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_start_0" operation="start"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="9:2435:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;9:2435:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="121" rc-code="0" op-status="0" interval="0"
last-run="1265132921" last-rc-change="1265132921" exec-time="180"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_monitor_40000" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="10:2435:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;10:2435:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="122" rc-code="0" op-status="0" interval="40000"
last-run="1265132921" last-rc-change="1265132921" exec-time="40"
queue-time="0" op-digest="19240b0a103493c96459e91c1a816b50"/>
<lrm_rsc_op id="LDAP:1_pre_notify_stop_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="48:2349:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;48:2349:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="107" rc-code="0" op-status="0" interval="0"
last-run="1265132055" last-rc-change="1265132055" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_post_notify_stop_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="54:2348:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;54:2348:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="104" rc-code="0" op-status="0" interval="0"
last-run="1265132054" last-rc-change="1265132054" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_post_notify_start_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="51:2348:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;51:2348:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="106" rc-code="0" op-status="0" interval="0"
last-run="1265132055" last-rc-change="1265132055" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_pre_notify_promote_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="57:2346:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;57:2346:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="99" rc-code="0" op-status="0" interval="0"
last-run="1265132054" last-rc-change="1265132054" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_post_notify_promote_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="58:2346:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;58:2346:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="100" rc-code="0" op-status="0" interval="0"
last-run="1265132054" last-rc-change="1265132054" exec-time="10"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_pre_notify_demote_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="61:2347:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;61:2347:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="101" rc-code="0" op-status="0" interval="0"
last-run="1265132054" last-rc-change="1265132054" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_post_notify_demote_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="62:2347:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;62:2347:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="102" rc-code="0" op-status="0" interval="0"
last-run="1265132054" last-rc-change="1265132054" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:1_pre_notify_start_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="50:2348:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;50:2348:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="105" rc-code="0" op-status="0" interval="0"
last-run="1265132054" last-rc-change="1265132054" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
<lrm_resource id="LDAP:0" type="ldap" class="lsb">
<lrm_rsc_op id="LDAP:0_start_0" operation="start"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="9:2352:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;9:2352:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="109" rc-code="0" op-status="0" interval="0"
last-run="1265132184" last-rc-change="1265132184" exec-time="180"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:0_post_notify_start_0"
operation="notify" crm-debug-origin="do_update_resource"
crm_feature_set="3.0.1"
transition-key="44:65:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;44:65:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="38" rc-code="0" op-status="0" interval="0"
last-run="1265120285" last-rc-change="1265120285" exec-time="20"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
<lrm_rsc_op id="LDAP:0_monitor_40000" operation="monitor"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="10:2352:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;10:2352:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="110" rc-code="0" op-status="0" interval="40000"
last-run="1265132184" last-rc-change="1265132184" exec-time="40"
queue-time="0" op-digest="19240b0a103493c96459e91c1a816b50"/>
<lrm_rsc_op id="LDAP:0_stop_0" operation="stop"
crm-debug-origin="do_update_resource" crm_feature_set="3.0.1"
transition-key="10:2367:0:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:0;10:2367:0:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="111" rc-code="0" op-status="0" interval="0"
last-run="1265132188" last-rc-change="1265132188" exec-time="140"
queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
</lrm_resources>
</lrm>
</node_state>
<node_state id="testvm1" uname="testvm1" ha="active" in_ccm="true"
crmd="online" join="member" expected="member"
crm-debug-origin="do_state_transition" shutdown="0">
<transient_attributes id="testvm1">
<instance_attributes id="status-testvm1">
<nvpair id="status-testvm1-probe_complete"
name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
<lrm id="testvm1">
<lrm_resources>
<lrm_resource id="LDAP-IP" type="IPaddr2" class="ocf"
provider="heartbeat">
<lrm_rsc_op id="LDAP-IP_monitor_0" operation="monitor"
crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1"
transition-key="10:1:7:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:7;10:1:7:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="2" rc-code="7" op-status="0" interval="0" last-run="1265079932"
last-rc-change="1265079932" exec-time="160" queue-time="0"
op-digest="8c064556afca1c57e7206e1362cacaf7"/>
</lrm_resource>
<lrm_resource id="LDAP:0" type="ldap" class="lsb">
<lrm_rsc_op id="LDAP:0_monitor_0" operation="monitor"
crm-debug-origin="build_active_RAs" crm_feature_set="3.0.1"
transition-key="11:1:7:e710ce1c-9a78-4239-97c7-c852fe180410"
transition-magic="0:7;11:1:7:e710ce1c-9a78-4239-97c7-c852fe180410"
call-id="3" rc-code="7" op-status="0" interval="0" last-run="1265079932"
last-rc-change="1265079932" exec-time="60" queue-time="20"
op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
</lrm_resources>
</lrm>
</node_state>
</status>
</cib>
[root at testvm1 ~]#
Thanks for helping me with this!!
More information about the Pacemaker
mailing list