summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/colocation_constraint_stops_promoted.xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 06:53:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 06:53:20 +0000
commite5a812082ae033afb1eed82c0f2df3d0f6bdc93f (patch)
treea6716c9275b4b413f6c9194798b34b91affb3cc7 /cts/scheduler/xml/colocation_constraint_stops_promoted.xml
parentInitial commit. (diff)
downloadpacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.tar.xz
pacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.zip
Adding upstream version 2.1.6.upstream/2.1.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cts/scheduler/xml/colocation_constraint_stops_promoted.xml')
-rw-r--r--cts/scheduler/xml/colocation_constraint_stops_promoted.xml85
1 files changed, 85 insertions, 0 deletions
diff --git a/cts/scheduler/xml/colocation_constraint_stops_promoted.xml b/cts/scheduler/xml/colocation_constraint_stops_promoted.xml
new file mode 100644
index 0000000..98ff442
--- /dev/null
+++ b/cts/scheduler/xml/colocation_constraint_stops_promoted.xml
@@ -0,0 +1,85 @@
+<cib epoch="16" num_updates="25" admin_epoch="0" validate-with="pacemaker-3.7" crm_feature_set="3.0.6" update-origin="fc16-builder" update-client="cibadmin" cib-last-written="Fri Jul 13 13:51:04 2012" have-quorum="1" dc-uuid="fc16-builder2">
+ <configuration>
+ <crm_config>
+ <cluster_property_set id="cib-bootstrap-options">
+ <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.7-fe859a7"/>
+ <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
+ <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="fc16-builder" type="member" uname="fc16-builder">
+ <instance_attributes id="fc16-builder-instance_attributes">
+ <nvpair id="fc16-builder-stuffs" name="give-me-A" value="false"/>
+ </instance_attributes>
+ </node>
+ <node id="fc16-builder2" uname="fc16-builder2" type="member">
+ <instance_attributes id="fc16-builder2-instance_attributes">
+ <nvpair id="fc16-builder2-stuffs" name="give-me-A" value="false"/>
+ </instance_attributes>
+ </node>
+ </nodes>
+ <resources>
+ <clone id="PROMOTABLE_RSC_A">
+ <meta_attributes id="PROMOTABLE_RSC_A-meta_attributes">
+ <nvpair id="PROMOTABLE_RSC_A-meta_attributes-promotable" name="promotable" value="true"/>
+ <nvpair id="PROMOTABLE_RSC_A-meta_attributes-promoted-max" name="promoted-max" value="1"/>
+ <nvpair id="PROMOTABLE_RSC_A-meta_attributes-promoted-node-max" name="promoted-node-max" value="1"/>
+ <nvpair id="PROMOTABLE_RSC_A-meta_attributes-clone-max" name="clone-max" value="1"/>
+ <nvpair id="PROMOTABLE_RSC_A-meta_attributes-clone-node-max" name="clone-node-max" value="1"/>
+ <nvpair id="PROMOTABLE_RSC_A-meta_attributes-notify" name="notify" value="true"/>
+ <nvpair id="PROMOTABLE_RSC_A-meta_attributes-target-role" name="target-role" value="Started"/>
+ </meta_attributes>
+ <primitive class="ocf" id="NATIVE_RSC_A" provider="pacemaker" type="Stateful">
+ <operations>
+ <op id="NATIVE_RSC_A-start-0" interval="0" name="start" timeout="240"/>
+ <op id="NATIVE_RSC_A-stop-0" interval="0" name="stop" timeout="100"/>
+ <op id="NATIVE_RSC_A-monitor-20" interval="20" name="monitor" role="Promoted" timeout="20"/>
+ <op id="NATIVE_RSC_A-monitor-30" interval="30" name="monitor" role="Unpromoted" timeout="20"/>
+ </operations>
+ </primitive>
+ </clone>
+ </resources>
+ <constraints>
+ <rsc_location id="A-placement" rsc="PROMOTABLE_RSC_A">
+ <rule boolean-op="or" id="rule-A-placement" score="-INFINITY">
+ <expression attribute="give-me-A" id="whatever1" operation="not_defined"/>
+ <expression attribute="give-me-A" id="whatever2" operation="ne" value="true"/>
+ </rule>
+ </rsc_location>
+ </constraints>
+ </configuration>
+ <status>
+ <node_state id="fc16-builder" uname="fc16-builder" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_state_transition" shutdown="0">
+ <transient_attributes id="fc16-builder">
+ <instance_attributes id="status-fc16-builder">
+ <nvpair id="status-fc16-builder-probe_complete" name="probe_complete" value="true"/>
+ <nvpair id="status-fc16-builder-promoted-NATIVE_RSC_A.0" name="master-NATIVE_RSC_A:0" value="10"/>
+ </instance_attributes>
+ </transient_attributes>
+ <lrm id="fc16-builder">
+ <lrm_resources>
+ <lrm_resource id="NATIVE_RSC_A:0" type="Stateful" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="NATIVE_RSC_A:0_last_0" operation_key="NATIVE_RSC_A:0_promote_0" operation="promote" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.6" transition-key="7:5:0:b27a137e-f18a-40ab-ae90-fc916930f1d1" transition-magic="0:0;7:5:0:b27a137e-f18a-40ab-ae90-fc916930f1d1" call-id="12" rc-code="0" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ <lrm_rsc_op id="NATIVE_RSC_A:0_monitor_20000" operation_key="NATIVE_RSC_A:0_monitor_20000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.6" transition-key="9:6:8:b27a137e-f18a-40ab-ae90-fc916930f1d1" transition-magic="0:8;9:6:8:b27a137e-f18a-40ab-ae90-fc916930f1d1" call-id="14" rc-code="8" op-status="0" interval="20000" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ <node_state id="fc16-builder2" uname="fc16-builder2" ha="active" in_ccm="true" crmd="online" crm-debug-origin="do_state_transition" join="member" expected="member" shutdown="0">
+ <transient_attributes id="fc16-builder2">
+ <instance_attributes id="status-fc16-builder2">
+ <nvpair id="status-fc16-builder2-probe_complete" name="probe_complete" value="true"/>
+ </instance_attributes>
+ </transient_attributes>
+ <lrm id="fc16-builder2">
+ <lrm_resources>
+ <lrm_resource id="NATIVE_RSC_A:0" type="Dummy" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="NATIVE_RSC_A:0_last_0" operation_key="NATIVE_RSC_A:0_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.6" transition-key="6:0:7:b27a137e-f18a-40ab-ae90-fc916930f1d1" transition-magic="0:7;6:0:7:b27a137e-f18a-40ab-ae90-fc916930f1d1" call-id="2" rc-code="7" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ </status>
+</cib>