summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/template-3.xml
diff options
context:
space:
mode:
Diffstat (limited to 'cts/scheduler/xml/template-3.xml')
-rw-r--r--cts/scheduler/xml/template-3.xml52
1 files changed, 52 insertions, 0 deletions
diff --git a/cts/scheduler/xml/template-3.xml b/cts/scheduler/xml/template-3.xml
new file mode 100644
index 0000000..84f9946
--- /dev/null
+++ b/cts/scheduler/xml/template-3.xml
@@ -0,0 +1,52 @@
+<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="Started"/>
+ </meta_attributes>
+ <utilization id="template1-utilization">
+ <nvpair id="template1-utilization-cpu" name="cpu" value="1"/>
+ </utilization>
+ <operations>
+ <op id="template1-monitor-5" interval="5" name="monitor"/>
+ </operations>
+ </template>
+ <primitive id="rsc1" template="template1">
+ <operations>
+ <op id="rsc1-monitor-10" interval="10" name="monitor" role="Started"/>
+ <op id="rsc1-monitor-20" interval="20" name="monitor"/>
+ </operations>
+ </primitive>
+ <primitive id="rsc2" template="template1">
+ <operations>
+ <op id="rsc2-monitor-30" interval="30" name="monitor" role="Stopped"/>
+ </operations>
+ </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>