diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:53:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:53:20 +0000 |
commit | e5a812082ae033afb1eed82c0f2df3d0f6bdc93f (patch) | |
tree | a6716c9275b4b413f6c9194798b34b91affb3cc7 /cts/scheduler/xml/promoted-asymmetrical-order.xml | |
parent | Initial commit. (diff) | |
download | pacemaker-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/promoted-asymmetrical-order.xml')
-rw-r--r-- | cts/scheduler/xml/promoted-asymmetrical-order.xml | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/cts/scheduler/xml/promoted-asymmetrical-order.xml b/cts/scheduler/xml/promoted-asymmetrical-order.xml new file mode 100644 index 0000000..84929ee --- /dev/null +++ b/cts/scheduler/xml/promoted-asymmetrical-order.xml @@ -0,0 +1,70 @@ +<cib epoch="1" num_updates="30" admin_epoch="0" validate-with="pacemaker-3.7" cib-last-written="Fri Jul 13 13:51:19 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"/> + <node id="node2" type="member" uname="node2"/> + </nodes> + <resources> + <clone id="ms1"> + <primitive id="rsc1" class="ocf" provider="pacemaker" type="Stateful"> + <operations id="rsc1-operations"> + <op id="rsc1-monitor-promoted-5" interval="5" name="monitor" role="Promoted"/> + <op id="rsc1-monitor-unpromoted-5" interval="5" name="monitor" role="Unpromoted"/> + </operations> + </primitive> + <meta_attributes id="ms1-meta_attributes"> + <nvpair id="ms1-meta_attributes-promotable" name="promotable" value="true"/> + <nvpair id="ms1-meta_attributes-target-role" name="target-role" value="Stopped"/> + </meta_attributes> + </clone> + <clone id="ms2"> + <meta_attributes id="ms2-meta_attributes"> + <nvpair id="ms2-meta_attributes-promotable" name="promotable" value="true"/> + </meta_attributes> + <primitive id="rsc2" class="ocf" provider="pacemaker" type="Stateful"> + <operations id="rsc2-operations"> + <op id="rsc2-monitor-promoted-5" interval="5" name="monitor" role="Promoted"/> + <op id="rsc2-monitor-unpromoted-5" interval="5" name="monitor" role="Unpromoted"/> + </operations> + </primitive> + </clone> + </resources> + <constraints> + <rsc_location id="ms1-promoted-location" rsc="ms1" role="Promoted" node="node1" score="100"/> + <rsc_location id="ms2-promoted-location" rsc="ms2" role="Promoted" node="node2" score="100"/> + <rsc_order id="order-ms1-ms2" first="ms1" first-action="promote" then="ms2" then-action="start" kind="Mandatory" symmetrical="false"/> + </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:0" class="ocf" provider="pacemaker" type="Stateful"> + <lrm_rsc_op id="rsc1_last_0" operation_key="rsc1_promote_0" operation="promote" crm-debug-origin="crm_simulate" crm_feature_set="3.0.9" transition-key="3:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;3:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="3" rc-code="0" op-status="0" interval="0" last-run="1412938661" last-rc-change="1412938661" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc2:0" class="ocf" provider="pacemaker" type="Stateful"> + <lrm_rsc_op id="rsc2_last_0" operation_key="rsc2_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.9" 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="1412938661" last-rc-change="1412938661" 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:1" class="ocf" provider="pacemaker" type="Stateful"> + <lrm_rsc_op id="rsc1_last_0" operation_key="rsc1_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.9" 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="1412938661" last-rc-change="1412938661" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + <lrm_resource id="rsc2:1" class="ocf" provider="pacemaker" type="Stateful"> + <lrm_rsc_op id="rsc2_last_0" operation_key="rsc2_promote_0" operation="promote" crm-debug-origin="crm_simulate" crm_feature_set="3.0.9" transition-key="3:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;3:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="3" rc-code="0" op-status="0" interval="0" last-run="1412938661" last-rc-change="1412938661" exec-time="0" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + </lrm_resources> + </lrm> + </node_state> + </status> +</cib> |