diff options
Diffstat (limited to 'cts/scheduler/xml/utilization-order2.xml')
-rw-r--r-- | cts/scheduler/xml/utilization-order2.xml | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/cts/scheduler/xml/utilization-order2.xml b/cts/scheduler/xml/utilization-order2.xml new file mode 100644 index 0000000..ee73fb7 --- /dev/null +++ b/cts/scheduler/xml/utilization-order2.xml @@ -0,0 +1,101 @@ +<cib admin_epoch="0" cib-last-written="Fri Jul 13 13:51:22 2012" crm_feature_set="3.0.1" dc-uuid="node1" epoch="3" have-quorum="0" num_updates="1" validate-with="pacemaker-3.0"> + <configuration> + <crm_config> + <cluster_property_set id="cib-bootstrap-options"> + <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/> + <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/> + <nvpair id="cib-bootstrap-options-stonith-placement-strategy" name="placement-strategy" value="utilization"/> + </cluster_property_set> + </crm_config> + <rsc_defaults/> + <op_defaults/> + <nodes> + <node id="node1" type="member" uname="node1"> + <utilization id="node1-utilization"> + <nvpair id="node1-utilization-memory" name="memory" value="1024"/> + </utilization> + </node> + <node id="node2" type="member" uname="node2"> + <utilization id="node2-utilization"> + <nvpair id="node2-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-memory" name="memory" value="512"/> + </utilization> + </primitive> + <clone id="clone-rsc2"> + <primitive class="ocf" id="rsc2" provider="pacemaker" type="Dummy"> + <utilization id="rsc2-utilization"> + <nvpair id="rsc2-utilization-memory" name="memory" value="512"/> + </utilization> + </primitive> + <meta_attributes id="clone-rsc2-meta_attributes"> + <nvpair id="clone-rsc2-meta_attributes-priority" name="priority" value="1"/> + </meta_attributes> + </clone> + <primitive class="ocf" id="rsc3" provider="pacemaker" type="Dummy"> + <meta_attributes id="rsc3-meta_attributes"> + <nvpair id="rsc3-meta_attributes-priority" name="priority" value="2"/> + </meta_attributes> + <utilization id="rsc3-utilization"> + <nvpair id="rsc3-utilization-memory" name="memory" value="512"/> + </utilization> + </primitive> + <primitive class="ocf" id="rsc4" provider="pacemaker" type="Dummy"> + <meta_attributes id="rsc4-meta_attributes"> + <nvpair id="rsc4-meta_attributes-priority" name="priority" value="3"/> + </meta_attributes> + <utilization id="rsc4-utilization"> + <nvpair id="rsc4-utilization-memory" name="memory" value="1024"/> + </utilization> + </primitive> + </resources> + <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"> + <lrm id="node1"> + <lrm_resources> + <lrm_resource id="rsc4" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc4_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.1" transition-key="1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:7;1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="1" rc-code="7" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc3" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc3_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.1" transition-key="1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:7;1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="1" rc-code="7" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + <lrm_rsc_op id="rsc3_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.1" transition-key="2:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;2:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="2" rc-code="0" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc2:1" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc2:1_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.1" transition-key="1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:7;1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="1" rc-code="7" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + <lrm_rsc_op id="rsc2:1_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.1" transition-key="2:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;2:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="2" rc-code="0" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc1" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc1_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.1" transition-key="1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:7;1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="1" rc-code="7" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + </lrm_resources> + </lrm> + </node_state> + <node_state id="node2" uname="node2" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="crm_simulate"> + <lrm id="node2"> + <lrm_resources> + <lrm_resource id="rsc4" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc4_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.1" transition-key="1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:7;1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="1" rc-code="7" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc3" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc3_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.1" transition-key="1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:7;1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="1" rc-code="7" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc2:0" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc2:0_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.1" transition-key="1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:7;1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="1" rc-code="7" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + <lrm_rsc_op id="rsc2:0_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.1" transition-key="2:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;2:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="2" rc-code="0" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc1" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc1_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.1" transition-key="1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:7;1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="1" rc-code="7" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + <lrm_rsc_op id="rsc1_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.1" transition-key="2:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;2:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="2" rc-code="0" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + </lrm_resources> + </lrm> + </node_state> + </status> +</cib> |