summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/order3.xml
blob: 4126f467944df894b0e8223529b553eb3dae9d5f (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
<cib admin_epoch="0" epoch="1" num_updates="1" dc-uuid="0" have-quorum="false" remote-tls-port="0" validate-with="pacemaker-3.0" cib-last-written="Fri Jul 13 13:51:11 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.id21841" name="no-quorum-policy" value="ignore"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="uuid1" uname="node1" type="member"/>
      <node id="uuid2" uname="node2" type="member"/>
    </nodes>
    <resources>
      <primitive id="rsc1" class="ocf" provider="heartbeat" type="apache"/>
      <primitive id="rsc2" class="ocf" provider="heartbeat" type="apache"/>
      <primitive id="rsc3" class="ocf" provider="heartbeat" type="apache"/>
      <primitive id="rsc4" class="ocf" provider="heartbeat" type="apache"/>
    </resources>
    <constraints>
      <rsc_order id="order1" first="rsc1" then="rsc2" then-action="start" first-action="start" kind="Optional"/>
      <rsc_order id="order2" first="rsc2" then="rsc3" kind="Optional"/>
      <rsc_order id="order3" first="rsc4" then="rsc2" then-action="start" first-action="start" kind="Optional"/>
      <rsc_location id="run_rsc1" rsc="rsc1">
        <rule id="can1-1" score="1">
          <expression id="expression.id21962" attribute="#uname" operation="eq" value="node2"/>
        </rule>
      </rsc_location>
      <rsc_location id="run_rsc2" rsc="rsc2">
        <rule id="can2-1" score="1">
          <expression id="expression.id21987" attribute="#uname" operation="eq" value="node2"/>
        </rule>
      </rsc_location>
      <rsc_location id="run_rsc3" rsc="rsc3">
        <rule id="can3-1" score="1">
          <expression id="expression.id22012" attribute="#uname" operation="eq" value="node2"/>
        </rule>
      </rsc_location>
      <rsc_location id="run_rsc4" rsc="rsc4">
        <rule id="can4-1" score="1">
          <expression id="expression.id22037" attribute="#uname" operation="eq" value="node2"/>
        </rule>
      </rsc_location>
    </constraints>
  </configuration>
  <status>
    <node_state id="uuid1" ha="active" uname="node1" crmd="online" join="member" expected="member" in_ccm="true">
      <lrm id="any">
        <lrm_resources id="lrm_resources.id22076">
          <lrm_resource id="rsc1" class="ocf" provider="heartbeat" type="apache">
            <lrm_rsc_op id="rsc1_start_0" operation="start" interval="0" op-status="0" rc-code="0" call-id="1" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" crm_feature_set="1.0.6" transition-key="0:0:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;0:0:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"/>
          </lrm_resource>
          <lrm_resource id="rsc2" class="ocf" provider="heartbeat" type="apache">
            <lrm_rsc_op id="rsc2_start_0" operation="start" interval="0" op-status="0" rc-code="0" call-id="2" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" crm_feature_set="1.0.6" transition-key="0:0:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;0:0:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"/>
          </lrm_resource>
          <lrm_resource id="rsc3" class="ocf" provider="heartbeat" type="apache">
            <lrm_rsc_op id="rsc3_start_0" operation="start" interval="0" op-status="0" rc-code="0" call-id="3" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" crm_feature_set="1.0.6" transition-key="0:0:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;0:0:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"/>
          </lrm_resource>
          <lrm_resource id="rsc4" class="ocf" provider="heartbeat" type="apache">
            <lrm_rsc_op id="rsc4_start_0" operation="start" interval="0" op-status="0" rc-code="0" call-id="4" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" crm_feature_set="1.0.6" transition-key="0:0:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;0:0:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
    <node_state id="uuid2" ha="active" uname="node2" crmd="online" join="member" expected="member" in_ccm="true"/>
  </status>
</cib>