blob: 6b5f2d796ec33fb12675ac0273e28db3dcb038af (
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
|
<cib admin_epoch="0" epoch="20" num_updates="21" dc-uuid="e4603bf6-d10f-4af2-b53b-ba72de6164d0" have-quorum="true" remote-tls-port="0" validate-with="pacemaker-3.0" cib-last-written="Fri Jul 13 13:51:00 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.id21849" name="dc-version" value="2.1.3-node: b143f7c497816922783be3294320414fc5d99f76"/>
<nvpair id="nvpair.id21859" name="symmetric-cluster" value="false"/>
<nvpair id="nvpair.id21869" name="no-quorum-policy" value="ignore"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="3f368213-61d5-409a-a30e-1428efe70f63" uname="star" type="member"/>
<node id="e4603bf6-d10f-4af2-b53b-ba72de6164d0" uname="world" type="member"/>
</nodes>
<resources>
<primitive id="p1" class="ocf" type="Xen" provider="heartbeat"/>
<group id="gr1">
<primitive id="test1" class="ocf" type="Xen" provider="heartbeat">
<instance_attributes id="instance_attributes.id21929">
<nvpair id="nvpair.id21936" name="xmfile" value="/etc/xen/test1"/>
<nvpair id="nvpair.id21945" name="allow_migrate" value="true"/>
</instance_attributes>
<operations>
<op name="stop" interval="0" id="test1-stop" timeout="120s"/>
<op name="migrate_to" interval="0" id="test1-migrate_to" timeout="120s"/>
<op name="monitor" interval="10s" id="test1-monitor" timeout="30s" start-delay="30s"/>
</operations>
<meta_attributes id="primitive-test1.meta">
<nvpair id="nvpair.meta.auto-41" name="allow-migrate" value="true"/>
</meta_attributes>
</primitive>
<primitive id="test2" class="ocf" type="Xen" provider="heartbeat">
<instance_attributes id="instance_attributes.id22000">
<nvpair id="nvpair.id22006" name="xmfile" value="/etc/xen/test2"/>
<nvpair id="nvpair.id22015" name="allow_migrate" value="true"/>
</instance_attributes>
<operations>
<op name="stop" interval="0" id="test2-stop" timeout="120s"/>
<op name="migrate_to" interval="0" id="test2-migrate_to" timeout="120s"/>
<op name="monitor" interval="10s" id="test2-monitor" timeout="30s" start-delay="30s"/>
</operations>
<meta_attributes id="primitive-test2.meta">
<nvpair id="nvpair.meta.auto-63" name="allow-migrate" value="true"/>
</meta_attributes>
</primitive>
<meta_attributes id="group-gr1.meta"/>
</group>
</resources>
<constraints>
<rsc_colocation id="foo" rsc="gr1" with-rsc="p1" score="INFINITY"/>
<rsc_location id="loc1" rsc="gr1">
<rule id="loc1-rule1" score="INFINITY">
<expression id="expression.id22088" attribute="#uname" operation="eq" value="star"/>
</rule>
<rule id="loc1-rule2" score="1000">
<expression id="expression.id22106" attribute="#uname" operation="eq" value="world"/>
</rule>
</rsc_location>
<rsc_location id="loc2" rsc="p1">
<rule id="loc2-rule1" score="INFINITY">
<expression id="expression.id22131" attribute="#uname" operation="eq" value="star"/>
</rule>
<rule id="loc2-rule2" score="1000">
<expression id="expression.id22149" attribute="#uname" operation="eq" value="world"/>
</rule>
</rsc_location>
</constraints>
</configuration>
<status>
<node_state id="e4603bf6-d10f-4af2-b53b-ba72de6164d0" uname="world" crmd="online" shutdown="0" in_ccm="true" ha="active" join="member" expected="member">
<lrm id="e4603bf6-d10f-4af2-b53b-ba72de6164d0">
<lrm_resources id="lrm_resources.id22195">
<lrm_resource id="test1" type="Xen" class="ocf" provider="heartbeat">
<lrm_rsc_op id="test1_monitor_0" operation="monitor" transition-key="6:0:7:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" transition-magic="0:7;6:0:7:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" call-id="2" crm_feature_set="2.0" rc-code="7" op-status="0" interval="0" op-digest="9c83951f290ac297e9ec99519c42fb86"/>
</lrm_resource>
<lrm_resource id="test2" type="Xen" class="ocf" provider="heartbeat">
<lrm_rsc_op id="test2_monitor_0" operation="monitor" transition-key="7:0:7:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" transition-magic="0:7;7:0:7:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" call-id="3" crm_feature_set="2.0" rc-code="7" op-status="0" interval="0" op-digest="6d93c4a17ba53be83e1d0786795fb6a5"/>
</lrm_resource>
</lrm_resources>
</lrm>
<transient_attributes id="e4603bf6-d10f-4af2-b53b-ba72de6164d0">
<instance_attributes id="instance_attributes.id22281">
<nvpair id="nvpair.id22288" name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
</node_state>
<node_state id="3f368213-61d5-409a-a30e-1428efe70f63" uname="star" crmd="online" shutdown="1200981458" in_ccm="true" ha="active" join="member" expected="down">
<lrm id="lrm.auto-2">
<lrm_resources id="lrm_resources.id22329">
<lrm_resource id="test2" type="Xen" class="ocf" provider="heartbeat">
<lrm_rsc_op id="test2_monitor_0" operation="monitor" transition-key="4:0:7:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" transition-magic="0:7;4:0:7:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" call-id="3" crm_feature_set="2.0" rc-code="7" op-status="0" interval="0" op-digest="6d93c4a17ba53be83e1d0786795fb6a5"/>
<lrm_rsc_op id="test2_start_0" operation="start" transition-key="8:2:0:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" transition-magic="0:0;8:2:0:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" call-id="7" crm_feature_set="2.0" rc-code="0" op-status="0" interval="0" op-digest="6d93c4a17ba53be83e1d0786795fb6a5"/>
<lrm_rsc_op id="test2_monitor_10000" operation="monitor" transition-key="9:2:0:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" transition-magic="0:0;9:2:0:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" call-id="8" crm_feature_set="2.0" rc-code="0" op-status="0" interval="10000" op-digest="a18d6c16e7c509e8b59761cf4a77f6d8"/>
</lrm_resource>
<lrm_resource id="test1" type="Xen" class="ocf" provider="heartbeat">
<lrm_rsc_op id="test1_monitor_0" operation="monitor" transition-key="3:0:7:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" transition-magic="0:7;3:0:7:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" call-id="2" crm_feature_set="2.0" rc-code="7" op-status="0" interval="0" op-digest="9c83951f290ac297e9ec99519c42fb86"/>
<lrm_rsc_op id="test1_start_0" operation="start" transition-key="6:2:0:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" transition-magic="0:0;6:2:0:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" call-id="5" crm_feature_set="2.0" rc-code="0" op-status="0" interval="0" op-digest="9c83951f290ac297e9ec99519c42fb86"/>
<lrm_rsc_op id="test1_monitor_10000" operation="monitor" transition-key="7:2:0:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" transition-magic="0:0;7:2:0:cfd5bebf-7d08-4278-88b1-97d4d479dbc0" call-id="6" crm_feature_set="2.0" rc-code="0" op-status="0" interval="10000" op-digest="14db426a05d630d7e98c9ec87fb6508e"/>
</lrm_resource>
</lrm_resources>
</lrm>
<transient_attributes id="transient_attributes.auto-2">
<instance_attributes id="instance_attributes.shutdown">
<nvpair id="nvp.shutdown" name="shutdown" value="1234"/>
</instance_attributes>
<instance_attributes id="instance_attributes.id22519">
<nvpair id="nvpair.id22526" name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
</node_state>
</status>
</cib>
|