summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/anti-colocation-promoted.xml
diff options
context:
space:
mode:
Diffstat (limited to 'cts/scheduler/xml/anti-colocation-promoted.xml')
-rw-r--r--cts/scheduler/xml/anti-colocation-promoted.xml75
1 files changed, 75 insertions, 0 deletions
diff --git a/cts/scheduler/xml/anti-colocation-promoted.xml b/cts/scheduler/xml/anti-colocation-promoted.xml
new file mode 100644
index 0000000..927b5cb
--- /dev/null
+++ b/cts/scheduler/xml/anti-colocation-promoted.xml
@@ -0,0 +1,75 @@
+<cib crm_feature_set="3.0.8" validate-with="pacemaker-3.7" epoch="232" num_updates="0" admin_epoch="0" cib-last-written="Fri Apr 29 11:06:59 2016" update-origin="sle12sp2-1" update-client="crm_resource" update-user="root" have-quorum="1" dc-uuid="1084783156" execution-date="1461920819">
+ <configuration>
+ <crm_config>
+ <cluster_property_set id="cib-bootstrap-options">
+ <nvpair name="dc-version" value="1.1.14-18.4-5a6cdd1" id="cib-bootstrap-options-dc-version"/>
+ <nvpair name="cluster-infrastructure" value="corosync" id="cib-bootstrap-options-cluster-infrastructure"/>
+ <nvpair name="last-lrm-refresh" value="1460540775" id="cib-bootstrap-options-last-lrm-refresh"/>
+ </cluster_property_set>
+ </crm_config>
+ <nodes>
+ <node id="1084783155" uname="sle12sp2-1"/>
+ <node id="1084783156" uname="sle12sp2-2"/>
+ </nodes>
+ <resources>
+ <primitive id="st_sbd" class="stonith" type="external/sbd"/>
+ <primitive id="dummy1" class="ocf" provider="pacemaker" type="Dummy"/>
+ <clone id="ms1">
+ <meta_attributes id="ms1-meta_attributes">
+ <nvpair name="promotable" value="true" id="ms1-meta_attributes-promotable"/>
+ <nvpair name="interleave" value="true" id="ms1-meta_attributes-interleave"/>
+ </meta_attributes>
+ <primitive id="state1" class="ocf" provider="pacemaker" type="Stateful"/>
+ </clone>
+ </resources>
+ <constraints>
+ <rsc_colocation id="dummy1-nerver-with-ms1-promoted" score="-INFINITY" rsc="dummy1" rsc-role="Started" with-rsc="ms1" with-rsc-role="Promoted"/>
+ <rsc_location id="cli-ban-ms1-on-sle12sp2-1" rsc="ms1" role="Promoted" node="sle12sp2-1" score="-INFINITY"/>
+ </constraints>
+ <rsc_defaults/>
+ </configuration>
+ <status>
+ <node_state id="1084783156" uname="sle12sp2-2" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member">
+ <transient_attributes id="1084783156">
+ <instance_attributes id="status-1084783156">
+ <nvpair id="status-1084783156-shutdown" name="shutdown" value="0"/>
+ <nvpair id="status-1084783156-promoted-state1" name="master-state1" value="5"/>
+ </instance_attributes>
+ </transient_attributes>
+ <lrm id="1084783156">
+ <lrm_resources>
+ <lrm_resource id="st_sbd" type="external/sbd" class="stonith">
+ <lrm_rsc_op id="st_sbd_last_0" operation_key="st_sbd_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.10" transition-key="3:7:0:227c6da2-2be2-434b-933b-d715c60f45cd" transition-magic="0:0;3:7:0:227c6da2-2be2-434b-933b-d715c60f45cd" on_node="sle12sp2-2" call-id="18" rc-code="0" op-status="0" interval="0" last-run="1461774608" last-rc-change="1461774608" exec-time="1394" queue-time="1" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ <lrm_resource id="dummy1" type="Dummy" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="dummy1_last_0" operation_key="dummy1_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="24:184:0:227c6da2-2be2-434b-933b-d715c60f45cd" transition-magic="0:0;24:184:0:227c6da2-2be2-434b-933b-d715c60f45cd" on_node="sle12sp2-2" call-id="38" rc-code="0" op-status="0" interval="0" last-run="1461920068" last-rc-change="1461920068" exec-time="47" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state passwd op_sleep " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-secure-params=" passwd " op-secure-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ <lrm_resource id="state1" type="Stateful" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="state1_last_0" operation_key="state1_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="32:186:0:227c6da2-2be2-434b-933b-d715c60f45cd" transition-magic="0:0;32:186:0:227c6da2-2be2-434b-933b-d715c60f45cd" on_node="sle12sp2-2" call-id="39" rc-code="0" op-status="0" interval="0" last-run="1461920305" last-rc-change="1461920305" exec-time="114" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ <node_state id="1084783155" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" uname="sle12sp2-1" join="member" expected="member">
+ <transient_attributes id="1084783155">
+ <instance_attributes id="status-1084783155">
+ <nvpair id="status-1084783155-shutdown" name="shutdown" value="0"/>
+ <nvpair id="status-1084783155-promoted-state1" name="master-state1" value="10"/>
+ </instance_attributes>
+ </transient_attributes>
+ <lrm id="1084783155">
+ <lrm_resources>
+ <lrm_resource id="st_sbd" type="external/sbd" class="stonith">
+ <lrm_rsc_op id="st_sbd_last_0" operation_key="st_sbd_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="2:10:7:227c6da2-2be2-434b-933b-d715c60f45cd" transition-magic="0:7;2:10:7:227c6da2-2be2-434b-933b-d715c60f45cd" on_node="sle12sp2-1" call-id="5" rc-code="7" op-status="0" interval="0" last-run="1461774707" last-rc-change="1461774707" exec-time="5" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ <lrm_resource id="dummy1" type="Dummy" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="dummy1_last_0" operation_key="dummy1_stop_0" operation="stop" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="24:182:0:227c6da2-2be2-434b-933b-d715c60f45cd" transition-magic="0:0;24:182:0:227c6da2-2be2-434b-933b-d715c60f45cd" on_node="sle12sp2-1" call-id="38" rc-code="0" op-status="0" interval="0" last-run="1461920068" last-rc-change="1461920068" exec-time="95" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state passwd op_sleep " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-secure-params=" passwd " op-secure-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ <lrm_resource id="state1" type="Stateful" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="state1_last_0" operation_key="state1_promote_0" operation="promote" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="29:184:0:227c6da2-2be2-434b-933b-d715c60f45cd" transition-magic="0:0;29:184:0:227c6da2-2be2-434b-933b-d715c60f45cd" on_node="sle12sp2-1" call-id="39" rc-code="0" op-status="0" interval="0" last-run="1461920068" last-rc-change="1461920068" exec-time="160" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ </status>
+</cib>