summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/whitebox-ms-ordering.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/whitebox-ms-ordering.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/whitebox-ms-ordering.xml')
-rw-r--r--cts/scheduler/xml/whitebox-ms-ordering.xml147
1 files changed, 147 insertions, 0 deletions
diff --git a/cts/scheduler/xml/whitebox-ms-ordering.xml b/cts/scheduler/xml/whitebox-ms-ordering.xml
new file mode 100644
index 0000000..b241ad2
--- /dev/null
+++ b/cts/scheduler/xml/whitebox-ms-ordering.xml
@@ -0,0 +1,147 @@
+<cib epoch="30" num_updates="8" admin_epoch="0" validate-with="pacemaker-3.0" cib-last-written="Thu Aug 22 13:17:01 2013" update-origin="18node1" update-client="cibadmin" crm_feature_set="3.0.7" have-quorum="1" dc-uuid="1">
+ <configuration>
+ <crm_config>
+ <cluster_property_set id="cib-bootstrap-options">
+ <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.11-1.fc18-85c1790"/>
+ <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
+ </cluster_property_set>
+ </crm_config>
+ <nodes>
+ <node id="1" uname="18node1"/>
+ <node id="2" uname="18node2"/>
+ <node id="3" uname="18node3"/>
+ </nodes>
+ <resources>
+ <primitive class="stonith" id="shooter" type="fence_xvm">
+ <instance_attributes id="shooter-instance_attributes">
+ <nvpair id="shooter-instance_attributes-pcmk_host_list" name="pcmk_host_list" value="18node1,18node2,18node3"/>
+ </instance_attributes>
+ <operations>
+ <op id="shooter-monitor-interval-60s" interval="60s" name="monitor"/>
+ </operations>
+ </primitive>
+ <primitive class="ocf" id="container1" provider="heartbeat" type="VirtualDomain">
+ <instance_attributes id="container1-instance_attributes">
+ <nvpair id="container1-instance_attributes-force_stop" name="force_stop" value="true"/>
+ <nvpair id="container1-instance_attributes-hypervisor" name="hypervisor" value="lxc:///"/>
+ <nvpair id="container1-instance_attributes-config" name="config" value="/var/lib/pacemaker/cts/lxc/lxc1.xml"/>
+ <nvpair id="container1-instance_attributes-remote-node" name="remote-node" value="lxc1"/>
+ </instance_attributes>
+ <utilization id="container1-utilization">
+ <nvpair id="container1-utilization-cpu" name="cpu" value="1"/>
+ <nvpair id="container1-utilization-hv_memory" name="hv_memory" value="100"/>
+ </utilization>
+ <meta_attributes id="container1-meta_attributes">
+ <nvpair id="container1-meta_attributes-remote-node" name="remote-node" value="lxc1"/>
+ </meta_attributes>
+ </primitive>
+ <primitive class="ocf" id="container2" provider="heartbeat" type="VirtualDomain">
+ <instance_attributes id="container2-instance_attributes">
+ <nvpair id="container2-instance_attributes-force_stop" name="force_stop" value="true"/>
+ <nvpair id="container2-instance_attributes-hypervisor" name="hypervisor" value="lxc:///"/>
+ <nvpair id="container2-instance_attributes-config" name="config" value="/var/lib/pacemaker/cts/lxc/lxc2.xml"/>
+ <nvpair id="container2-instance_attributes-remote-node" name="remote-node" value="lxc2"/>
+ </instance_attributes>
+ <utilization id="container2-utilization">
+ <nvpair id="container2-utilization-cpu" name="cpu" value="1"/>
+ <nvpair id="container2-utilization-hv_memory" name="hv_memory" value="100"/>
+ </utilization>
+ <meta_attributes id="container2-meta_attributes">
+ <nvpair id="container2-meta_attributes-remote-node" name="remote-node" value="lxc2"/>
+ </meta_attributes>
+ </primitive>
+ <clone id="lxc-ms-master">
+ <primitive class="ocf" id="lxc-ms" provider="pacemaker" type="Stateful">
+ <operations>
+ <op id="lxc-ms-monitor-interval-10s" interval="10s" name="monitor"/>
+ </operations>
+ </primitive>
+ <meta_attributes id="lxc-ms-meta_attributes">
+ <nvpair id="lxs-ms-meta_attributes-promotable" name="promotable" value="true"/>
+ <nvpair id="lxc-ms-meta_attributes-promoted-max" name="promoted-max" value="1"/>
+ <nvpair id="lxc-ms-meta_attributes-clone-max" name="clone-max" value="2"/>
+ </meta_attributes>
+ </clone>
+ </resources>
+ <constraints>
+ <rsc_location id="cli-prefer-container1" rsc="container1" node="18node1" score="INFINITY"/>
+ <rsc_location id="cli-prefer-container2" rsc="container2" node="18node1" score="INFINITY"/>
+ <rsc_location id="lxc-ms-location-lxc1" node="lxc1" rsc="lxc-ms" score="INFINITY"/>
+ <rsc_location id="lxc-ms-location-lxc2" node="lxc2" rsc="lxc-ms" score="INFINITY"/>
+ </constraints>
+ </configuration>
+ <status>
+ <node_state id="1" uname="18node1" in_ccm="true" crmd="online" crm-debug-origin="do_state_transition" join="member" expected="member">
+ <transient_attributes id="1">
+ <instance_attributes id="status-1">
+ <nvpair id="status-1-probe_complete" name="probe_complete" value="true"/>
+ </instance_attributes>
+ </transient_attributes>
+ <lrm id="1">
+ <lrm_resources>
+ <lrm_resource id="shooter" type="fence_xvm" class="stonith">
+ <lrm_rsc_op id="shooter_last_0" operation_key="shooter_stop_0" operation="stop" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="22:4:0:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:0;22:4:0:7646a86f-3975-414e-8ecc-6d9899595921" call-id="33" rc-code="0" op-status="0" interval="0" last-run="1377195228" last-rc-change="1377195228" exec-time="0" queue-time="0" op-digest="7908d87bf63da67d2346f2ae12b61068"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ <node_state id="2" uname="18node2" in_ccm="true" crmd="online" join="member" crm-debug-origin="do_state_transition" expected="member">
+ <transient_attributes id="2">
+ <instance_attributes id="status-2">
+ <nvpair id="status-2-probe_complete" name="probe_complete" value="true"/>
+ </instance_attributes>
+ </transient_attributes>
+ <lrm id="2">
+ <lrm_resources>
+ <lrm_resource id="shooter" type="fence_xvm" class="stonith">
+ <lrm_rsc_op id="shooter_last_0" operation_key="shooter_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="23:4:0:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:0;23:4:0:7646a86f-3975-414e-8ecc-6d9899595921" call-id="26" rc-code="0" op-status="0" interval="0" last-run="1377195229" last-rc-change="1377195229" exec-time="1382" queue-time="0" op-digest="7908d87bf63da67d2346f2ae12b61068"/>
+ <lrm_rsc_op id="shooter_monitor_60000" operation_key="shooter_monitor_60000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="9:5:0:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:0;9:5:0:7646a86f-3975-414e-8ecc-6d9899595921" call-id="29" rc-code="0" op-status="0" interval="60000" last-rc-change="1377195231" exec-time="9" queue-time="0" op-digest="f41ae9427c053ffa62947ab85d954d6e"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ <node_state id="3" uname="18node3" crmd="online" crm-debug-origin="do_state_transition" in_ccm="true" join="member" expected="member">
+ <transient_attributes id="3">
+ <instance_attributes id="status-3">
+ <nvpair id="status-3-probe_complete" name="probe_complete" value="true"/>
+ </instance_attributes>
+ </transient_attributes>
+ <lrm id="3">
+ <lrm_resources>
+ <lrm_resource id="shooter" type="fence_xvm" class="stonith">
+ <lrm_rsc_op id="shooter_last_0" operation_key="shooter_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="8:3:7:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:7;8:3:7:7646a86f-3975-414e-8ecc-6d9899595921" call-id="5" rc-code="7" op-status="0" interval="0" last-run="1377177177" last-rc-change="1377177177" exec-time="988" queue-time="0" op-digest="7908d87bf63da67d2346f2ae12b61068"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ <node_state remote_node="true" id="lxc1" uname="lxc1" crm-debug-origin="do_update_resource">
+ <transient_attributes id="lxc1">
+ <instance_attributes id="status-lxc1">
+ <nvpair id="status-lxc1-promoted-lxc-ms" name="master-lxc-ms" value="10"/>
+ </instance_attributes>
+ </transient_attributes>
+ <lrm id="lxc1">
+ <lrm_resources>
+ <lrm_resource id="lxc-ms" type="Stateful" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="lxc-ms_last_0" operation_key="lxc-ms_promote_0" operation="promote" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="17:7:0:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:0;17:7:0:7646a86f-3975-414e-8ecc-6d9899595921" call-id="17" rc-code="0" op-status="0" interval="0" last-run="1377195234" last-rc-change="1377195234" exec-time="411" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ <node_state remote_node="true" id="lxc2" uname="lxc2" crm-debug-origin="do_update_resource">
+ <transient_attributes id="lxc2">
+ <instance_attributes id="status-lxc2">
+ <nvpair id="status-lxc2-promoted-lxc-ms" name="master-lxc-ms" value="5"/>
+ </instance_attributes>
+ </transient_attributes>
+ <lrm id="lxc2">
+ <lrm_resources>
+ <lrm_resource id="lxc-ms" type="Stateful" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="lxc-ms_last_0" operation_key="lxc-ms_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="15:6:0:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:0;15:6:0:7646a86f-3975-414e-8ecc-6d9899595921" call-id="7" rc-code="0" op-status="0" interval="0" last-run="1377195232" last-rc-change="1377195232" exec-time="1421" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ <lrm_rsc_op id="lxc-ms_monitor_10000" operation_key="lxc-ms_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="20:7:0:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:0;20:7:0:7646a86f-3975-414e-8ecc-6d9899595921" call-id="17" rc-code="0" op-status="0" interval="10000" last-rc-change="1377195234" exec-time="10" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ </status>
+</cib>