blob: 88705edf8db33aa72f0ab5ccdb791b75438dd661 (
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
|
<cib crm_feature_set="2.1" admin_epoch="0" epoch="165" num_updates="3" dc-uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" have-quorum="1" remote-tls-port="0" validate-with="pacemaker-3.7" cib-last-written="Fri Jul 13 13:51:07 2012">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair name="stonith-enabled" id="nvpair.id21849" value="false"/>
<nvpair id="nvpair.id21858" name="dc-version" value="0.6.4-node: 226d8e35692415c56dbd05258a85905414938ce9"/>
<nvpair name="last-lrm-refresh" id="nvpair.id21868" value="1214292810"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="fdacfc41-e43c-464b-a80e-b3fd1b22ca00" uname="vbox3" type="member">
<instance_attributes id="instance_attributes.id21892">
<nvpair id="nvpair.id21899" name="standby" value="off"/>
</instance_attributes>
</node>
<node id="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" uname="vbox4" type="member">
<instance_attributes id="instance_attributes.id21920">
<nvpair name="standby" id="nvpair.id21927" value="off"/>
</instance_attributes>
</node>
</nodes>
<resources>
<clone id="drbd">
<meta_attributes id="meta_attributes.id21946">
<nvpair id="nvpair.id21952" name="promotable" value="true"/>
<nvpair id="nvpair.id21953" name="clone-max" value="2"/>
<nvpair id="nvpair.id21961" name="clone-node-max" value="1"/>
<nvpair id="nvpair.id21969" name="promoted-max" value="2"/>
<nvpair id="nvpair.id21978" name="promoted-node-max" value="2"/>
<nvpair id="nvpair.id21986" name="notify" value="yes"/>
<nvpair id="nvpair.id21995" name="globally-unique" value="false"/>
<nvpair id="nvpair.id22004" name="target-role" value="started"/>
<nvpair id="nvpair.id22013" name="interleave" value="true"/>
</meta_attributes>
<primitive id="drbd0" class="ocf" provider="heartbeat" type="drbd">
<instance_attributes id="instance_attributes.id22034">
<nvpair id="nvpair.id22041" name="drbd_resource" value="drbd0"/>
</instance_attributes>
<operations>
<op name="monitor" interval="59s" id="drbd0-op1" timeout="10s" role="Promoted"/>
<op name="monitor" interval="60s" id="drbd0-op2" timeout="10s" role="Unpromoted"/>
</operations>
</primitive>
<meta_attributes id="clone-drbd.meta"/>
</clone>
<clone id="cman_clone">
<meta_attributes id="meta_attributes.id22094">
<nvpair id="nvpair.id22101" name="globally-unique" value="false"/>
</meta_attributes>
<primitive id="cman" class="lsb" type="cman"/>
<meta_attributes id="meta_attributes.id22146">
<nvpair id="nvpair.id22153" name="target-role" value="started"/>
</meta_attributes>
<meta_attributes id="clone-cman_clone.meta">
<nvpair id="ordered.meta.auto-90" name="ordered" value="false"/>
<nvpair id="interleave.meta.auto-90" name="interleave" value="true"/>
<nvpair id="notify.meta.auto-90" name="notify" value="false"/>
<nvpair id="nvpair.meta.auto-104" name="clone-max" value="2"/>
<nvpair id="nvpair.meta.auto-106" name="clone-node-max" value="1"/>
</meta_attributes>
</clone>
<clone id="clvmd_clone">
<meta_attributes id="meta_attributes.id22176">
<nvpair id="nvpair.id22182" name="target-role" value="started"/>
<nvpair id="nvpair.id22191" name="globally-unique" value="false"/>
</meta_attributes>
<primitive id="clvmd" class="lsb" type="lxclvmd"/>
<meta_attributes id="clone-clvmd_clone.meta">
<nvpair id="ordered.meta.auto-121" name="ordered" value="false"/>
<nvpair id="interleave.meta.auto-121" name="interleave" value="true"/>
<nvpair id="notify.meta.auto-121" name="notify" value="false"/>
</meta_attributes>
</clone>
<primitive id="vmnci36" class="ocf" provider="heartbeat" type="vm">
<operations>
<op name="monitor" interval="10s" id="vmnci36_op_1" timeout="60s"/>
<op name="start" interval="0" id="vmnci36_op_2" timeout="60s" start-delay="0"/>
<op name="stop" interval="0" id="vmnci36_op_3" timeout="300s"/>
</operations>
<instance_attributes id="instance_attributes.id22281">
<nvpair id="nvpair.id22288" name="vmid" value="vmnci36"/>
<nvpair name="target_role" id="nvpair.id22296" value="started"/>
</instance_attributes>
<meta_attributes id="primitive-vmnci36.meta">
<nvpair id="nvpair.meta.auto-163" name="target-role" value="started"/>
</meta_attributes>
</primitive>
<primitive id="vmnci37" class="ocf" provider="heartbeat" type="vm">
<operations>
<op name="monitor" interval="10s" id="vmnci37_op_1" timeout="60s"/>
<op name="start" interval="0" id="vmnci37_op_2" timeout="60s" start-delay="0"/>
<op name="stop" interval="0" id="vmnci37_op_3" timeout="300s"/>
</operations>
<instance_attributes id="instance_attributes.id22353">
<nvpair id="nvpair.id22359" name="vmid" value="vmnci37"/>
<nvpair name="target_role" id="nvpair.id22368" value="stopped"/>
</instance_attributes>
<meta_attributes id="primitive-vmnci37.meta">
<nvpair id="nvpair.meta.auto-185" name="target-role" value="stopped"/>
</meta_attributes>
</primitive>
<primitive id="vmnci38" class="ocf" provider="heartbeat" type="vm">
<operations>
<op name="monitor" interval="10s" id="vmnci38_op_1" timeout="60s"/>
<op name="start" interval="0" id="vmnci38_op_2" timeout="60s" start-delay="0"/>
<op name="stop" interval="0" id="vmnci38_op_3" timeout="300s"/>
</operations>
<instance_attributes id="instance_attributes.id22424">
<nvpair id="nvpair.id22431" name="vmid" value="vmnci38"/>
<nvpair id="nvpair.id22439" name="target_role" value="stopped"/>
</instance_attributes>
<meta_attributes id="primitive-vmnci38.meta">
<nvpair id="nvpair.meta.auto-207" name="target-role" value="stopped"/>
</meta_attributes>
</primitive>
<primitive id="vmnci55" class="ocf" provider="heartbeat" type="vm">
<operations>
<op name="monitor" interval="10s" id="vmnci55_op_1" timeout="60s"/>
<op name="start" interval="0" id="vmnci55_op_2" timeout="60s" start-delay="0"/>
<op name="stop" interval="0" id="vmnci55_op_3" timeout="300s"/>
</operations>
<instance_attributes id="instance_attributes.id22496">
<nvpair id="nvpair.id22502" name="vmid" value="vmnci55"/>
<nvpair name="target_role" id="nvpair.id22511" value="stopped"/>
</instance_attributes>
<meta_attributes id="primitive-vmnci55.meta">
<nvpair id="nvpair.meta.auto-229" name="target-role" value="stopped"/>
</meta_attributes>
</primitive>
</resources>
<constraints>
<rsc_location id="drbd0_location" rsc="drbd">
<rule id="drbd0_preferred_location" score="1">
<expression id="expression.id22540" attribute="#uname" operation="eq" value="vbox3"/>
</rule>
</rsc_location>
<rsc_order id="drbd_before_clvmd" first="drbd" then="clvmd_clone" then-action="start" first-action="promote"/>
<rsc_colocation id="clvmd_on_drbd0" rsc="clvmd_clone" with-rsc="drbd" with-rsc-role="Promoted" score="INFINITY"/>
<rsc_order id="cman_before_clvmd" first="cman_clone" then="clvmd_clone" then-action="start" first-action="start"/>
<rsc_colocation id="clvmd_on_cman" rsc="clvmd_clone" with-rsc="cman_clone" with-rsc-role="Started" score="INFINITY"/>
<rsc_location id="vmnci36_location" rsc="vmnci36">
<rule id="vmnci36_preferred_location" score="10">
<expression id="expression.id22627" attribute="#uname" operation="eq" value="vbox3"/>
</rule>
</rsc_location>
<rsc_order id="clvmd_before_vmnci36" first="clvmd_clone" then="vmnci36" then-action="start" first-action="start"/>
<rsc_colocation id="vmnci36_on_clvmd" rsc="vmnci36" with-rsc="clvmd_clone" with-rsc-role="Started" score="INFINITY"/>
<rsc_location id="vmnci37_location" rsc="vmnci37">
<rule id="vmnci37_preferred_location" score="10">
<expression id="expression.id22679" attribute="#uname" operation="eq" value="vbox3"/>
</rule>
</rsc_location>
<rsc_location id="vmnci38_location" rsc="vmnci38">
<rule id="vmnci38_preferred_location" score="10">
<expression id="expression.id22705" attribute="#uname" operation="eq" value="vbox3"/>
</rule>
</rsc_location>
<rsc_order id="clvmd_before_vmnci38" first="clvmd_clone" then="vmnci38" then-action="start" first-action="start"/>
<rsc_location id="vmnci55_location" rsc="vmnci55">
<rule id="vmnci55_preferred_location" score="10">
<expression id="expression.id22744" attribute="#uname" operation="eq" value="vbox3"/>
</rule>
</rsc_location>
<rsc_order id="clvmd_before_vmnci55" first="clvmd_clone" then="vmnci55" then-action="start" first-action="start"/>
<rsc_colocation id="vmnci55_on_clvmd" rsc="vmnci55" with-rsc="clvmd_clone" with-rsc-role="Started" score="INFINITY"/>
</constraints>
</configuration>
<status>
<node_state id="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" uname="vbox4" crmd="online" shutdown="0" ha="active" in_ccm="true" join="member" expected="member">
<lrm id="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6">
<lrm_resources id="lrm_resources.id22815"/>
</lrm>
</node_state>
</status>
</cib>
|