blob: 37ccc7bc394310b443d2f0f3629b73a9be4aeeae (
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
<cib epoch="16" num_updates="7" admin_epoch="0" validate-with="pacemaker-3.7" crm_feature_set="3.0.8" cib-last-written="Fri Jun 6 15:08:14 2014" update-origin="ha1.test.anchor.net.au" update-client="cibadmin" have-quorum="1" dc-uuid="3232235521">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair name="dc-version" value="1.1.11-1.0anchor1.el6-9d39a6b" id="cib-bootstrap-options-dc-version"/>
<nvpair name="cluster-infrastructure" value="corosync" id="cib-bootstrap-options-cluster-infrastructure"/>
<nvpair name="stonith-enabled" value="false" id="cib-bootstrap-options-stonith-enabled"/>
<nvpair name="stonith-action" value="poweroff" id="cib-bootstrap-options-stonith-action"/>
<nvpair name="pe-error-series-max" value="100" id="cib-bootstrap-options-pe-error-series-max"/>
<nvpair name="pe-input-series-max" value="100" id="cib-bootstrap-options-pe-input-series-max"/>
<nvpair name="pe-warn-series-max" value="100" id="cib-bootstrap-options-pe-warn-series-max"/>
<nvpair name="no-quorum-policy" value="freeze" id="cib-bootstrap-options-no-quorum-policy"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="3232235521" uname="ha1.test.anchor.net.au"/>
<node id="3232235522" uname="ha2.test.anchor.net.au"/>
</nodes>
<resources>
<primitive id="child1-service" class="ocf" provider="pacemaker" type="Dummy">
<meta_attributes id="child1-service-meta_attributes">
<nvpair id="child1-service-meta_attributes-target-role" name="target-role" value="Stopped"/>
</meta_attributes>
</primitive>
<primitive id="child2-service" class="ocf" provider="pacemaker" type="Dummy"/>
<primitive id="parent-service" class="ocf" provider="pacemaker" type="Dummy"/>
<clone id="child1">
<meta_attributes id="child1-meta">
<nvpair id="child1-meta-promotable" name="promotable" value="true"/>
</meta_attributes>
<primitive id="stateful-child1" class="ocf" provider="pacemaker" type="Stateful"/>
</clone>
<clone id="child2">
<meta_attributes id="child2-meta">
<nvpair id="child2-meta-promotable" name="promotable" value="true"/>
</meta_attributes>
<primitive id="stateful-child2" class="ocf" provider="pacemaker" type="Stateful"/>
</clone>
<clone id="parent">
<meta_attributes id="parent-meta">
<nvpair id="parent-meta-promotable" name="promotable" value="true"/>
</meta_attributes>
<primitive id="stateful-parent" class="ocf" provider="pacemaker" type="Stateful"/>
</clone>
</resources>
<constraints>
<rsc_colocation id="child1-promoted-with-parent-promoted" score="INFINITY" rsc="child1" rsc-role="Promoted" with-rsc="parent" with-rsc-role="Promoted"/>
<rsc_colocation id="child1-service-with-child1-promoted" score="INFINITY" rsc="child1-service" with-rsc="child1" with-rsc-role="Promoted"/>
<rsc_colocation id="child2-promoted-with-parent-promoted" score="INFINITY" rsc="child2" rsc-role="Promoted" with-rsc="parent" with-rsc-role="Promoted"/>
<rsc_colocation id="child2-service-with-child2-promoted" score="INFINITY" rsc="child2-service" with-rsc="child2" with-rsc-role="Promoted"/>
<rsc_colocation id="parent-service-with-parent-promoted" score="INFINITY" rsc="parent-service" with-rsc="parent" with-rsc-role="Promoted"/>
</constraints>
</configuration>
<status>
<node_state id="3232235522" uname="ha2.test.anchor.net.au" in_ccm="true" crmd="online" crm-debug-origin="do_state_transition" join="member" expected="member">
<transient_attributes id="3232235522">
<instance_attributes id="status-3232235522">
<nvpair id="status-3232235522-shutdown" name="shutdown" value="0"/>
<nvpair id="status-3232235522-probe_complete" name="probe_complete" value="true"/>
<nvpair id="status-3232235522-promoted-stateful-child2" name="master-stateful-child2" value="10"/>
<nvpair id="status-3232235522-promoted-stateful-child1" name="master-stateful-child1" value="10"/>
<nvpair id="status-3232235522-promoted-stateful-parent" name="master-stateful-parent" value="10"/>
</instance_attributes>
</transient_attributes>
<lrm id="3232235522">
<lrm_resources>
<lrm_resource id="stateful-child1" type="Stateful" class="ocf" provider="pacemaker">
<lrm_rsc_op id="stateful-child1_last_0" operation_key="stateful-child1_promote_0" operation="promote" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.8" transition-key="14:2:0:abab8430-bb1b-499d-8426-a086255170be" transition-magic="0:0;14:2:0:abab8430-bb1b-499d-8426-a086255170be" call-id="45" rc-code="0" op-status="0" interval="0" last-run="1402031117" last-rc-change="1402031117" exec-time="63" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
<lrm_resource id="child2-service" type="Dummy" class="ocf" provider="pacemaker">
<lrm_rsc_op id="child2-service_last_0" operation_key="child2-service_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.8" transition-key="6:18:0:abab8430-bb1b-499d-8426-a086255170be" transition-magic="0:0;6:18:0:abab8430-bb1b-499d-8426-a086255170be" call-id="60" rc-code="0" op-status="0" interval="0" last-run="1402031203" last-rc-change="1402031203" exec-time="30" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state op_sleep " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
<lrm_resource id="stateful-child2" type="Stateful" class="ocf" provider="pacemaker">
<lrm_rsc_op id="stateful-child2_last_0" operation_key="stateful-child2_promote_0" operation="promote" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.8" transition-key="25:18:0:abab8430-bb1b-499d-8426-a086255170be" transition-magic="0:0;25:18:0:abab8430-bb1b-499d-8426-a086255170be" call-id="61" rc-code="0" op-status="0" interval="0" last-run="1402031203" last-rc-change="1402031203" exec-time="52" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
<lrm_resource id="stateful-parent" type="Stateful" class="ocf" provider="pacemaker">
<lrm_rsc_op id="stateful-parent_last_0" operation_key="stateful-parent_promote_0" operation="promote" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.8" transition-key="40:2:0:abab8430-bb1b-499d-8426-a086255170be" transition-magic="0:0;40:2:0:abab8430-bb1b-499d-8426-a086255170be" call-id="47" rc-code="0" op-status="0" interval="0" last-run="1402031117" last-rc-change="1402031117" exec-time="83" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
<lrm_resource id="child1-service" type="Dummy" class="ocf" provider="pacemaker">
<lrm_rsc_op id="child1-service_last_0" operation_key="child1-service_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.8" transition-key="5:18:0:abab8430-bb1b-499d-8426-a086255170be" transition-magic="0:0;5:18:0:abab8430-bb1b-499d-8426-a086255170be" call-id="59" rc-code="0" op-status="0" interval="0" last-run="1402031203" last-rc-change="1402031203" exec-time="32" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state op_sleep " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
<lrm_resource id="parent-service" type="Dummy" class="ocf" provider="pacemaker">
<lrm_rsc_op id="parent-service_last_0" operation_key="parent-service_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.8" transition-key="11:2:0:abab8430-bb1b-499d-8426-a086255170be" transition-magic="0:0;11:2:0:abab8430-bb1b-499d-8426-a086255170be" call-id="44" rc-code="0" op-status="0" interval="0" last-run="1402031117" last-rc-change="1402031117" exec-time="30" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state op_sleep " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
</lrm_resources>
</lrm>
</node_state>
<node_state id="3232235521" uname="ha1.test.anchor.net.au" in_ccm="true" crmd="online" crm-debug-origin="do_state_transition" join="member" expected="member">
<transient_attributes id="3232235521">
<instance_attributes id="status-3232235521">
<nvpair id="status-3232235521-shutdown" name="shutdown" value="0"/>
<nvpair id="status-3232235521-probe_complete" name="probe_complete" value="true"/>
<nvpair id="status-3232235521-promoted-stateful-child2" name="master-stateful-child2" value="5"/>
<nvpair id="status-3232235521-promoted-stateful-child1" name="master-stateful-child1" value="5"/>
<nvpair id="status-3232235521-promoted-stateful-parent" name="master-stateful-parent" value="5"/>
</instance_attributes>
</transient_attributes>
<lrm id="3232235521">
<lrm_resources>
<lrm_resource id="stateful-child1" type="Stateful" class="ocf" provider="pacemaker">
<lrm_rsc_op id="stateful-child1_last_0" operation_key="stateful-child1_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.8" transition-key="23:1:0:abab8430-bb1b-499d-8426-a086255170be" transition-magic="0:0;23:1:0:abab8430-bb1b-499d-8426-a086255170be" call-id="38" rc-code="0" op-status="0" interval="0" last-run="1402031117" last-rc-change="1402031117" exec-time="74" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
<lrm_resource id="child2-service" type="Dummy" class="ocf" provider="pacemaker">
<lrm_rsc_op id="child2-service_last_0" operation_key="child2-service_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.8" transition-key="5:1:7:abab8430-bb1b-499d-8426-a086255170be" transition-magic="0:7;5:1:7:abab8430-bb1b-499d-8426-a086255170be" call-id="9" rc-code="7" op-status="0" interval="0" last-run="1402031117" last-rc-change="1402031117" exec-time="26" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state op_sleep " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
<lrm_resource id="stateful-child2" type="Stateful" class="ocf" provider="pacemaker">
<lrm_rsc_op id="stateful-child2_last_0" operation_key="stateful-child2_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.8" transition-key="33:1:0:abab8430-bb1b-499d-8426-a086255170be" transition-magic="0:0;33:1:0:abab8430-bb1b-499d-8426-a086255170be" call-id="39" rc-code="0" op-status="0" interval="0" last-run="1402031117" last-rc-change="1402031117" exec-time="60" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
<lrm_resource id="stateful-parent" type="Stateful" class="ocf" provider="pacemaker">
<lrm_rsc_op id="stateful-parent_last_0" operation_key="stateful-parent_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.8" transition-key="43:1:0:abab8430-bb1b-499d-8426-a086255170be" transition-magic="0:0;43:1:0:abab8430-bb1b-499d-8426-a086255170be" call-id="40" rc-code="0" op-status="0" interval="0" last-run="1402031117" last-rc-change="1402031117" exec-time="74" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
<lrm_resource id="child1-service" type="Dummy" class="ocf" provider="pacemaker">
<lrm_rsc_op id="child1-service_last_0" operation_key="child1-service_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.8" transition-key="4:1:7:abab8430-bb1b-499d-8426-a086255170be" transition-magic="0:7;4:1:7:abab8430-bb1b-499d-8426-a086255170be" call-id="5" rc-code="7" op-status="0" interval="0" last-run="1402031117" last-rc-change="1402031117" exec-time="33" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state op_sleep " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
<lrm_resource id="parent-service" type="Dummy" class="ocf" provider="pacemaker">
<lrm_rsc_op id="parent-service_last_0" operation_key="parent-service_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.8" transition-key="8:1:7:abab8430-bb1b-499d-8426-a086255170be" transition-magic="0:7;8:1:7:abab8430-bb1b-499d-8426-a086255170be" call-id="21" rc-code="7" op-status="0" interval="0" last-run="1402031117" last-rc-change="1402031117" exec-time="13" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state op_sleep " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
</lrm_resource>
</lrm_resources>
</lrm>
</node_state>
<node_state id="3232235523" in_ccm="true" crmd="offline" join="down" crm-debug-origin="do_state_transition"/>
</status>
</cib>
|