blob: ac95f855a19b125d6d5ef3eb8d8247d60869b22b (
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="29" num_updates="807" dc-uuid="00aaa02f-110f-44e6-9a9d-af93827bfdb9" 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.id21887" name="stop-orphan-actions" value="true"/>
<nvpair id="nvpair.id21915" 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.id21942" 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.id22125" 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.id22150" 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" in_ccm="true" ha="active" join="member" shutdown="0" expected="member">
<lrm id="b292356d-d8af-4360-bcd3-423b3ec7f1be">
<lrm_resources id="lrm_resources.id22286">
<lrm_resource id="fs_1" type="Filesystem" class="ocf" provider="heartbeat">
<lrm_rsc_op id="fs_1_monitor_0" operation="monitor" transition-key="3:7:7:45a78e72-a0e0-42e1-90bc-3f322d61a246" transition-magic="0:7;3:7:7:45a78e72-a0e0-42e1-90bc-3f322d61a246" 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:7:7:45a78e72-a0e0-42e1-90bc-3f322d61a246" transition-magic="0:7;4:7:7:45a78e72-a0e0-42e1-90bc-3f322d61a246" call-id="3" crm_feature_set="1.0.8" rc-code="7" op-status="0" interval="0" op-digest="7ed7a3f295075a81edf4174cf92234c6"/>
<lrm_rsc_op id="drbd0-0_start_0" operation="start" transition-key="10:7:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" transition-magic="0:0;10:7:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" call-id="4" crm_feature_set="1.0.8" rc-code="0" 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.id22398">
<nvpair id="nvpair.id22405" name="probe_complete" value="true"/>
</instance_attributes>
<instance_attributes id="instance_attributes.id22416">
<nvpair id="nvpair.id22423" name="master-drbd0:0" value="10"/>
</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">
<transient_attributes id="transient_attributes.auto-2">
<instance_attributes id="instance_attributes.id22461">
<nvpair id="nvpair.id22468" name="probe_complete" value="true"/>
</instance_attributes>
<instance_attributes id="instance_attributes.id22479">
<nvpair name="master-drbd0:1" id="nvpair.id22486" value="10"/>
</instance_attributes>
</transient_attributes>
<lrm id="lrm.auto-2">
<lrm_resources id="lrm_resources.id22502">
<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:ecb37281-44fc-4ff1-a029-eee79ffc08ed" transition-magic="4:7;7:0:7:ecb37281-44fc-4ff1-a029-eee79ffc08ed" call-id="3" crm_feature_set="1.0.8" rc-code="7" op-status="4" 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:ecb37281-44fc-4ff1-a029-eee79ffc08ed" transition-magic="4:7;5:1:7:ecb37281-44fc-4ff1-a029-eee79ffc08ed" call-id="4" crm_feature_set="1.0.8" rc-code="7" op-status="4" interval="0" op-digest="7ed7a3f295075a81edf4174cf92234c6"/>
<lrm_rsc_op id="drbd0-1_start_0" operation="start" transition-key="5:2:0:ecb37281-44fc-4ff1-a029-eee79ffc08ed" transition-magic="0:0;5:2:0:ecb37281-44fc-4ff1-a029-eee79ffc08ed" call-id="5" crm_feature_set="1.0.8" rc-code="0" op-status="0" interval="0" op-digest="7ed7a3f295075a81edf4174cf92234c6"/>
<lrm_rsc_op id="drbd0-1_demote_0" operation="demote" transition-key="11:2:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" transition-magic="0:0;11:2:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" call-id="18" crm_feature_set="1.0.8" rc-code="0" op-status="0" interval="0" op-digest="7ed7a3f295075a81edf4174cf92234c6"/>
<lrm_rsc_op id="drbd0-1_promote_0" operation="promote" transition-key="8:4:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" transition-magic="0:0;8:4:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" call-id="26" crm_feature_set="1.0.8" rc-code="0" op-status="0" interval="0" op-digest="7ed7a3f295075a81edf4174cf92234c6"/>
<lrm_rsc_op id="drbd0-1_post_notify_stop_0" operation="notify" transition-key="39:4:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" transition-magic="0:0;39:4:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" call-id="29" crm_feature_set="1.0.8" rc-code="0" op-status="0" interval="0" op-digest="7ed7a3f295075a81edf4174cf92234c6"/>
<lrm_rsc_op id="drbd0-1_pre_notify_start_0" operation="notify" transition-key="35:7:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" transition-magic="0:0;35:7:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" call-id="30" crm_feature_set="1.0.8" rc-code="0" op-status="0" interval="0" op-digest="7ed7a3f295075a81edf4174cf92234c6"/>
</lrm_resource>
<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:ecb37281-44fc-4ff1-a029-eee79ffc08ed" transition-magic="4:7;6:0:7:ecb37281-44fc-4ff1-a029-eee79ffc08ed" call-id="2" crm_feature_set="1.0.8" rc-code="7" op-status="4" interval="0" op-digest="e38fc095cd72534897b21e24a8484122"/>
<lrm_rsc_op id="fs_1_stop_0" operation="stop" transition-key="4:2:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" transition-magic="0:0;4:2:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" call-id="16" crm_feature_set="1.0.8" rc-code="0" op-status="0" interval="0" op-digest="e38fc095cd72534897b21e24a8484122"/>
<lrm_rsc_op id="fs_1_start_0" operation="start" transition-key="5:4:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" transition-magic="0:0;5:4:0:45a78e72-a0e0-42e1-90bc-3f322d61a246" call-id="28" crm_feature_set="1.0.8" rc-code="0" op-status="0" interval="0" op-digest="e38fc095cd72534897b21e24a8484122"/>
</lrm_resource>
</lrm_resources>
</lrm>
</node_state>
</status>
</cib>
|