summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/promoted-role.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-role.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-role.xml')
-rw-r--r--cts/scheduler/xml/promoted-role.xml60
1 files changed, 60 insertions, 0 deletions
diff --git a/cts/scheduler/xml/promoted-role.xml b/cts/scheduler/xml/promoted-role.xml
new file mode 100644
index 0000000..79e0881
--- /dev/null
+++ b/cts/scheduler/xml/promoted-role.xml
@@ -0,0 +1,60 @@
+<cib validate-with="pacemaker-3.0" crm_feature_set="3.0.1" have-quorum="1" dc-uuid="8165b1f7-da29-43db-8510-065ac1d33469" admin_epoch="0" epoch="27" num_updates="3" cib-last-written="Fri Jul 13 13:51:08 2012">
+ <configuration>
+ <crm_config>
+ <cluster_property_set id="cib-bootstrap-options">
+ <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7"/>
+ <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
+ <nvpair id="cib-bootstrap-options-stonith" name="stonith-enabled" value="false"/>
+ </cluster_property_set>
+ </crm_config>
+ <nodes>
+ <node id="bb56fda4-7d0d-405c-a6e4-c21b0e070303" uname="sles11-a" type="member"/>
+ <node id="8165b1f7-da29-43db-8510-065ac1d33469" uname="sles11-b" type="member"/>
+ </nodes>
+ <resources>
+ <clone id="ms_res_Stateful_1">
+ <meta_attributes id="ms_res_Stateful_1-meta_attributes">
+ <nvpair id="ms_res_Stateful_1-meta_attributes-promotable" name="promotable" value="true"/>
+ <nvpair id="ms_res_Stateful_1-meta_attributes-clone-max" name="clone-max" value="2"/>
+ <nvpair id="ms_res_Stateful_1-meta_attributes-promoted-max" name="promoted-max" value="1"/>
+ <nvpair name="target-role" id="ms_res_Stateful_1-meta_attributes-target-role" value="Promoted"/>
+ </meta_attributes>
+ <primitive class="ocf" id="res_Stateful_1" provider="pacemaker" type="Stateful"/>
+ </clone>
+ </resources>
+ <constraints/>
+ </configuration>
+ <status>
+ <node_state uname="sles11-b" ha="active" in_ccm="true" crmd="online" join="member" expected="member" shutdown="0" id="8165b1f7-da29-43db-8510-065ac1d33469">
+ <lrm id="8165b1f7-da29-43db-8510-065ac1d33469">
+ <lrm_resources>
+ <lrm_resource id="res_Stateful_1:1" type="Stateful" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="res_Stateful_1:1_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="6:0:7:b80fe701-5e5a-4be3-9646-d49845b65ba2" transition-magic="0:0;6:0:7:b80fe701-5e5a-4be3-9646-d49845b65ba2" call-id="2" rc-code="0" op-status="0" interval="0" last-run="1255599645" last-rc-change="1255599645" exec-time="80" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ <lrm_rsc_op id="res_Stateful_1:1_promote_0" operation="promote" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="12:3:0:b80fe701-5e5a-4be3-9646-d49845b65ba2" transition-magic="0:0;12:3:0:b80fe701-5e5a-4be3-9646-d49845b65ba2" call-id="3" rc-code="0" op-status="0" interval="0" last-run="1255599715" last-rc-change="1255599715" exec-time="70" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ <transient_attributes id="8165b1f7-da29-43db-8510-065ac1d33469">
+ <instance_attributes id="status-8165b1f7-da29-43db-8510-065ac1d33469">
+ <nvpair name="master-res_Stateful_1:1" id="status-8165b1f7-da29-43db-8510-065ac1d33469-promoted-res_Stateful_1:1" value="10"/>
+ <nvpair id="status-8165b1f7-da29-43db-8510-065ac1d33469-probe_complete" name="probe_complete" value="true"/>
+ </instance_attributes>
+ </transient_attributes>
+ </node_state>
+ <node_state id="bb56fda4-7d0d-405c-a6e4-c21b0e070303" uname="sles11-a" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="controld_query_executor_state" shutdown="0">
+ <lrm id="bb56fda4-7d0d-405c-a6e4-c21b0e070303">
+ <lrm_resources>
+ <lrm_resource id="res_Stateful_1:0" type="Stateful" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="res_Stateful_1:0_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.1" transition-key="4:0:7:b80fe701-5e5a-4be3-9646-d49845b65ba2" transition-magic="0:8;4:0:7:b80fe701-5e5a-4be3-9646-d49845b65ba2" call-id="2" rc-code="8" op-status="0" interval="0" last-run="1255599645" last-rc-change="1255599645" exec-time="150" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ <transient_attributes id="bb56fda4-7d0d-405c-a6e4-c21b0e070303">
+ <instance_attributes id="status-bb56fda4-7d0d-405c-a6e4-c21b0e070303">
+ <nvpair id="status-bb56fda4-7d0d-405c-a6e4-c21b0e070303-promoted-res_Stateful_1:0" name="master-res_Stateful_1:0" value="10"/>
+ <nvpair id="status-bb56fda4-7d0d-405c-a6e4-c21b0e070303-probe_complete" name="probe_complete" value="true"/>
+ </instance_attributes>
+ </transient_attributes>
+ </node_state>
+ </status>
+</cib>