diff options
Diffstat (limited to 'cts/scheduler/xml/failed-demote-recovery-promoted.xml')
-rw-r--r-- | cts/scheduler/xml/failed-demote-recovery-promoted.xml | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/cts/scheduler/xml/failed-demote-recovery-promoted.xml b/cts/scheduler/xml/failed-demote-recovery-promoted.xml new file mode 100644 index 0000000..d56b0d3 --- /dev/null +++ b/cts/scheduler/xml/failed-demote-recovery-promoted.xml @@ -0,0 +1,110 @@ +<cib crm_feature_set="3.0.12" validate-with="pacemaker-3.7" epoch="43" num_updates="34" admin_epoch="0" cib-last-written="Thu Nov 30 10:45:57 2017" update-origin="fastvm-rhel-7-4-95" update-client="cibadmin" update-user="root" have-quorum="1" dc-uuid="2" execution-date="1512045470"> + <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="1.1.16-12.el7_4.4-94ff4df"/> + <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/> + <nvpair id="cib-bootstrap-options-cluster-name" name="cluster-name" value="pacemaker"/> + <nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1510400096"/> + </cluster_property_set> + </crm_config> + <nodes> + <node id="1" uname="fastvm-rhel-7-4-95"/> + <node id="2" uname="fastvm-rhel-7-4-96"/> + </nodes> + <resources> + <primitive class="stonith" id="fence-fastvm-rhel-7-4-95" type="fence_xvm"> + <instance_attributes id="fence-fastvm-rhel-7-4-95-instance_attributes"> + <nvpair id="fence-fastvm-rhel-7-4-95-instance_attributes-pcmk_host_map" name="pcmk_host_map" value="fastvm-rhel-7-4-95:fastvm-rhel-7.4-95;"/> + </instance_attributes> + <operations> + <op id="fence-fastvm-rhel-7-4-95-monitor-interval-30s" interval="30s" name="monitor"/> + </operations> + </primitive> + <primitive class="stonith" id="fence-fastvm-rhel-7-4-96" type="fence_xvm"> + <instance_attributes id="fence-fastvm-rhel-7-4-96-instance_attributes"> + <nvpair id="fence-fastvm-rhel-7-4-96-instance_attributes-pcmk_host_map" name="pcmk_host_map" value="fastvm-rhel-7-4-96:fastvm-rhel-7.4-96;"/> + </instance_attributes> + <operations> + <op id="fence-fastvm-rhel-7-4-96-monitor-interval-30s" interval="30s" name="monitor"/> + </operations> + </primitive> + <clone id="DB2_HADR-master"> + <primitive class="ocf" id="DB2_HADR" provider="heartbeat" type="db2"> + <instance_attributes id="DB2_HADR-instance_attributes"> + <nvpair id="DB2_HADR-instance_attributes-dblist" name="dblist" value="sample"/> + <nvpair id="DB2_HADR-instance_attributes-instance" name="instance" value="db2inst1"/> + </instance_attributes> + <operations> + <op id="DB2_HADR-demote-interval-0s" interval="0s" name="demote" timeout="120"/> + <op id="DB2_HADR-monitor-interval-5" interval="5" name="monitor" timeout="60"/> + <op id="DB2_HADR-monitor-interval-22" interval="22" name="monitor" role="Promoted" timeout="60"/> + <op id="DB2_HADR-promote-interval-0s" interval="0s" name="promote" timeout="120"/> + <op id="DB2_HADR-start-interval-0s" interval="0s" name="start" timeout="120"/> + <op id="DB2_HADR-stop-interval-0s" interval="0s" name="stop" timeout="120"/> + </operations> + </primitive> + <meta_attributes id="DB2_HADR-promoted-meta_attributes"> + <nvpair id="DB2_HADR-promoted-meta_attributes-notify" name="notify" value="true"/> + <nvpair id="DB2_HADR-promoted-meta_attributes-promotable" name="promotable" value="true"/> + </meta_attributes> + </clone> + </resources> + <constraints> + <rsc_location id="location-fence-fastvm-rhel-7-4-95-fastvm-rhel-7-4-95--INFINITY" node="fastvm-rhel-7-4-95" rsc="fence-fastvm-rhel-7-4-95" score="-INFINITY"/> + <rsc_location id="location-fence-fastvm-rhel-7-4-96-fastvm-rhel-7-4-96--INFINITY" node="fastvm-rhel-7-4-96" rsc="fence-fastvm-rhel-7-4-96" score="-INFINITY"/> + </constraints> + </configuration> + <status> + <node_state id="1" uname="fastvm-rhel-7-4-95" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member"> + <lrm id="1"> + <lrm_resources> + <lrm_resource id="fence-fastvm-rhel-7-4-95" type="fence_xvm" class="stonith"> + <lrm_rsc_op id="fence-fastvm-rhel-7-4-95_last_0" operation_key="fence-fastvm-rhel-7-4-95_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="2:1:7:0319dbbb-5aac-4efe-b719-e59213a5af86" transition-magic="0:7;2:1:7:0319dbbb-5aac-4efe-b719-e59213a5af86" on_node="fastvm-rhel-7-4-95" call-id="5" rc-code="7" op-status="0" interval="0" last-run="1512045354" last-rc-change="1512045354" exec-time="2" queue-time="0" op-digest="1f5e25ac7aeffe6b7ef496aa2beef389"/> + </lrm_resource> + <lrm_resource id="fence-fastvm-rhel-7-4-96" type="fence_xvm" class="stonith"> + <lrm_rsc_op id="fence-fastvm-rhel-7-4-96_last_0" operation_key="fence-fastvm-rhel-7-4-96_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="10:1:0:0319dbbb-5aac-4efe-b719-e59213a5af86" transition-magic="0:0;10:1:0:0319dbbb-5aac-4efe-b719-e59213a5af86" on_node="fastvm-rhel-7-4-95" call-id="10" rc-code="0" op-status="0" interval="0" last-run="1512045355" last-rc-change="1512045355" exec-time="30" queue-time="0" op-digest="ebbe6c92ee38534505179a50abeedbf4"/> + <lrm_rsc_op id="fence-fastvm-rhel-7-4-96_monitor_30000" operation_key="fence-fastvm-rhel-7-4-96_monitor_30000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="11:1:0:0319dbbb-5aac-4efe-b719-e59213a5af86" transition-magic="0:0;11:1:0:0319dbbb-5aac-4efe-b719-e59213a5af86" on_node="fastvm-rhel-7-4-95" call-id="16" rc-code="0" op-status="0" interval="30000" last-rc-change="1512045356" exec-time="37" queue-time="0" op-digest="8b4afd9c3a888342128f479c8e1dace8"/> + </lrm_resource> + <lrm_resource id="DB2_HADR" type="db2" class="ocf" provider="heartbeat"> + <lrm_rsc_op id="DB2_HADR_last_0" operation_key="DB2_HADR_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="12:1:0:0319dbbb-5aac-4efe-b719-e59213a5af86" transition-magic="0:0;12:1:0:0319dbbb-5aac-4efe-b719-e59213a5af86" on_node="fastvm-rhel-7-4-95" call-id="17" rc-code="0" op-status="0" interval="0" last-run="1512045356" last-rc-change="1512045356" exec-time="7313" queue-time="0" op-digest="379ed3d6241b8a7012b493797c3fa211"/> + <lrm_rsc_op id="DB2_HADR_monitor_5000" operation_key="DB2_HADR_monitor_5000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="10:2:0:0319dbbb-5aac-4efe-b719-e59213a5af86" transition-magic="0:0;10:2:0:0319dbbb-5aac-4efe-b719-e59213a5af86" on_node="fastvm-rhel-7-4-95" call-id="21" rc-code="0" op-status="0" interval="5000" last-rc-change="1512045370" exec-time="502" queue-time="0" op-digest="98fc644b089b38f3260d8d6ca270e021"/> + </lrm_resource> + </lrm_resources> + </lrm> + <transient_attributes id="1"> + <instance_attributes id="status-1"> + <nvpair id="status-1-shutdown" name="shutdown" value="0"/> + <nvpair id="status-1-db2hadr_db2inst1_sample_fal" name="db2hadr_db2inst1_sample_fal" value="S0000026.LOG"/> + <nvpair id="status-2-promoted-DB2_HADR" name="master-DB2_HADR" value="-1"/> + </instance_attributes> + </transient_attributes> + </node_state> + <node_state id="2" uname="fastvm-rhel-7-4-96" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member"> + <lrm id="2"> + <lrm_resources> + <lrm_resource id="fence-fastvm-rhel-7-4-95" type="fence_xvm" class="stonith"> + <lrm_rsc_op id="fence-fastvm-rhel-7-4-95_last_0" operation_key="fence-fastvm-rhel-7-4-95_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="8:1:0:0319dbbb-5aac-4efe-b719-e59213a5af86" transition-magic="0:0;8:1:0:0319dbbb-5aac-4efe-b719-e59213a5af86" on_node="fastvm-rhel-7-4-96" call-id="15" rc-code="0" op-status="0" interval="0" last-run="1512045355" last-rc-change="1512045355" exec-time="27" queue-time="0" op-digest="1f5e25ac7aeffe6b7ef496aa2beef389"/> + <lrm_rsc_op id="fence-fastvm-rhel-7-4-95_monitor_30000" operation_key="fence-fastvm-rhel-7-4-95_monitor_30000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="9:1:0:0319dbbb-5aac-4efe-b719-e59213a5af86" transition-magic="0:0;9:1:0:0319dbbb-5aac-4efe-b719-e59213a5af86" on_node="fastvm-rhel-7-4-96" call-id="16" rc-code="0" op-status="0" interval="30000" last-rc-change="1512045356" exec-time="27" queue-time="0" op-digest="06c9171b9535dbe0c70fade4a335add7"/> + </lrm_resource> + <lrm_resource id="fence-fastvm-rhel-7-4-96" type="fence_xvm" class="stonith"> + <lrm_rsc_op id="fence-fastvm-rhel-7-4-96_last_0" operation_key="fence-fastvm-rhel-7-4-96_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="6:1:7:0319dbbb-5aac-4efe-b719-e59213a5af86" transition-magic="0:7;6:1:7:0319dbbb-5aac-4efe-b719-e59213a5af86" on_node="fastvm-rhel-7-4-96" call-id="9" rc-code="7" op-status="0" interval="0" last-run="1512045354" last-rc-change="1512045354" exec-time="0" queue-time="0" op-digest="ebbe6c92ee38534505179a50abeedbf4"/> + </lrm_resource> + <lrm_resource id="DB2_HADR" type="db2" class="ocf" provider="heartbeat"> + <lrm_rsc_op id="DB2_HADR_last_0" operation_key="DB2_HADR_demote_0" operation="demote" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="13:7:0:0319dbbb-5aac-4efe-b719-e59213a5af86" transition-magic="0:1;13:7:0:0319dbbb-5aac-4efe-b719-e59213a5af86" on_node="fastvm-rhel-7-4-96" call-id="25" rc-code="1" op-status="0" interval="0" last-run="1512045470" last-rc-change="1512045470" exec-time="422" queue-time="0" op-digest="379ed3d6241b8a7012b493797c3fa211"/> + <lrm_rsc_op id="DB2_HADR_last_failure_0" operation_key="DB2_HADR_demote_0" operation="demote" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="13:7:0:0319dbbb-5aac-4efe-b719-e59213a5af86" transition-magic="0:1;13:7:0:0319dbbb-5aac-4efe-b719-e59213a5af86" on_node="fastvm-rhel-7-4-96" call-id="25" rc-code="1" op-status="0" interval="0" last-rc-change="1512045470" exec-time="422" queue-time="0" op-digest="379ed3d6241b8a7012b493797c3fa211" last-run="1512045470"/> + </lrm_resource> + </lrm_resources> + </lrm> + <transient_attributes id="2"> + <instance_attributes id="status-2"> + <nvpair id="status-2-shutdown" name="shutdown" value="0"/> + <nvpair id="status-2-fail-count-DB2_HADR" name="fail-count-DB2_HADR" value="2"/> + <nvpair id="status-2-last-failure-DB2_HADR" name="last-failure-DB2_HADR" value="1512045470"/> + <nvpair id="status-2-promoted-DB2_HADR" name="master-DB2_HADR" value="10000"/> + </instance_attributes> + </transient_attributes> + </node_state> + </status> +</cib> |