summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/template-ticket.xml
diff options
context:
space:
mode:
Diffstat (limited to 'cts/scheduler/xml/template-ticket.xml')
-rw-r--r--cts/scheduler/xml/template-ticket.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/cts/scheduler/xml/template-ticket.xml b/cts/scheduler/xml/template-ticket.xml
new file mode 100644
index 0000000..4351359
--- /dev/null
+++ b/cts/scheduler/xml/template-ticket.xml
@@ -0,0 +1,27 @@
+<cib epoch="1" num_updates="20" admin_epoch="0" validate-with="pacemaker-3.0" cib-last-written="Fri Jul 13 13:51:17 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"/>
+ </cluster_property_set>
+ </crm_config>
+ <nodes>
+ <node id="node1" type="member" uname="node1"/>
+ <node id="node2" type="member" uname="node2"/>
+ </nodes>
+ <resources>
+ <template class="ocf" id="template1" provider="pacemaker" type="Dummy"/>
+ <primitive id="rsc1" template="template1"/>
+ <primitive id="rsc2" template="template1"/>
+ <primitive id="rsc3" template="template1"/>
+ </resources>
+ <constraints>
+ <rsc_ticket id="template1-req-ticketA" rsc="template1" ticket="ticketA" rsc-role="Started" loss-policy="stop"/>
+ </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>