blob: 2c8ecbc920508791512b14bb47dae1a3d7206320 (
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
|
<cib admin_epoch="0" epoch="3" num_updates="17" dc-uuid="f9c593eb-ca0d-4ab3-ba88-fde12c02334a" have-quorum="true" remote-tls-port="0" validate-with="pacemaker-3.0" cib-last-written="Fri Jul 13 13:50:59 2012">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="nvpair.id21842" name="cluster-delay" value="120s"/>
<nvpair id="nvpair.id21869" name="no-quorum-policy" value="stop"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="f9c593eb-ca0d-4ab3-ba88-fde12c02334a" uname="test03" type="member"/>
<node id="f75e684a-be1e-4036-89e5-a14f8dcdc947" uname="test02" type="member"/>
<node id="619e8a37-147a-4782-ac11-46afad7c32b8" uname="sgi2" type="member"/>
<node id="d0d76dd9-7a01-4c12-bbec-98aa2a669638" uname="ibm1" type="member"/>
</nodes>
<resources>
<primitive id="DcIPaddr" class="ocf" type="IPaddr" provider="heartbeat">
<operations>
<op name="monitor" interval="5s" id="op.auto-1" timeout="20s"/>
</operations>
<instance_attributes id="instance_attributes.id21947">
<nvpair id="nvpair.id21954" name="ip" value="127.0.0.10"/>
</instance_attributes>
<meta_attributes id="primitive-DcIPaddr.meta">
<nvpair id="is_managed.meta.auto-31" name="is-managed" value="1"/>
</meta_attributes>
</primitive>
<primitive id="rsc_sgi2" class="ocf" type="IPaddr" provider="heartbeat">
<operations>
<op name="monitor" interval="5s" id="op.auto-2" timeout="20s"/>
</operations>
<instance_attributes id="instance_attributes.id21990">
<nvpair id="nvpair.id21997" name="ip" value="127.0.0.11"/>
</instance_attributes>
<meta_attributes id="primitive-rsc_sgi2.meta">
<nvpair id="is_managed.meta.auto-47" name="is-managed" value="1"/>
</meta_attributes>
</primitive>
<primitive id="rsc_ibm1" class="ocf" type="IPaddr" provider="heartbeat">
<operations>
<op name="monitor" interval="5s" id="op.auto-3" timeout="20s"/>
</operations>
<instance_attributes id="instance_attributes.id22033">
<nvpair id="nvpair.id22039" name="ip" value="127.0.0.12"/>
</instance_attributes>
<meta_attributes id="primitive-rsc_ibm1.meta">
<nvpair id="is_managed.meta.auto-63" name="is-managed" value="1"/>
</meta_attributes>
</primitive>
<primitive id="rsc_test02" class="ocf" type="IPaddr" provider="heartbeat">
<operations>
<op name="monitor" interval="5s" id="op.auto-4" timeout="20s"/>
</operations>
<instance_attributes id="instance_attributes.id22076">
<nvpair id="nvpair.id22082" name="ip" value="127.0.0.13"/>
</instance_attributes>
<meta_attributes id="primitive-rsc_test02.meta">
<nvpair id="is_managed.meta.auto-79" name="is-managed" value="1"/>
</meta_attributes>
</primitive>
<primitive id="rsc_test03" class="ocf" type="IPaddr" provider="heartbeat">
<operations>
<op name="monitor" interval="5s" id="op.auto-5" timeout="20s"/>
</operations>
<instance_attributes id="instance_attributes.id22119">
<nvpair id="nvpair.id22125" name="ip" value="127.0.0.14"/>
</instance_attributes>
<meta_attributes id="primitive-rsc_test03.meta">
<nvpair id="is_managed.meta.auto-95" name="is-managed" value="1"/>
</meta_attributes>
</primitive>
<clone id="DoFencing">
<primitive id="child_DoFencing" class="stonith" type="ssh">
<operations>
<op name="monitor" interval="5s" id="op.auto-6" timeout="20s"/>
<op name="start" interval="0" id="op.auto-7" timeout="20s"/>
</operations>
<instance_attributes id="instance_attributes.id22207">
<nvpair id="nvpair.id22214" name="hostlist" value="sgi2 ibm1 test02 test03 "/>
</instance_attributes>
<meta_attributes id="meta_attributes-requires">
<nvpair id="nvpair-requires" name="requires" value="nothing"/>
</meta_attributes>
</primitive>
<meta_attributes id="clone-DoFencing.meta">
<nvpair id="nvpair.meta.auto-121" name="resource-stickiness" value="1"/>
<nvpair id="nvpair.meta.auto-117" name="clone-max" value="4"/>
<nvpair id="nvpair.meta.auto-119" name="clone-node-max" value="1"/>
<nvpair id="unique-1" name="globally-unique" value="true"/>
</meta_attributes>
</clone>
</resources>
<constraints>
<rsc_location id="run_DcIPaddr" rsc="DcIPaddr">
<rule id="cant_run_DcIPaddr" score="-INFINITY" boolean-op="and">
<expression id="expression.id22244" attribute="#is_dc" operation="eq" value="false"/>
</rule>
</rsc_location>
<rsc_location id="run_rsc_sgi2" rsc="rsc_sgi2">
<rule id="pref_run_rsc_sgi2" score="100" boolean-op="and">
<expression id="expression.id22269" attribute="#uname" operation="eq" value="sgi2"/>
</rule>
</rsc_location>
<rsc_location id="run_rsc_ibm1" rsc="rsc_ibm1">
<rule id="pref_run_rsc_ibm1" score="100" boolean-op="and">
<expression id="expression.id22297" attribute="#uname" operation="eq" value="ibm1"/>
</rule>
</rsc_location>
<rsc_location id="run_rsc_test02" rsc="rsc_test02">
<rule id="pref_run_rsc_test02" score="100" boolean-op="and">
<expression id="expression.id22324" attribute="#uname" operation="eq" value="test02"/>
</rule>
</rsc_location>
<rsc_location id="run_rsc_test03" rsc="rsc_test03">
<rule id="pref_run_rsc_test03" score="100" boolean-op="and">
<expression id="expression.id22352" attribute="#uname" operation="eq" value="test03"/>
</rule>
</rsc_location>
</constraints>
</configuration>
<status>
<node_state id="f9c593eb-ca0d-4ab3-ba88-fde12c02334a" uname="test03" in_ccm="true" join="member" crmd="online" ha="active" expected="member">
<transient_attributes id="transient_attributes.id22386">
<instance_attributes id="instance_attributes.id22388">
<nvpair id="nvpair.id22394" name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
<lrm id="any">
<lrm_resources id="lrm_resources.id22410">
<lrm_resource id="child_DoFencing:0" class="stonith" type="ssh">
<lrm_rsc_op id="DoFencing-child_DoFencing-0_start_0" op-digest="08c815ac958ff8151d72300fda3a6c0e" operation="start" interval="0" transition-key="0:0:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" crm_feature_set="2.0" transition-magic="0:0;0:0:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="2" rc-code="0" op-status="0"/>
<lrm_rsc_op id="DoFencing-child_DoFencing-0_stop_0" operation="stop" interval="0" transition-key="0:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" crm_feature_set="2.0" transition-magic="0:0;0:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="5" rc-code="0" op-status="0"/>
</lrm_resource>
<lrm_resource id="rsc_ibm1" class="ocf" provider="heartbeat" type="IPaddr">
<lrm_rsc_op id="rsc_ibm1_start_0" op-digest="d8eeae5f6724dfcab8f57ef54367eb0a" operation="start" interval="0" transition-key="0:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" crm_feature_set="2.0" transition-magic="0:0;0:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="7" rc-code="0" op-status="0"/>
<lrm_rsc_op id="rsc_ibm1_monitor_5000" op-digest="7515405113757a8bc37db755be497fca" interval="5000" operation="monitor" op-status="-1" rc-code="-1" transition-key="-1:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" crm_feature_set="2.0" transition-magic="0:0;-1:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="-1"/>
</lrm_resource>
<lrm_resource id="rsc_test03" class="ocf" provider="heartbeat" type="IPaddr">
<lrm_rsc_op id="rsc_test03_start_0" op-digest="74307acd7ffa84f71fe8a46100cdbbb0" operation="start" interval="0" transition-key="0:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" crm_feature_set="2.0" transition-magic="0:0;0:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="8" rc-code="0" op-status="0"/>
<lrm_rsc_op id="rsc_test03_monitor_5000" op-digest="fc615675937160e95e360e325cd67d82" interval="5000" operation="monitor" op-status="-1" rc-code="-1" transition-key="-1:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" crm_feature_set="2.0" transition-magic="0:0;-1:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="-1"/>
</lrm_resource>
<lrm_resource id="DcIPaddr" provider="heartbeat" class="ocf" type="IPaddr">
<lrm_rsc_op id="DcIPaddr_start_0" op-digest="21ccbd2b8e65014ca7b36a2070642a2e" operation="start" interval="0" transition-key="0:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" crm_feature_set="2.0" transition-magic="0:0;0:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="6" rc-code="0" op-status="0"/>
<lrm_rsc_op id="DcIPaddr_monitor_5000" op-digest="517d7b3575d97d408fbe19f3cfcc69fe" interval="5000" operation="monitor" op-status="-1" rc-code="-1" transition-key="-1:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" crm_feature_set="2.0" transition-magic="0:0;-1:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="-1"/>
</lrm_resource>
<lrm_resource id="child_DoFencing:1" class="stonith" type="ssh">
<lrm_rsc_op id="DoFencing-child_DoFencing-1_start_0" op-digest="08c815ac958ff8151d72300fda3a6c0e" operation="start" interval="0" op-status="-1" rc-code="-1" transition-key="-1:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" crm_feature_set="2.0" transition-magic="0:0;-1:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="-1"/>
</lrm_resource>
</lrm_resources>
</lrm>
</node_state>
<node_state id="f75e684a-be1e-4036-89e5-a14f8dcdc947" uname="test02" crmd="online" in_ccm="true" join="member" ha="active" expected="member">
<transient_attributes id="transient_attributes.id22705">
<instance_attributes id="instance_attributes.id22707">
<nvpair id="nvpair.id22713" name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
<lrm id="any">
<lrm_resources id="lrm_resources.id22729">
<lrm_resource id="child_DoFencing:0" class="stonith" type="ssh">
<lrm_rsc_op id="DoFencing-child_DoFencing-0_start_0" op-digest="08c815ac958ff8151d72300fda3a6c0e" operation="start" interval="0" op-status="-1" rc-code="-1" transition-key="-1:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" crm_feature_set="2.0" transition-magic="0:0;-1:1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="-1"/>
</lrm_resource>
</lrm_resources>
</lrm>
</node_state>
<node_state id="619e8a37-147a-4782-ac11-46afad7c32b8" uname="sgi2" crmd="online" in_ccm="true" join="member" ha="active" expected="member">
<transient_attributes id="transient_attributes.id22785">
<instance_attributes id="instance_attributes.id22787">
<nvpair id="nvpair.id22793" name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
<lrm id="any">
<lrm_resources id="lrm_resources.id22809"/>
</lrm>
</node_state>
<node_state id="d0d76dd9-7a01-4c12-bbec-98aa2a669638" uname="ibm1" crmd="online" in_ccm="true" join="member" ha="active" expected="member">
<transient_attributes id="transient_attributes.id22831">
<instance_attributes id="instance_attributes.id22833">
<nvpair id="nvpair.id22839" name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
<lrm id="any">
<lrm_resources id="lrm_resources.id22855"/>
</lrm>
</node_state>
</status>
</cib>
|