summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/bug-1685.xml
blob: 665fe4e0342cfaaead3ec571a16dbd037ef0904f (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="13" num_updates="24" dc-uuid="1f7cf7cc-7d90-43fb-a7bd-f13fb5c203c1" have-quorum="true" remote-tls-port="0" validate-with="pacemaker-3.7" cib-last-written="Fri Jul 13 13:51:00 2012">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="nvpair.id21858" name="startup-fencing" value="true"/>
        <nvpair id="nvpair.id21867" name="stonith-enabled" value="false"/>
        <nvpair id="nvpair.id21876" name="symmetric-cluster" value="true"/>
        <nvpair id="nvpair.id21885" name="stop-orphan-actions" value="true"/>
        <nvpair id="nvpair.id21894" name="stonith-action" value="reboot"/>
        <nvpair id="nvpair.id21913" name="stop-orphan-resources" value="true"/>
        <nvpair id="nvpair.id21922" name="no-quorum-policy" value="stop"/>
        <nvpair id="nvpair.id21941" name="probe_complete" value="true"/>
        <nvpair id="nvpair.id21950" name="transition-idle-timeout" value="60s"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="1f7cf7cc-7d90-43fb-a7bd-f13fb5c203c1" uname="redun2" type="member"/>
      <node id="cd34ed93-fa5d-4092-a618-ac6349351d13" uname="redun1" type="member"/>
    </nodes>
    <rsc_defaults>
      <meta_attributes id="rsc_defaults-meta_attributes">
        <nvpair id="rsc_defaults-resource-stickiness" name="resource-stickiness" value="800"/>
      </meta_attributes>
    </rsc_defaults>
    <resources>
      <clone id="shared_storage">
        <meta_attributes id="meta_attributes.id22000">
          <nvpair id="nvpair.id22006" name="promotable" value="true"/>
          <nvpair id="nvpair.id22007" name="promoted-node-max" value="1"/>
          <nvpair id="nvpair.id22016" name="promoted-max" value="1"/>
          <nvpair id="nvpair.id22024" name="notify" value="yes"/>
          <nvpair id="nvpair.id22033" name="clone-max" value="2"/>
          <nvpair id="nvpair.id22042" name="clone-node-max" value="1"/>
          <nvpair id="nvpair.id22050" name="globally-unique" value="false"/>
        </meta_attributes>
        <primitive id="prim_shared_storage" class="ocf" provider="heartbeat" type="drbd">
          <operations>
            <op name="monitor" interval="120s" id="shared_storage_op_monitor" timeout="60s"/>
          </operations>
          <instance_attributes id="instance_attributes.id22087">
            <nvpair id="nvpair.id22094" name="drbd_resource" value="sip-shared"/>
          </instance_attributes>
        </primitive>
        <meta_attributes id="clone-shared_storage.meta"/>
      </clone>
      <primitive id="shared_filesystem" class="ocf" provider="heartbeat" type="Filesystem">
        <operations>
          <op name="monitor" interval="120s" id="shared_filesystem_op_monitor" timeout="60s"/>
        </operations>
        <instance_attributes id="instance_attributes.id22132">
          <nvpair id="nvpair.id22138" name="device" value="/dev/drbd0"/>
          <nvpair id="nvpair.id22147" name="directory" value="/shared"/>
          <nvpair id="nvpair.id22156" name="fstype" value="reiserfs"/>
        </instance_attributes>
      </primitive>
    </resources>
    <constraints>
      <rsc_colocation id="colocation_shared_filesystem_shared_storage-promoted" rsc="shared_filesystem" with-rsc="shared_storage" with-rsc-role="Promoted" score="INFINITY"/>
      <rsc_order id="order_shared_filesystem_after_shared_storage-promote" first="shared_storage" then="shared_filesystem" then-action="start" first-action="promote"/>
    </constraints>
  </configuration>
  <status>
    <node_state id="1f7cf7cc-7d90-43fb-a7bd-f13fb5c203c1" uname="redun2" crmd="online" shutdown="0" in_ccm="true" ha="active" join="member" expected="member">
      <lrm id="lrm.auto-1">
        <lrm_resources id="lrm_resources.id22233">
          <lrm_resource id="prim_shared_storage:0" type="drbd" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="prim_shared_storage-0_monitor_0" operation="monitor" transition-key="3:0:7:65315fa6-aeaf-48f4-88b1-441ca298582a" transition-magic="0:7;3:0:7:65315fa6-aeaf-48f4-88b1-441ca298582a" call-id="2" crm_feature_set="1.0.9" rc-code="7" op-status="0" interval="0" op-digest="f05e197b6b37f94c2a3977cc41e66556"/>
            <lrm_rsc_op id="prim_shared_storage-0_start_0" operation="start" transition-key="4:2:0:65315fa6-aeaf-48f4-88b1-441ca298582a" transition-magic="0:0;4:2:0:65315fa6-aeaf-48f4-88b1-441ca298582a" call-id="5" crm_feature_set="1.0.9" rc-code="0" op-status="0" interval="0" op-digest="f05e197b6b37f94c2a3977cc41e66556"/>
            <lrm_rsc_op id="prim_shared_storage-0_post_notify_start_0" operation="notify" transition-key="39:2:0:65315fa6-aeaf-48f4-88b1-441ca298582a" transition-magic="0:0;39:2:0:65315fa6-aeaf-48f4-88b1-441ca298582a" call-id="6" crm_feature_set="1.0.9" rc-code="0" op-status="0" interval="0" op-digest="f05e197b6b37f94c2a3977cc41e66556"/>
          </lrm_resource>
          <lrm_resource id="shared_filesystem" type="Filesystem" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="shared_filesystem_monitor_0" operation="monitor" transition-key="4:0:7:65315fa6-aeaf-48f4-88b1-441ca298582a" transition-magic="0:7;4:0:7:65315fa6-aeaf-48f4-88b1-441ca298582a" call-id="3" crm_feature_set="1.0.9" rc-code="7" op-status="0" interval="0" op-digest="5858fd8b1fcc9107c71c24186f95f937"/>
          </lrm_resource>
          <lrm_resource id="prim_shared_storage:1" type="drbd" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="prim_shared_storage-1_monitor_0" operation="monitor" transition-key="3:1:7:65315fa6-aeaf-48f4-88b1-441ca298582a" transition-magic="0:7;3:1:7:65315fa6-aeaf-48f4-88b1-441ca298582a" call-id="4" crm_feature_set="1.0.9" rc-code="7" op-status="0" interval="0" op-digest="f05e197b6b37f94c2a3977cc41e66556"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
      <transient_attributes id="transient_attributes.auto-1">
        <instance_attributes id="instance_attributes.id22414">
          <nvpair id="nvpair.id22421" name="probe_complete" value="true"/>
        </instance_attributes>
        <instance_attributes id="instance_attributes.id22432">
          <nvpair id="nvpair.id22439" name="master-prim_shared_storage:0" value="75"/>
        </instance_attributes>
      </transient_attributes>
    </node_state>
    <node_state id="cd34ed93-fa5d-4092-a618-ac6349351d13" uname="redun1" crmd="online" shutdown="0" in_ccm="true" ha="active" join="member" expected="member">
      <lrm id="cd34ed93-fa5d-4092-a618-ac6349351d13">
        <lrm_resources id="lrm_resources.id22480">
          <lrm_resource id="prim_shared_storage:0" type="drbd" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="prim_shared_storage-0_monitor_0" operation="monitor" transition-key="6:0:7:65315fa6-aeaf-48f4-88b1-441ca298582a" transition-magic="0:7;6:0:7:65315fa6-aeaf-48f4-88b1-441ca298582a" call-id="2" crm_feature_set="1.0.9" rc-code="7" op-status="0" interval="0" op-digest="f05e197b6b37f94c2a3977cc41e66556"/>
          </lrm_resource>
          <lrm_resource id="shared_filesystem" type="Filesystem" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="shared_filesystem_monitor_0" operation="monitor" transition-key="7:0:7:65315fa6-aeaf-48f4-88b1-441ca298582a" transition-magic="0:7;7:0:7:65315fa6-aeaf-48f4-88b1-441ca298582a" call-id="3" crm_feature_set="1.0.9" rc-code="7" op-status="0" interval="0" op-digest="5858fd8b1fcc9107c71c24186f95f937"/>
          </lrm_resource>
          <lrm_resource id="prim_shared_storage:1" type="drbd" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="prim_shared_storage-1_monitor_0" operation="monitor" transition-key="5:1:7:65315fa6-aeaf-48f4-88b1-441ca298582a" transition-magic="0:7;5:1:7:65315fa6-aeaf-48f4-88b1-441ca298582a" call-id="4" crm_feature_set="1.0.9" rc-code="7" op-status="0" interval="0" op-digest="f05e197b6b37f94c2a3977cc41e66556"/>
            <lrm_rsc_op id="prim_shared_storage-1_start_0" operation="start" transition-key="6:2:0:65315fa6-aeaf-48f4-88b1-441ca298582a" transition-magic="0:0;6:2:0:65315fa6-aeaf-48f4-88b1-441ca298582a" call-id="5" crm_feature_set="1.0.9" rc-code="0" op-status="0" interval="0" op-digest="f05e197b6b37f94c2a3977cc41e66556"/>
            <lrm_rsc_op id="prim_shared_storage-1_post_notify_start_0" operation="notify" transition-key="42:2:0:65315fa6-aeaf-48f4-88b1-441ca298582a" transition-magic="0:0;42:2:0:65315fa6-aeaf-48f4-88b1-441ca298582a" call-id="6" crm_feature_set="1.0.9" rc-code="0" op-status="0" interval="0" op-digest="f05e197b6b37f94c2a3977cc41e66556"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
      <transient_attributes id="cd34ed93-fa5d-4092-a618-ac6349351d13">
        <instance_attributes id="instance_attributes.id22657">
          <nvpair id="nvpair.id22664" name="probe_complete" value="true"/>
        </instance_attributes>
        <instance_attributes id="instance_attributes.id22676">
          <nvpair id="nvpair.id22683" name="master-prim_shared_storage:1" value="75"/>
        </instance_attributes>
      </transient_attributes>
    </node_state>
  </status>
</cib>