summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/promoted-reattach.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/promoted-reattach.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/promoted-reattach.xml')
-rw-r--r--cts/scheduler/xml/promoted-reattach.xml139
1 files changed, 139 insertions, 0 deletions
diff --git a/cts/scheduler/xml/promoted-reattach.xml b/cts/scheduler/xml/promoted-reattach.xml
new file mode 100644
index 0000000..ccc8381
--- /dev/null
+++ b/cts/scheduler/xml/promoted-reattach.xml
@@ -0,0 +1,139 @@
+<cib admin_epoch="0" validate-with="pacemaker-3.7" have-quorum="1" crm_feature_set="3.0" epoch="119" num_updates="11" cib-last-written="Fri Jul 13 13:51:08 2012" dc-uuid="f430bc66-3388-4b7d-9e99-24fb02855f54">
+ <configuration>
+ <crm_config>
+ <cluster_property_set id="cib-bootstrap-options">
+ <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.0-86e282fa7964+ tip"/>
+ <nvpair name="symmetric-cluster" value="true" id="nvpair.id2245184"/>
+ <nvpair name="stonith-enabled" value="false" id="nvpair.id2244260"/>
+ <nvpair name="stop-orphan-resources" value="true" id="nvpair.id2245052"/>
+ <nvpair name="stop-orphan-actions" value="true" id="nvpair.id2245024"/>
+ <nvpair name="startup-fencing" value="true" id="nvpair.id2244608"/>
+ <nvpair name="last-lrm-refresh" id="cib-bootstrap-options-last-lrm-refresh" value="1225707410"/>
+ </cluster_property_set>
+ </crm_config>
+ <nodes>
+ <node id="c738bee8-591f-4653-aaad-20a961923f25" uname="dktest1" type="member"/>
+ <node id="f430bc66-3388-4b7d-9e99-24fb02855f54" uname="dktest2" type="member"/>
+ </nodes>
+ <rsc_defaults>
+ <meta_attributes id="rsc_defaults-meta_attributes">
+ <nvpair id="rsc_defaults-resource-stickiness" name="resource-stickiness" value="100"/>
+ <nvpair id="rsc_defaults-is-managed" name="is-managed" value="false"/>
+ </meta_attributes>
+ </rsc_defaults>
+ <op_defaults>
+ <meta_attributes id="op_defaults-meta_attributes">
+ <nvpair id="op_defaults-timeout" name="timeout" value="20s"/>
+ </meta_attributes>
+ </op_defaults>
+ <resources>
+ <clone id="ms-drbd1">
+ <meta_attributes id="ma-ms-drbd1">
+ <nvpair id="ma-ms-drbd1-0" name="promotable" value="true"/>
+ <nvpair id="ma-ms-drbd1-1" name="clone-max" value="2"/>
+ <nvpair id="ma-ms-drbd1-2" name="clone-node-max" value="1"/>
+ <nvpair id="ma-ms-drbd1-3" name="promoted-max" value="1"/>
+ <nvpair id="ma-ms-drbd1-4" name="promoted-node-max" value="1"/>
+ <nvpair id="ma-ms-drbd1-5" name="notify" value="yes"/>
+ <nvpair id="ma-ms-drbd1-6" name="globally-unique" value="false"/>
+ <nvpair id="ma-ms-drbd1-7" name="target-role" value="started"/>
+ </meta_attributes>
+ <primitive id="drbd1" class="ocf" provider="heartbeat" type="drbd">
+ <instance_attributes id="ia-ms-drbd1">
+ <nvpair id="ia-ms-drbd1-1" name="drbd_resource" value="drbd1"/>
+ </instance_attributes>
+ <operations>
+ <op name="monitor" interval="10s" id="op-drbd1-1" timeout="15s" role="Promoted"/>
+ <op name="monitor" interval="11s" id="op-drbd1-2" timeout="15s" role="Unpromoted"/>
+ </operations>
+ </primitive>
+ </clone>
+ <group id="apache">
+ <meta_attributes id="ma-apache">
+ <nvpair id="ma-apache-1" name="target-role" value="started"/>
+ <nvpair id="ma-apache-2" name="migration-threshold" value="3"/>
+ </meta_attributes>
+ <primitive id="apache-vip" class="ocf" type="IPaddr2" provider="heartbeat">
+ <instance_attributes id="ia-apache-ip">
+ <nvpair id="ia-apache-ip-1" name="ip" value="10.200.200.224"/>
+ <nvpair id="ia-apache-ip-2" name="broadcast" value="10.200.200.255"/>
+ <nvpair id="ia-apache-ip-3" name="nic" value="eth1"/>
+ <nvpair id="ia-apache-ip-4" name="cidr_netmask" value="24"/>
+ </instance_attributes>
+ <operations>
+ <op id="op-apache-ip-1" name="monitor" interval="60s" timeout="15s"/>
+ </operations>
+ </primitive>
+ <primitive id="mount" class="ocf" type="Filesystem" provider="heartbeat">
+ <instance_attributes id="ia-mount">
+ <nvpair id="ia-mount-1" name="device" value="/dev/drbd1"/>
+ <nvpair id="ia-mount-2" name="directory" value="/srv"/>
+ <nvpair id="ia-mount-3" name="fstype" value="ext3"/>
+ </instance_attributes>
+ <operations>
+ <op name="monitor" interval="10s" id="op-mount-1" timeout="5s" role="Started" enabled="true"/>
+ </operations>
+ </primitive>
+ <primitive class="ocf" provider="heartbeat" type="apache" id="webserver">
+ <instance_attributes id="ia-webserver">
+ <nvpair id="ia-webserver-1" name="configfile" value="/srv/apache/conf/httpd.conf"/>
+ <nvpair id="ia-webserver-2" name="httpd" value="/srv/apache/bin/httpd"/>
+ <nvpair id="ia-webserver-3" name="port" value="80"/>
+ <nvpair id="ia-webserver-4" name="testregex" value="test"/>
+ </instance_attributes>
+ <operations>
+ <op id="op-webserver-1" name="monitor" interval="30s" timeout="30s"/>
+ </operations>
+ </primitive>
+ </group>
+ </resources>
+ <constraints>
+ <rsc_order id="ms-drbd1-before-apache" first="ms-drbd1" then="apache" first-action="promote" then-action="start"/>
+ <rsc_colocation id="apache-on-ms-drbd1" rsc="apache" with-rsc="ms-drbd1" with-rsc-role="Promoted" score="INFINITY"/>
+ <rsc_location id="apache-on-dktest1" rsc="apache" node="dktest1" score="500"/>
+ <rsc_location id="ms-drbd1-promoted-location" rsc="ms-drbd1">
+ <rule id="ms-drbd1-master-location-rule-1" score="500" role="Promoted">
+ <expression id="ms-drbd1-master-location-rule-1-expr-1" attribute="#uname" operation="eq" value="dktest1"/>
+ </rule>
+ </rsc_location>
+ </constraints>
+ </configuration>
+ <status>
+ <node_state id="c738bee8-591f-4653-aaad-20a961923f25" uname="dktest1" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0">
+ <lrm id="c738bee8-591f-4653-aaad-20a961923f25">
+ <lrm_resources>
+ <lrm_resource id="mount" type="Filesystem" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="mount_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0" transition-key="6:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" transition-magic="0:0;6:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" call-id="4" rc-code="0" op-status="0" interval="0" last-run="1225782873" last-rc-change="1225782873" exec-time="120" queue-time="0" op-digest="e6c31fdcc38cfdb78c05d0c3e9fe1712"/>
+ </lrm_resource>
+ <lrm_resource id="apache-vip" type="IPaddr2" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="apache-vip_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0" transition-key="5:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" transition-magic="0:0;5:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" call-id="3" rc-code="0" op-status="0" interval="0" last-run="1225782873" last-rc-change="1225782873" exec-time="140" queue-time="0" op-digest="3a7727bbbf66828c4edcb0f1cdf1ecf7"/>
+ </lrm_resource>
+ <lrm_resource id="drbd1:0" type="drbd" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="drbd1:0_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0" transition-key="4:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" transition-magic="0:8;4:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" call-id="2" rc-code="8" op-status="0" interval="0" last-run="1225782873" last-rc-change="1225782873" exec-time="220" queue-time="0" op-digest="b9cf2b3d762cdf1ed2eb02a10ad36f06"/>
+ </lrm_resource>
+ <lrm_resource id="webserver" type="apache" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="webserver_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0" transition-key="7:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" transition-magic="0:0;7:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" call-id="5" rc-code="0" op-status="0" interval="0" last-run="1225782873" last-rc-change="1225782873" exec-time="210" queue-time="10" op-digest="21648b4dfe6c89ca1127f330d7ca9a8f"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ <node_state id="f430bc66-3388-4b7d-9e99-24fb02855f54" uname="dktest2" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0">
+ <lrm id="f430bc66-3388-4b7d-9e99-24fb02855f54">
+ <lrm_resources>
+ <lrm_resource id="webserver" type="apache" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="webserver_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0" transition-key="12:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" transition-magic="0:7;12:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" call-id="5" rc-code="7" op-status="0" interval="0" last-run="1225782873" last-rc-change="1225782873" exec-time="40" queue-time="0" op-digest="21648b4dfe6c89ca1127f330d7ca9a8f"/>
+ </lrm_resource>
+ <lrm_resource id="apache-vip" type="IPaddr2" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="apache-vip_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0" transition-key="10:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" transition-magic="0:7;10:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" call-id="3" rc-code="7" op-status="0" interval="0" last-run="1225782873" last-rc-change="1225782873" exec-time="130" queue-time="0" op-digest="3a7727bbbf66828c4edcb0f1cdf1ecf7"/>
+ </lrm_resource>
+ <lrm_resource id="mount" type="Filesystem" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="mount_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0" transition-key="11:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" transition-magic="0:7;11:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" call-id="4" rc-code="7" op-status="0" interval="0" last-run="1225782873" last-rc-change="1225782873" exec-time="200" queue-time="0" op-digest="e6c31fdcc38cfdb78c05d0c3e9fe1712"/>
+ </lrm_resource>
+ <lrm_resource id="drbd1:0" type="drbd" class="ocf" provider="heartbeat">
+ <lrm_rsc_op id="drbd1:0_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0" transition-key="9:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" transition-magic="0:0;9:0:7:91b42581-9a1f-45e2-b78f-b064c6c17d34" call-id="2" rc-code="0" op-status="0" interval="0" last-run="1225782873" last-rc-change="1225782873" exec-time="280" queue-time="0" op-digest="b9cf2b3d762cdf1ed2eb02a10ad36f06"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ </node_state>
+ </status>
+</cib>