summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/rsc_dep10.xml
blob: c618212b31e57f2d784f9c4aa9bbddf36eb96143 (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
<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:14 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.id21835" name="symmetric-cluster" value="false"/>
        <nvpair id="nvpair.id21844" name="no-quorum-policy" value="ignore"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="node1" uname="node1" type="member"/>
      <node id="node2" uname="node2" type="member"/>
    </nodes>
    <resources>
      <primitive id="rsc1" class="ocf" provider="heartbeat" type="apache"/>
      <primitive id="rsc2" class="ocf" provider="heartbeat" type="apache"/>
    </resources>
    <constraints>
      <rsc_colocation id="same_1" rsc="rsc1" with-rsc="rsc2" score="INFINITY"/>
      <rsc_location id="run_rsc1" rsc="rsc1">
        <rule id="can2" score="1">
          <expression id="expression.id21921" attribute="#uname" operation="eq" value="node2"/>
        </rule>
      </rsc_location>
      <rsc_location id="run_rsc2" rsc="rsc2">
        <rule id="can3" score="1">
          <expression id="expression.id21946" attribute="#uname" operation="eq" value="node1"/>
        </rule>
      </rsc_location>
    </constraints>
  </configuration>
  <status>
    <node_state id="node1" ha="active" uname="node1" crmd="online" join="member" expected="member" in_ccm="true"/>
    <node_state id="node2" ha="active" uname="node2" crmd="online" join="member" expected="member" in_ccm="true"/>
  </status>
</cib>