diff options
Diffstat (limited to 'cts/scheduler/xml/anti-colocation-order.xml')
-rw-r--r-- | cts/scheduler/xml/anti-colocation-order.xml | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/cts/scheduler/xml/anti-colocation-order.xml b/cts/scheduler/xml/anti-colocation-order.xml new file mode 100644 index 0000000..22df283 --- /dev/null +++ b/cts/scheduler/xml/anti-colocation-order.xml @@ -0,0 +1,79 @@ +<cib epoch="1" num_updates="32" admin_epoch="0" validate-with="pacemaker-3.0" cib-last-written="Fri Jul 13 13:51:16 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"> + <instance_attributes id="nodes-node1"> + <nvpair id="nodes-node1-standby" name="standby" value="on"/> + </instance_attributes> + </node> + <node id="node2" type="member" uname="node2"> + <instance_attributes id="nodes-node2"> + <nvpair id="nodes-node2-standby" name="standby" value="off"/> + </instance_attributes> + </node> + </nodes> + <resources> + <group id="group1"> + <meta_attributes id="meta_1"> + <nvpair id="meta_1_priority" name="priority" value="100"/> + </meta_attributes> + <primitive id="rsc1" class="ocf" provider="pacemaker" type="Dummy"/> + <primitive id="rsc2" class="ocf" provider="pacemaker" type="Dummy"/> + </group> + <group id="group2"> + <meta_attributes id="meta_2"> + <nvpair id="meta_2_priority" name="priority" value="10"/> + </meta_attributes> + <primitive id="rsc3" class="ocf" provider="pacemaker" type="Dummy"/> + <primitive id="rsc4" class="ocf" provider="pacemaker" type="Dummy"/> + </group> + </resources> + <constraints> + <rsc_colocation id="colo-1" rsc="group2" with-rsc="group1" score="-INFINITY"/> + </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="rsc1" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc1_last_0" operation_key="rsc1_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.8" 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" last-run="1387546150" last-rc-change="1387546150" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc2" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc2_last_0" operation_key="rsc2_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.8" 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" last-run="1387546150" last-rc-change="1387546150" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc3" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc3_last_0" operation_key="rsc3_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.8" 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" last-run="1387546150" last-rc-change="1387546150" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc4" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc4_last_0" operation_key="rsc4_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.8" 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" last-run="1387546150" last-rc-change="1387546150" exec-time="0" queue-time="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="rsc1" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc1_last_0" operation_key="rsc1_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.8" 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" last-run="1387546150" last-rc-change="1387546150" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc2" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc2_last_0" operation_key="rsc2_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.8" 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" last-run="1387546150" last-rc-change="1387546150" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc3" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc3_last_0" operation_key="rsc3_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.8" 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" last-run="1387546150" last-rc-change="1387546150" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc4" class="ocf" provider="pacemaker" type="Dummy"> + <lrm_rsc_op id="rsc4_last_0" operation_key="rsc4_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.8" 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" last-run="1387546150" last-rc-change="1387546150" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + </lrm_resources> + </lrm> + </node_state> + </status> +</cib> |