summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/colocate-unmanaged-group.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/colocate-unmanaged-group.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/colocate-unmanaged-group.xml')
-rw-r--r--cts/scheduler/xml/colocate-unmanaged-group.xml129
1 files changed, 129 insertions, 0 deletions
diff --git a/cts/scheduler/xml/colocate-unmanaged-group.xml b/cts/scheduler/xml/colocate-unmanaged-group.xml
new file mode 100644
index 0000000..1f1a037
--- /dev/null
+++ b/cts/scheduler/xml/colocate-unmanaged-group.xml
@@ -0,0 +1,129 @@
+<cib crm_feature_set="3.2.0" validate-with="pacemaker-3.7" epoch="18" num_updates="18" admin_epoch="0" cib-last-written="Wed Feb 26 14:49:12 2020" update-origin="rh80-test01" update-client="cibadmin" update-user="root" have-quorum="1" dc-uuid="2" execution-date="1582696216">
+ <configuration>
+ <crm_config>
+ <cluster_property_set id="cib-bootstrap-options">
+ <nvpair id="cib-bootstrap-options-have-watchdog" name="have-watchdog" value="false"/>
+ <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="2.0.3-4b1f869f0f"/>
+ <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
+ <nvpair id="cib-bootstrap-options-cluster-name" name="cluster-name" value="my_cluster"/>
+ <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/>
+ </cluster_property_set>
+ </crm_config>
+ <nodes>
+ <node id="1" uname="rh80-test01"/>
+ <node id="2" uname="rh80-test02"/>
+ </nodes>
+ <resources>
+ <clone id="prmStateful-clone">
+ <primitive class="ocf" id="prmStateful" provider="pacemaker" type="Stateful">
+ <operations>
+ <op id="prmStateful-demote-interval-0s" interval="0s" name="demote" on-fail="block" timeout="300s"/>
+ <op id="prmStateful-monitor-interval-10s" interval="10s" name="monitor" on-fail="restart" timeout="60s"/>
+ <op id="prmStateful-monitor-interval-9s" interval="9s" name="monitor" on-fail="restart" role="Promoted" timeout="60s"/>
+ <op id="prmStateful-notify-interval-0s" interval="0s" name="notify" timeout="60s"/>
+ <op id="prmStateful-promote-interval-0s" interval="0s" name="promote" on-fail="restart" timeout="300s"/>
+ <op id="prmStateful-start-interval-0s" interval="0s" name="start" on-fail="restart" timeout="300s"/>
+ <op id="prmStateful-stop-interval-0s" interval="0s" name="stop" on-fail="block" timeout="300s"/>
+ </operations>
+ </primitive>
+ <meta_attributes id="prmStateful-clone-meta_attributes">
+ <nvpair id="prmStateful-clone-meta_attributes-clone-max" name="clone-max" value="2"/>
+ <nvpair id="prmStateful-clone-meta_attributes-clone-node-max" name="clone-node-max" value="1"/>
+ <nvpair id="prmStateful-clone-meta_attributes-notify" name="notify" value="true"/>
+ <nvpair id="prmStateful-clone-meta_attributes-promotable" name="promotable" value="true"/>
+ <nvpair id="prmStateful-clone-meta_attributes-promoted-max" name="promoted-max" value="1"/>
+ <nvpair id="prmStateful-clone-meta_attributes-promoted-node-max" name="promoted-node-max" value="1"/>
+ </meta_attributes>
+ </clone>
+ <group id="grpTest">
+ <primitive class="ocf" id="prmDummy1" provider="heartbeat" type="Dummy">
+ <meta_attributes id="prmDummy1-meta_attributes">
+ <nvpair id="prmDummy1-meta_attributes-is-managed" name="is-managed" value="false"/>
+ </meta_attributes>
+ <operations>
+ <op id="prmDummy1-migrate_from-interval-0s" interval="0s" name="migrate_from" timeout="20s"/>
+ <op id="prmDummy1-migrate_to-interval-0s" interval="0s" name="migrate_to" timeout="20s"/>
+ <op id="prmDummy1-monitor-interval-10s" interval="10s" name="monitor" on-fail="restart" timeout="60s"/>
+ <op id="prmDummy1-reload-interval-0s" interval="0s" name="reload" timeout="20s"/>
+ <op id="prmDummy1-start-interval-0s" interval="0s" name="start" on-fail="restart" timeout="60s"/>
+ <op id="prmDummy1-stop-interval-0s" interval="0s" name="stop" on-fail="block" timeout="60s"/>
+ </operations>
+ </primitive>
+ <primitive class="ocf" id="prmDummy2" provider="heartbeat" type="Dummy">
+ <operations>
+ <op id="prmDummy2-migrate_from-interval-0s" interval="0s" name="migrate_from" timeout="20s"/>
+ <op id="prmDummy2-migrate_to-interval-0s" interval="0s" name="migrate_to" timeout="20s"/>
+ <op id="prmDummy2-monitor-interval-10s" interval="10s" name="monitor" on-fail="restart" timeout="60s"/>
+ <op id="prmDummy2-reload-interval-0s" interval="0s" name="reload" timeout="20s"/>
+ <op id="prmDummy2-start-interval-0s" interval="0s" name="start" on-fail="restart" timeout="60s"/>
+ <op id="prmDummy2-stop-interval-0s" interval="0s" name="stop" on-fail="block" timeout="60s"/>
+ </operations>
+ </primitive>
+ <primitive class="ocf" id="prmDummy3" provider="heartbeat" type="Dummy">
+ <operations>
+ <op id="prmDummy3-migrate_from-interval-0s" interval="0s" name="migrate_from" timeout="20s"/>
+ <op id="prmDummy3-migrate_to-interval-0s" interval="0s" name="migrate_to" timeout="20s"/>
+ <op id="prmDummy3-monitor-interval-10s" interval="10s" name="monitor" on-fail="restart" timeout="60s"/>
+ <op id="prmDummy3-reload-interval-0s" interval="0s" name="reload" timeout="20s"/>
+ <op id="prmDummy3-start-interval-0s" interval="0s" name="start" on-fail="restart" timeout="60s"/>
+ <op id="prmDummy3-stop-interval-0s" interval="0s" name="stop" on-fail="block" timeout="60s"/>
+ </operations>
+ </primitive>
+ </group>
+ </resources>
+ <constraints>
+ <rsc_location id="location-grpTest-rh80-test01-200" node="rh80-test01" rsc="grpTest" score="200"/>
+ <rsc_location id="location-grpTest-rh80-test02-100" node="rh80-test02" rsc="grpTest" score="100"/>
+ <rsc_location id="location-prmStateful-clone" rsc="prmStateful-clone">
+ <rule boolean-op="or" id="location-prmStateful-clone-rule" score="-INFINITY">
+ <expression attribute="default_ping_set" id="location-prmStateful-clone-rule-expr" operation="lt" value="100"/>
+ <expression attribute="default_ping_set" id="location-prmStateful-clone-rule-expr-1" operation="not_defined"/>
+ </rule>
+ </rsc_location>
+ <rsc_colocation id="colocation-grpTest-prmStateful-clone-INFINITY" rsc="grpTest" rsc-role="Started" score="INFINITY" with-rsc="prmStateful-clone" with-rsc-role="Promoted"/>
+ <rsc_order first="prmStateful-clone" first-action="promote" id="order-prmStateful-clone-grpTest-Optional" kind="Optional" symmetrical="true" then="grpTest" then-action="start"/>
+ </constraints>
+ <rsc_defaults>
+ <meta_attributes id="rsc_defaults-options">
+ <nvpair id="rsc_defaults-options-migration-threshold" name="migration-threshold" value="1"/>
+ <nvpair id="rsc_defaults-options-resource-stickiness" name="resource-stickiness" value="INFINITY"/>
+ </meta_attributes>
+ </rsc_defaults>
+ </configuration>
+ <status>
+ <node_state id="2" uname="rh80-test02" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member">
+ <lrm id="2">
+ <lrm_resources>
+ <lrm_resource id="prmStateful" type="Stateful" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="prmStateful_last_0" operation_key="prmStateful_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.2.0" transition-key="5:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" transition-magic="0:7;5:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" exit-reason="" on_node="rh80-test02" call-id="6" rc-code="7" op-status="0" interval="0" last-rc-change="1582696215" last-run="1582696215" exec-time="48" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ <lrm_resource id="prmDummy1" type="Dummy" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="prmDummy1_last_0" operation_key="prmDummy1_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.2.0" transition-key="6:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" transition-magic="0:7;6:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" exit-reason="" on_node="rh80-test02" call-id="10" rc-code="7" op-status="0" interval="0" last-rc-change="1582696215" last-run="1582696215" exec-time="59" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ <lrm_resource id="prmDummy2" type="Dummy" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="prmDummy2_last_0" operation_key="prmDummy2_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.2.0" transition-key="7:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" transition-magic="0:7;7:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" exit-reason="" on_node="rh80-test02" call-id="14" rc-code="7" op-status="0" interval="0" last-rc-change="1582696215" last-run="1582696215" exec-time="39" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ <lrm_resource id="prmDummy3" type="Dummy" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="prmDummy3_last_0" operation_key="prmDummy3_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.2.0" transition-key="8:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" transition-magic="0:7;8:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" exit-reason="" on_node="rh80-test02" call-id="18" rc-code="7" op-status="0" interval="0" last-rc-change="1582696215" last-run="1582696215" exec-time="35" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ <node_state id="1" uname="rh80-test01" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member">
+ <lrm id="1">
+ <lrm_resources>
+ <lrm_resource id="prmStateful" type="Stateful" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="prmStateful_last_0" operation_key="prmStateful_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.2.0" transition-key="1:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" transition-magic="0:7;1:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" exit-reason="" on_node="rh80-test01" call-id="6" rc-code="7" op-status="0" interval="0" last-rc-change="1582696215" last-run="1582696215" exec-time="54" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ <lrm_resource id="prmDummy1" type="Dummy" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="prmDummy1_last_0" operation_key="prmDummy1_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.2.0" transition-key="2:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" transition-magic="0:0;2:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" exit-reason="" on_node="rh80-test01" call-id="10" rc-code="0" op-status="0" interval="0" last-rc-change="1582696215" last-run="1582696215" exec-time="57" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ <lrm_rsc_op id="prmDummy1_last_failure_0" operation_key="prmDummy1_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.2.0" transition-key="2:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" transition-magic="0:0;2:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" exit-reason="" on_node="rh80-test01" call-id="10" rc-code="0" op-status="0" interval="0" last-rc-change="1582696215" last-run="1582696215" exec-time="57" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ <lrm_resource id="prmDummy2" type="Dummy" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="prmDummy2_last_0" operation_key="prmDummy2_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.2.0" transition-key="3:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" transition-magic="0:7;3:0:7:0f75d58f-cd1e-436c-a4e5-cc97fc09899d" exit-reason="" on_node="rh80-test01" call-id="14" rc-code="7" op-status="0" interval="0" last-rc-change="1582696216" last-run="1582696216" exec-time="44" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ </status>
+</cib>