blob: a1880612d485b2aa46e0aba52484af9e4d8232e1 (
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
|
<cib admin_epoch="0" epoch="4" num_updates="98" dc-uuid="6427cb5a-c7a5-4bdf-9892-a04ce56f4e6b" have-quorum="true" remote-tls-port="0" validate-with="pacemaker-3.0" cib-last-written="Fri Jul 13 13:51:12 2012">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="nvpair.id21843" name="cluster-delay" value="3m"/>
<nvpair id="nvpair.id21869" name="no-quorum-policy" value="stop"/>
<nvpair id="nvpair.id21878" name="stonith-enabled" value="true"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="6427cb5a-c7a5-4bdf-9892-a04ce56f4e6b" uname="c001n08" type="member"/>
<node id="e9bdfde9-01b0-421f-acd8-8a65a53e775f" uname="c001n02" type="member"/>
<node id="5d9a8c11-8684-43ea-91.0.6e221530c193" uname="c001n03" type="member"/>
<node id="de937e3d-0309-4b5d-b85c-f96edc1ed8e3" uname="c001n01" 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.id21957">
<nvpair id="nvpair.id21963" name="ip" value="127.0.0.10"/>
</instance_attributes>
<meta_attributes id="primitive-DcIPaddr.meta">
<nvpair id="is_managed.meta.auto-33" name="is-managed" value="1"/>
</meta_attributes>
</primitive>
<primitive id="rsc_c001n08" class="ocf" type="IPaddr" provider="heartbeat">
<operations>
<op name="monitor" interval="5s" id="op.auto-2" timeout="20s"/>
</operations>
<instance_attributes id="instance_attributes.id22000">
<nvpair id="nvpair.id22006" name="ip" value="127.0.0.11"/>
</instance_attributes>
<meta_attributes id="primitive-rsc_c001n08.meta">
<nvpair id="is_managed.meta.auto-49" name="is-managed" value="1"/>
</meta_attributes>
</primitive>
<primitive id="rsc_c001n02" class="ocf" type="IPaddr" provider="heartbeat">
<operations>
<op name="monitor" interval="5s" id="op.auto-3" timeout="20s"/>
</operations>
<instance_attributes id="instance_attributes.id22042">
<nvpair id="nvpair.id22049" name="ip" value="127.0.0.12"/>
</instance_attributes>
<meta_attributes id="primitive-rsc_c001n02.meta">
<nvpair id="is_managed.meta.auto-65" name="is-managed" value="1"/>
</meta_attributes>
</primitive>
<primitive id="rsc_c001n03" class="ocf" type="IPaddr" provider="heartbeat">
<operations>
<op name="monitor" interval="5s" id="op.auto-4" timeout="20s"/>
</operations>
<instance_attributes id="instance_attributes.id22085">
<nvpair id="nvpair.id22091" name="ip" value="127.0.0.13"/>
</instance_attributes>
<meta_attributes id="primitive-rsc_c001n03.meta">
<nvpair id="is_managed.meta.auto-81" name="is-managed" value="1"/>
</meta_attributes>
</primitive>
<primitive id="rsc_c001n01" class="ocf" type="IPaddr" provider="heartbeat">
<operations>
<op name="monitor" interval="5s" id="op.auto-5" timeout="20s"/>
</operations>
<instance_attributes id="instance_attributes.id22128">
<nvpair id="nvpair.id22134" name="ip" value="127.0.0.14"/>
</instance_attributes>
<meta_attributes id="primitive-rsc_c001n01.meta">
<nvpair id="is_managed.meta.auto-97" 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.id22208">
<nvpair id="nvpair.id22214" name="hostlist" value="c001n08 c001n02 c001n03 c001n01 "/>
</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-119" name="clone-max" value="4"/>
<nvpair id="nvpair.meta.auto-121" 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.id22245" attribute="#is_dc" operation="eq" value="false"/>
</rule>
</rsc_location>
<rsc_location id="run_rsc_c001n08" rsc="rsc_c001n08">
<rule id="pref_run_rsc_c001n08" score="100" boolean-op="and">
<expression id="expression.id22270" attribute="#uname" operation="eq" value="c001n08"/>
</rule>
</rsc_location>
<rsc_location id="run_rsc_c001n02" rsc="rsc_c001n02">
<rule id="pref_run_rsc_c001n02" score="100" boolean-op="and">
<expression id="expression.id22297" attribute="#uname" operation="eq" value="c001n02"/>
</rule>
</rsc_location>
<rsc_location id="run_rsc_c001n03" rsc="rsc_c001n03">
<rule id="pref_run_rsc_c001n03" score="100" boolean-op="and">
<expression id="expression.id22325" attribute="#uname" operation="eq" value="c001n03"/>
</rule>
</rsc_location>
<rsc_location id="run_rsc_c001n01" rsc="rsc_c001n01">
<rule id="pref_run_rsc_c001n01" score="100" boolean-op="and">
<expression id="expression.id22352" attribute="#uname" operation="eq" value="c001n01"/>
</rule>
</rsc_location>
</constraints>
</configuration>
<status>
<node_state id="6427cb5a-c7a5-4bdf-9892-a04ce56f4e6b" uname="c001n08" in_ccm="true" join="member" crmd="online" ha="active" expected="member"/>
<node_state id="5d9a8c11-8684-43ea-91.0.6e221530c193" uname="c001n03" crmd="online" in_ccm="true" join="member" ha="active" expected="member"/>
<node_state id="de937e3d-0309-4b5d-b85c-f96edc1ed8e3" uname="c001n01" crmd="online" in_ccm="true" join="member" ha="active" expected="member"/>
</status>
</cib>
|