blob: 170a5b239c0992946ddf2827603f6ae718916d50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
<cib epoch="329" num_updates="23" admin_epoch="0" validate-with="pacemaker-3.0" crm_feature_set="3.0.6" update-origin="fc16-builder" update-client="cibadmin" cib-last-written="Fri Jul 13 13:51:01 2012" have-quorum="0" dc-uuid="fc16-builder">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.6-756f667"/>
<nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
<nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="true"/>
<nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/>
<nvpair id="cib-bootstrap-options-no-cluster-recheck-interval" name="cluster-recheck-interval" value="20s"/>
<nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1331666640"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="fc16-builder" type="member" uname="fc16-builder"/>
<node id="fc16-builder2" type="member" uname="fc16-builder2"/>
<node id="fc16-builder3" type="member" uname="fc16-builder3"/>
</nodes>
<resources>
<primitive class="stonith" id="virt-fencing" type="fence_xvm">
<instance_attributes id="virt-fencing-instance_attributes">
<nvpair id="virt-fencing-instance_attributes-pcmk_host_check" name="pcmk_host_check" value="static-list"/>
<nvpair id="virt-fencing-instance_attributes-pcmk_host_list" name="pcmk_host_list" value="fc16-builder,fc16-builder2,fc16-builder3"/>
<nvpair id="virt-fencing-instance_attributes-action" name="action" value="reboot"/>
<nvpair id="virt-fencing-instance_attributes-debug" name="debug" value="1"/>
</instance_attributes>
</primitive>
<primitive class="ocf" id="A" provider="pacemaker" type="Dummy">
<instance_attributes id="A-instance_attributes">
<nvpair id="A-instance_attributes-allow-migrate" name="allow-migrate" value="1"/>
</instance_attributes>
<operations>
<op id="A-monitor-30" interval="30" name="monitor" timeout="60"/>
</operations>
</primitive>
</resources>
<constraints>
<rsc_location id="cli-prefer-virt-fencing" rsc="virt-fencing">
<rule id="cli-prefer-rule-virt-fencing" score="INFINITY">
<expression attribute="#uname" id="cli-prefer-expr-virt-fencing" operation="eq" value="fc16-builder"/>
</rule>
</rsc_location>
</constraints>
</configuration>
<status>
<node_state id="fc16-builder" uname="fc16-builder" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0">
<transient_attributes id="fc16-builder">
<instance_attributes id="status-fc16-builder">
<nvpair id="status-fc16-builder-probe_complete" name="probe_complete" value="true"/>
<nvpair id="status-fc16-builder-fail-count-A" name="fail-count-A" value="1"/>
<nvpair id="status-fc16-builder-last-failure-A" name="last-failure-A" value="1331931130"/>
</instance_attributes>
</transient_attributes>
<lrm id="fc16-builder">
<lrm_resources>
<lrm_resource id="A" type="Dummy" class="ocf" provider="pacemaker">
<lrm_rsc_op id="A_last_0" operation_key="A_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="8:203:0:b17c8484-76f5-498f-accc-34f5150b2067" transition-magic="0:0;8:203:0:b17c8484-76f5-498f-accc-34f5150b2067" call-id="11" rc-code="0" op-status="0" interval="0" op-digest="b65f7317a9b103129a732c054d12cf98" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" last-run="1331931129" last-rc-change="1331931129" exec-time="10" queue-time="0"/>
<lrm_rsc_op id="A_monitor_30000" operation_key="A_monitor_30000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="1:203:0:b17c8484-76f5-498f-accc-34f5150b2067" transition-magic="0:0;1:203:0:b17c8484-76f5-498f-accc-34f5150b2067" call-id="12" rc-code="0" op-status="0" interval="30000" op-digest="1b2422c568b664516ddfa4f516e08458" last-rc-change="1331931129" exec-time="10" queue-time="0"/>
<lrm_rsc_op id="A_last_failure_0" operation_key="A_asyncmon_0" operation="asyncmon" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="9:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:1;9:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="9" rc-code="1" op-status="0" interval="0"/>
</lrm_resource>
<lrm_resource id="virt-fencing" type="fence_xvm" class="stonith">
<lrm_rsc_op id="virt-fencing_last_0" operation_key="virt-fencing_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.6" transition-key="4:0:0:b17c8484-76f5-498f-accc-34f5150b2067" transition-magic="0:0;4:0:0:b17c8484-76f5-498f-accc-34f5150b2067" call-id="3" rc-code="0" op-status="0" interval="0" op-digest="7e3dbcf6815893c8d95c1b9fa1fd82ae"/>
</lrm_resource>
</lrm_resources>
</lrm>
</node_state>
<node_state id="fc16-builder2" uname="fc16-builder2" ha="dead" in_ccm="false" crmd="offline" join="down" crm-debug-origin="do_state_transition"/>
<node_state id="fc16-builder3" uname="fc16-builder3" ha="dead" in_ccm="false" crmd="offline" join="down" crm-debug-origin="do_state_transition"/>
</status>
</cib>
|