summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/template-1.xml
blob: 9a1f0f31feb74dd9e90eb14ce219694d2571ba4b (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
<cib epoch="1" num_updates="20" admin_epoch="0" validate-with="pacemaker-3.0" cib-last-written="Fri Jul 13 13:51:16 2012" have-quorum="1">
  <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="utilization"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="node1" type="member" uname="node1">
        <utilization id="nodes1-utilization">
          <nvpair id="nodes1-utilization-cpu" name="cpu" value="1"/>
        </utilization>
      </node>
      <node id="node2" type="member" uname="node2">
        <utilization id="nodes2-utilization">
          <nvpair id="nodes2-utilization-cpu" name="cpu" value="1"/>
        </utilization>
      </node>
    </nodes>
    <resources>
      <template class="ocf" id="template1" provider="pacemaker" type="Dummy">
        <meta_attributes id="template1-meta_attributes">
          <nvpair id="template1-meta_attributes-target-role" name="target-role" value="Stopped"/>
        </meta_attributes>
        <utilization id="template1-utilization">
          <nvpair id="template1-utilization-cpu" name="cpu" value="1"/>
        </utilization>
        <operations>
          <op id="template1-monitor-10" interval="10" name="monitor"/>
        </operations>
      </template>
      <primitive id="rsc1" template="template1"/>
      <primitive id="rsc2" template="template1">
        <meta_attributes id="rsc1-meta_attributes">
          <nvpair id="rsc2-meta_attributes-target-role" name="target-role" value="Started"/>
        </meta_attributes>
      </primitive>
    </resources>
    <constraints/>
  </configuration>
  <status>
    <node_state id="node1" uname="node1" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="crm_simulate"/>
    <node_state id="node2" uname="node2" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="crm_simulate"/>
  </status>
</cib>