diff options
Diffstat (limited to 'cts/scheduler/xml/balanced.xml')
-rw-r--r-- | cts/scheduler/xml/balanced.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/cts/scheduler/xml/balanced.xml b/cts/scheduler/xml/balanced.xml new file mode 100644 index 0000000..2aca5d8 --- /dev/null +++ b/cts/scheduler/xml/balanced.xml @@ -0,0 +1,44 @@ +<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:00 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="balanced"/> + </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-cpu" name="cpu" value="2"/> + <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="1"/> + <nvpair id="rsc1-utilization-memory" name="memory" value="512"/> + </utilization> + </primitive> + <primitive class="ocf" id="rsc2" provider="pacemaker" type="Dummy"> + <utilization id="rsc2-utilization"> + <nvpair id="rsc2-utilization-cpu" name="cpu" value="1"/> + <nvpair id="rsc2-utilization-memory" name="memory" value="512"/> + </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"/> + </status> +</cib> |