summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/location-sets-templates.xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 06:53:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 06:53:20 +0000
commite5a812082ae033afb1eed82c0f2df3d0f6bdc93f (patch)
treea6716c9275b4b413f6c9194798b34b91affb3cc7 /cts/scheduler/xml/location-sets-templates.xml
parentInitial commit. (diff)
downloadpacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.tar.xz
pacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.zip
Adding upstream version 2.1.6.upstream/2.1.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cts/scheduler/xml/location-sets-templates.xml')
-rw-r--r--cts/scheduler/xml/location-sets-templates.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/cts/scheduler/xml/location-sets-templates.xml b/cts/scheduler/xml/location-sets-templates.xml
new file mode 100644
index 0000000..d57b857
--- /dev/null
+++ b/cts/scheduler/xml/location-sets-templates.xml
@@ -0,0 +1,38 @@
+<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"/>
+ <template class="ocf" id="template2" provider="pacemaker" type="Dummy"/>
+ <primitive id="rsc1" template="template1"/>
+ <primitive id="rsc2" template="template1"/>
+ <primitive id="rsc3" template="template2"/>
+ <primitive id="rsc4" template="template2"/>
+ <primitive id="rsc5" class="ocf" provider="pacemaker" type="Dummy"/>
+ <primitive id="rsc6" class="ocf" provider="pacemaker" type="Dummy"/>
+ </resources>
+ <constraints>
+ <rsc_location id="template1-location" rsc="template1" node="node2" score="1000"/>
+ <rsc_location id="resource-sets-location" node="node2" score="2000">
+ <resource_set id="resource-sets-location-0">
+ <resource_ref id="rsc5"/>
+ <resource_ref id="rsc6"/>
+ <resource_ref id="template2"/>
+ </resource_set>
+ </rsc_location>
+ </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>