summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/colocated-utilization-group.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/colocated-utilization-group.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/colocated-utilization-group.xml')
-rw-r--r--cts/scheduler/xml/colocated-utilization-group.xml62
1 files changed, 62 insertions, 0 deletions
diff --git a/cts/scheduler/xml/colocated-utilization-group.xml b/cts/scheduler/xml/colocated-utilization-group.xml
new file mode 100644
index 0000000..22fbbaa
--- /dev/null
+++ b/cts/scheduler/xml/colocated-utilization-group.xml
@@ -0,0 +1,62 @@
+<cib epoch="1" num_updates="36" admin_epoch="0" validate-with="pacemaker-3.0" cib-last-written="Fri Dec 7 15:42:31 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" uname="node1">
+ <utilization id="node1-utlization">
+ <nvpair id="node1-utlization-cpu" name="cpu" value="8"/>
+ </utilization>
+ </node>
+ <node id="node2" uname="node2">
+ <utilization id="node2-utlization">
+ <nvpair id="node2-utlization-cpu" name="cpu" value="10"/>
+ </utilization>
+ </node>
+ </nodes>
+ <resources>
+ <primitive id="rsc1" class="ocf" provider="pacemaker" type="Dummy">
+ <utilization id="rsc1-utlization">
+ <nvpair id="rsc1-utlization-cpu" name="cpu" value="2"/>
+ </utilization>
+ </primitive>
+ <group id="group1">
+ <primitive id="rsc2" class="ocf" provider="pacemaker" type="Dummy">
+ <utilization id="rsc2-utlization">
+ <nvpair id="rsc2-utlization-cpu" name="cpu" value="2"/>
+ </utilization>
+ </primitive>
+ <primitive id="rsc3" class="ocf" provider="pacemaker" type="Dummy">
+ <utilization id="rsc3-utlization">
+ <nvpair id="rsc3-utlization-cpu" name="cpu" value="2"/>
+ </utilization>
+ </primitive>
+ </group>
+ <group id="group2">
+ <primitive id="rsc4" class="ocf" provider="pacemaker" type="Dummy">
+ <utilization id="rsc4-utlization">
+ <nvpair id="rsc4-utlization-cpu" name="cpu" value="2"/>
+ </utilization>
+ </primitive>
+ <primitive id="rsc5" class="ocf" provider="pacemaker" type="Dummy">
+ <utilization id="rsc5-utlization">
+ <nvpair id="rsc5-utlization-cpu" name="cpu" value="2"/>
+ </utilization>
+ </primitive>
+ </group>
+ </resources>
+ <constraints>
+ <rsc_colocation id="group1-with-rsc1" rsc="group1" with-rsc="rsc1" score="INFINITY"/>
+ <rsc_colocation id="group2-with-group1" rsc="group2" with-rsc="group1" score="INFINITY"/>
+ </constraints>
+ </configuration>
+ <status>
+ <node_state id="node1" uname="node1" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="crm_simulate"/>
+ <node_state id="node2" uname="node2" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="crm_simulate"/>
+ </status>
+</cib>