blob: 84ebb2e6ccbbda51d024b5445b06ee8008ef2ec8 (
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="33" num_updates="1020" dc-uuid="b292356d-d8af-4360-bcd3-423b3ec7f1be" have-quorum="true" remote-tls-port="0" validate-with="pacemaker-3.7" cib-last-written="Fri Jul 13 13:51:10 2012">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="nvpair.id21859" name="cluster-delay" value="60s"/>
<nvpair id="nvpair.id21868" name="symmetric-cluster" value="true"/>
<nvpair id="nvpair.id21877" name="stop-orphan-resources" value="true"/>
<nvpair id="nvpair.id21886" name="stop-orphan-actions" value="true"/>
<nvpair id="nvpair.id21914" name="no-quorum-policy" value="ignore"/>
<nvpair id="nvpair.id21924" name="stonith-action" value="reboot"/>
<nvpair id="nvpair.id21933" name="stonith-enabled" value="0"/>
<nvpair id="nvpair.id21941" name="pe-error-series-max" value="100"/>
<nvpair id="nvpair.id21951" name="pe-warn-series-max" value="100"/>
<nvpair id="nvpair.id21960" name="pe-input-series-max" value="100"/>
<nvpair id="nvpair.id21988" name="shutdown-escalation" value="5min"/>
<nvpair id="nvpair.id21997" name="startup-fencing" value="false"/>
<nvpair id="nvpair.id22006" name="last-lrm-refresh" value="1169747681"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="b292356d-d8af-4360-bcd3-423b3ec7f1be" uname="xen-2" type="member"/>
<node id="00aaa02f-110f-44e6-9a9d-af93827bfdb9" uname="xen-1" 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>
<op_defaults>
<meta_attributes id="op_defaults-meta_attributes">
<nvpair id="op_defaults-timeout" name="timeout" value="120s"/>
</meta_attributes>
</op_defaults>
<resources>
<primitive id="fs_1" class="ocf" provider="heartbeat" type="Filesystem">
<instance_attributes id="instance_attributes.id22053">
<nvpair id="nvpair.id22060" name="fstype" value="reiserfs"/>
<nvpair value="/mnt/share1" id="nvpair.id22068" name="directory"/>
<nvpair id="nvpair.id22077" name="device" value="/dev/drbd0"/>
<nvpair name="target_role" id="nvpair.id22085" value="#default"/>
</instance_attributes>
<meta_attributes id="primitive-fs_1.meta">
<nvpair id="nvpair.meta.auto-71" name="target-role" value="#default"/>
</meta_attributes>
</primitive>
<clone id="ms-drbd0">
<meta_attributes id="meta_attributes.id22101">
<nvpair id="nvpair.id22107" name="promotable" value="true"/>
<nvpair id="nvpair.id22108" name="clone-max" value="2"/>
<nvpair id="nvpair.id22116" name="clone-node-max" value="1"/>
<nvpair id="nvpair.id22124" name="promoted-max" value="1"/>
<nvpair id="nvpair.id22133" name="promoted-node-max" value="1"/>
<nvpair id="nvpair.id22141" name="notify" value="yes"/>
<nvpair id="nvpair.id22149" name="globally-unique" value="false"/>
<nvpair id="nvpair.id22158" name="target-role" value="#default"/>
</meta_attributes>
<primitive id="drbd0" class="ocf" provider="heartbeat" type="drbd">
<instance_attributes id="instance_attributes.id22179">
<nvpair id="nvpair.id22186" name="drbd_resource" value="r0"/>
<nvpair id="nvpair.id22194" name="clone_overrides_hostname" value="no"/>
</instance_attributes>
</primitive>
<meta_attributes id="clone-ms-drbd0.meta"/>
</clone>
</resources>
<constraints>
<rsc_order id="drbd_before_fs" first="ms-drbd0" then="fs_1" then-action="start" first-action="promote" kind="Optional"/>
<rsc_colocation id="fs_on_drbd0" rsc="fs_1" with-rsc="ms-drbd0" with-rsc-role="Promoted" score="INFINITY"/>
<rsc_order id="promote_after_demote" first="ms-drbd0" then="ms-drbd0" then-action="promote" first-action="demote" kind="Optional"/>
</constraints>
</configuration>
<status>
<node_state id="b292356d-d8af-4360-bcd3-423b3ec7f1be" uname="xen-2" crmd="online" shutdown="0" in_ccm="true" ha="active" join="member" expected="member">
<lrm id="b292356d-d8af-4360-bcd3-423b3ec7f1be">
<lrm_resources id="lrm_resources.id22285">
<lrm_resource id="fs_1" type="Filesystem" class="ocf" provider="heartbeat">
<lrm_rsc_op id="fs_1_monitor_0" operation="monitor" transition-key="3:0:7:a986d1e8-d3f7-40e9-a470-687924b34540" transition-magic="0:7;3:0:7:a986d1e8-d3f7-40e9-a470-687924b34540" call-id="2" crm_feature_set="1.0.8" rc-code="7" op-status="0" interval="0" op-digest="e38fc095cd72534897b21e24a8484122"/>
</lrm_resource>
<lrm_resource id="drbd0:0" type="drbd" class="ocf" provider="heartbeat">
<lrm_rsc_op id="drbd0-0_monitor_0" operation="monitor" transition-key="4:0:7:a986d1e8-d3f7-40e9-a470-687924b34540" transition-magic="0:7;4:0:7:a986d1e8-d3f7-40e9-a470-687924b34540" call-id="3" crm_feature_set="1.0.8" rc-code="7" op-status="0" interval="0" op-digest="7ed7a3f295075a81edf4174cf92234c6"/>
</lrm_resource>
<lrm_resource id="drbd0:1" type="drbd" class="ocf" provider="heartbeat">
<lrm_rsc_op id="drbd0-1_monitor_0" operation="monitor" transition-key="3:1:7:a986d1e8-d3f7-40e9-a470-687924b34540" transition-magic="0:7;3:1:7:a986d1e8-d3f7-40e9-a470-687924b34540" call-id="4" crm_feature_set="1.0.8" rc-code="7" op-status="0" interval="0" op-digest="7ed7a3f295075a81edf4174cf92234c6"/>
</lrm_resource>
</lrm_resources>
</lrm>
<transient_attributes id="b292356d-d8af-4360-bcd3-423b3ec7f1be">
<instance_attributes id="instance_attributes.id22411">
<nvpair id="nvpair.id22418" name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
</node_state>
<node_state id="00aaa02f-110f-44e6-9a9d-af93827bfdb9" uname="xen-1" crmd="online" in_ccm="true" ha="active" join="member" expected="member" shutdown="0">
<lrm id="lrm.auto-2">
<lrm_resources id="lrm_resources.id22455">
<lrm_resource id="fs_1" type="Filesystem" class="ocf" provider="heartbeat">
<lrm_rsc_op id="fs_1_monitor_0" operation="monitor" transition-key="6:0:7:a986d1e8-d3f7-40e9-a470-687924b34540" transition-magic="0:7;6:0:7:a986d1e8-d3f7-40e9-a470-687924b34540" call-id="2" crm_feature_set="1.0.8" rc-code="7" op-status="0" interval="0" op-digest="e38fc095cd72534897b21e24a8484122"/>
</lrm_resource>
<lrm_resource id="drbd0:0" type="drbd" class="ocf" provider="heartbeat">
<lrm_rsc_op id="drbd0-0_monitor_0" operation="monitor" transition-key="7:0:7:a986d1e8-d3f7-40e9-a470-687924b34540" transition-magic="0:7;7:0:7:a986d1e8-d3f7-40e9-a470-687924b34540" call-id="3" crm_feature_set="1.0.8" rc-code="7" op-status="0" interval="0" op-digest="7ed7a3f295075a81edf4174cf92234c6"/>
</lrm_resource>
<lrm_resource id="drbd0:1" type="drbd" class="ocf" provider="heartbeat">
<lrm_rsc_op id="drbd0-1_monitor_0" operation="monitor" transition-key="5:1:7:a986d1e8-d3f7-40e9-a470-687924b34540" transition-magic="0:7;5:1:7:a986d1e8-d3f7-40e9-a470-687924b34540" call-id="4" crm_feature_set="1.0.8" rc-code="7" op-status="0" interval="0" op-digest="7ed7a3f295075a81edf4174cf92234c6"/>
</lrm_resource>
</lrm_resources>
</lrm>
<transient_attributes id="transient_attributes.auto-2">
<instance_attributes id="instance_attributes.id22577">
<nvpair id="nvpair.id22584" name="probe_complete" value="true"/>
</instance_attributes>
</transient_attributes>
</node_state>
</status>
</cib>
|