blob: 42cd0d9fcd68845ada001167bd8b5eb8b0fdcd9c (
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
|
<cib admin_epoch="0" epoch="1" num_updates="1" dc-uuid="0" have-quorum="false" remote-tls-port="0" validate-with="pacemaker-3.0" 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.id21835" name="no-quorum-policy" value="ignore"/>
<nvpair id="nvpair.id21844" name="symmetric-cluster" value="true"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="node1" uname="node1" type="member"/>
<node id="node2" uname="node2" type="member"/>
</nodes>
<rsc_defaults>
<meta_attributes id="rsc_defaults-meta_attributes">
<nvpair id="rsc_defaults-resource-stickiness" name="resource-stickiness" value="100"/>
</meta_attributes>
</rsc_defaults>
<resources>
<group id="foo">
<primitive id="rsc3" class="ocf" provider="heartbeat" type="apache"/>
<primitive id="rsc4" class="ocf" provider="heartbeat" type="apache"/>
<primitive id="rsc5" class="ocf" provider="heartbeat" type="apache"/>
<meta_attributes id="group-foo.meta"/>
</group>
<group id="bar">
<primitive id="rsc6" class="ocf" provider="heartbeat" type="apache"/>
<primitive id="rsc7" class="ocf" provider="heartbeat" type="apache"/>
<primitive id="rsc8" class="ocf" provider="heartbeat" type="apache"/>
<meta_attributes id="group-bar.meta">
<nvpair id="resource_stickiness.meta.auto-34" name="resource-stickiness" value="0"/>
</meta_attributes>
</group>
</resources>
<constraints>
<rsc_colocation id="rsc_colocation.auto-1" rsc="bar" with-rsc="foo" score="-INFINITY"/>
<rsc_location id="rsc_location.auto-1" rsc="rsc3">
<rule id="score1" score="-INFINITY">
<expression id="expression.id21976" attribute="#uname" operation="defined"/>
</rule>
</rsc_location>
</constraints>
</configuration>
<status>
<node_state id="node1" ha="active" uname="node1" crmd="online" join="member" expected="member" in_ccm="true"/>
<node_state id="node2" ha="active" uname="node2" crmd="online" join="member" expected="member" in_ccm="true"/>
</status>
</cib>
|