summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/minimal.xml
blob: e32fc28ff969638433035cfb20520bcf34cfbb52 (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
<cib crm_feature_set="3.0.1" validate-with="pacemaker-3.0" have-quorum="1" admin_epoch="0" epoch="2592" num_updates="1" cib-last-written="Fri Jul 13 13:51:09 2012" dc-uuid="host1">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/>
        <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/>
        <nvpair id="cib-bootstrap-options-placement-strategy" name="placement-strategy" value="minimal"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="host1" type="member" uname="host1">
        <utilization id="host1-utilization">
          <nvpair id="host1-utilization-cpu" name="cpu" value="2"/>
          <nvpair id="host1-utilization-memory" name="memory" value="1024"/>
        </utilization>
      </node>
      <node id="host2" type="member" uname="host2">
        <utilization id="host2-utilization">
          <nvpair id="host2-utilization-cpu" name="cpu" value="2"/>
          <nvpair id="host2-utilization-memory" name="memory" value="1024"/>
        </utilization>
      </node>
    </nodes>
    <resources>
      <primitive class="ocf" id="rsc1" provider="pacemaker" type="Dummy">
        <utilization id="rsc1-utilization">
          <nvpair id="rsc1-utilization-cpu" name="cpu" value="1"/>
          <nvpair id="rsc1-utilization-memory" name="memory" value="512"/>
        </utilization>
      </primitive>
      <primitive class="ocf" id="rsc2" provider="pacemaker" type="Dummy">
        <utilization id="rsc2-utilization">
          <nvpair id="rsc2-utilization-cpu" name="cpu" value="1"/>
          <nvpair id="rsc2-utilization-memory" name="memory" value="512"/>
        </utilization>
      </primitive>
    </resources>
    <constraints/>
  </configuration>
  <status>
    <node_state id="host1" uname="host1" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0"/>
    <node_state id="host2" uname="host2" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0"/>
  </status>
</cib>