blob: d02789a663e2bb5ffe8baa3b734346c92672c164 (
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
|
<cib admin_epoch="0" epoch="1" num_updates="1" dc-uuid="0" have-quorum="false" remote-tls-port="0" validate-with="pacemaker-3.7" cib-last-written="Fri Jul 13 13:51:05 2012">
<configuration>
<crm_config>
<cluster_property_set id="no-stonith">
<nvpair id="opt-no-stonith" name="stonith-enabled" value="false"/>
</cluster_property_set>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="nvpair.id21832" name="no-quorum-policy" value="ignore"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="uuid0" uname="node0" type="member"/>
<node id="uuid1" uname="node1" type="member">
<instance_attributes id="instance_attributes.id21862">
<nvpair id="nvpair.id21869" name="master-child_rsc1:0" value="10"/>
<nvpair id="nvpair.id21877" name="master-child_rsc1:1" value="100"/>
</instance_attributes>
</node>
<node id="uuid2" uname="node2" type="member">
<instance_attributes id="instance_attributes.id21898">
<nvpair id="nvpair.id21905" name="master-child_rsc1:0" value="30"/>
<nvpair id="nvpair.id21913" name="master-child_rsc1:1" value="300"/>
</instance_attributes>
</node>
</nodes>
<resources>
<primitive id="simple-rsc" class="ocf" provider="heartbeat" type="apache"/>
<clone id="rsc1">
<primitive id="child_rsc1" class="ocf" provider="heartbeat" type="apache"/>
<meta_attributes id="clone-rsc1.meta">
<nvpair id="nvpair.meta.auto-60" name="promotable" value="true"/>
<nvpair id="nvpair.meta.auto-61" name="resource-stickiness" value="1"/>
<nvpair id="nvpair.meta.auto-53" name="clone-max" value="2"/>
<nvpair id="nvpair.meta.auto-55" name="clone-node-max" value="1"/>
<nvpair id="nvpair.meta.auto-57" name="promoted-max" value="1"/>
<nvpair id="nvpair.meta.auto-59" name="promoted-node-max" value="1"/>
<nvpair id="unique-1" name="globally-unique" value="true"/>
</meta_attributes>
</clone>
</resources>
<constraints>
<rsc_colocation id="simple-with-promoted" rsc="simple-rsc" with-rsc="rsc1" with-rsc-role="Promoted" score="INFINITY"/>
<rsc_location id="promoted-cons" rsc="rsc1">
<rule id="master-rule" score="100" role="Promoted">
<expression id="expression.id22031" attribute="#uname" operation="eq" value="node2"/>
</rule>
</rsc_location>
<rsc_location id="simple-node0" rsc="simple-rsc">
<rule id="simple-rule-node0" score="99999">
<expression id="expression.id22057" attribute="#uname" operation="eq" value="node0"/>
</rule>
</rsc_location>
<rsc_location id="clone-node0" rsc="rsc1">
<rule id="clone-rule-node0" score="-INFINITY">
<expression id="expression.id22082" attribute="#uname" operation="eq" value="node0"/>
</rule>
</rsc_location>
</constraints>
</configuration>
<status>
<node_state id="uuid0" ha="active" uname="node0" crmd="online" join="member" expected="member" in_ccm="true">
<transient_attributes id="transient_attributes.id22116">
<instance_attributes id="instance_attributes.id22118">
<nvpair id="nvpair.id22124" name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
</node_state>
<node_state id="uuid1" ha="active" uname="node1" crmd="online" join="member" expected="member" in_ccm="true">
<transient_attributes id="transient_attributes.id22154">
<instance_attributes id="instance_attributes.id22156">
<nvpair id="nvpair.id22162" name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
</node_state>
<node_state id="uuid2" ha="active" uname="node2" crmd="online" join="member" expected="member" in_ccm="true">
<transient_attributes id="transient_attributes.id22192">
<instance_attributes id="instance_attributes.id22194">
<nvpair id="nvpair.id22201" name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
</node_state>
</status>
</cib>
|