summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/utilization.xml
diff options
context:
space:
mode:
Diffstat (limited to 'cts/scheduler/xml/utilization.xml')
-rw-r--r--cts/scheduler/xml/utilization.xml52
1 files changed, 52 insertions, 0 deletions
diff --git a/cts/scheduler/xml/utilization.xml b/cts/scheduler/xml/utilization.xml
new file mode 100644
index 0000000..3270b97
--- /dev/null
+++ b/cts/scheduler/xml/utilization.xml
@@ -0,0 +1,52 @@
+<cib crm_feature_set="3.0.1" validate-with="pacemaker-3.0" have-quorum="1" admin_epoch="0" epoch="2592" num_updates="1" cib-last-written="Fri Jul 13 13:51:22 2012" dc-uuid="host1">
+ <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="host1" type="member" uname="host1">
+ <utilization id="host1-utilization">
+ <nvpair id="host1-utilization-cpu" name="cpu" value="1"/>
+ <nvpair id="host1-utilization-memory" name="memory" value="512"/>
+ </utilization>
+ </node>
+ <node id="host2" type="member" uname="host2">
+ <utilization id="host2-utilization">
+ <nvpair id="host2-utilization-memory" name="memory" value="1024"/>
+ </utilization>
+ </node>
+ </nodes>
+ <resources>
+ <primitive class="ocf" id="rsc1" provider="pacemaker" type="Dummy">
+ <utilization id="rsc1-utilization">
+ <nvpair id="rsc1-utilization-cpu" name="cpu" value="2"/>
+ <nvpair id="rsc1-utilization-memory" name="memory" value="512"/>
+ </utilization>
+ </primitive>
+ <primitive class="ocf" id="rsc2" provider="pacemaker" type="Dummy">
+ <meta_attributes id="rsc2-meta_attributes">
+ <nvpair id="rsc2-meta_attributes-priority" name="priority" value="1"/>
+ </meta_attributes>
+ <utilization id="rsc2-utilization">
+ <nvpair id="rsc2-utilization-cpu" name="cpu" value="1"/>
+ <nvpair id="rsc2-utilization-memory" name="memory" value="1024"/>
+ </utilization>
+ </primitive>
+ </resources>
+ <constraints/>
+ </configuration>
+ <status>
+ <node_state id="host1" uname="host1" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0"/>
+ <node_state id="host2" uname="host2" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0">
+ <transient_attributes id="host2-1">
+ <utilization id="status-host2-1">
+ <nvpair id="host2-utilization-cpu" name="cpu" value="2"/>
+ </utilization>
+ </transient_attributes>
+ </node_state>
+ </status>
+</cib>