summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/monitor-onfail-restart.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/monitor-onfail-restart.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/monitor-onfail-restart.xml')
-rw-r--r--cts/scheduler/xml/monitor-onfail-restart.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/cts/scheduler/xml/monitor-onfail-restart.xml b/cts/scheduler/xml/monitor-onfail-restart.xml
new file mode 100644
index 0000000..b675d12
--- /dev/null
+++ b/cts/scheduler/xml/monitor-onfail-restart.xml
@@ -0,0 +1,47 @@
+<cib epoch="68" num_updates="23" admin_epoch="0" validate-with="pacemaker-3.0" crm_feature_set="3.0.6" update-origin="fc16-builder" update-client="crmd" cib-last-written="Fri Jul 13 13:51:09 2012" have-quorum="1" dc-uuid="fc16-builder">
+ <configuration>
+ <crm_config>
+ <cluster_property_set id="cib-bootstrap-options">
+ <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.7-7172b73"/>
+ <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
+ <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"/>
+ <nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1334241346"/>
+ </cluster_property_set>
+ </crm_config>
+ <nodes>
+ <node id="fc16-builder" type="member" uname="fc16-builder"/>
+ <node id="fc16-builder2" uname="fc16-builder2" type="member"/>
+ </nodes>
+ <resources>
+ <primitive class="ocf" id="A" provider="pacemaker" type="Dummy">
+ <operations id="A-operations">
+ <op id="A-op-monitor-20s" interval="20s" name="monitor" on-fail="restart" timeout="30s"/>
+ <op id="A-op-start-0" interval="0" name="start" on-fail="restart" timeout="30s"/>
+ <op id="A-op-stop-0" interval="0" name="stop" on-fail="block" timeout="30s"/>
+ </operations>
+ </primitive>
+ </resources>
+ <constraints/>
+ </configuration>
+ <status>
+ <node_state id="fc16-builder" uname="fc16-builder" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0">
+ <lrm id="fc16-builder">
+ <lrm_resources>
+ <lrm_resource id="A" type="Dummy" class="ocf" provider="pacemaker">
+ <lrm_rsc_op id="A_monitor_20000" operation_key="A_monitor_20000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="5:2:0:3fda26dc-7465-44d0-8b73-35bd2847ee00" transition-magic="0:0;5:2:0:3fda26dc-7465-44d0-8b73-35bd2847ee00" call-id="4" rc-code="0" op-status="0" interval="20000" last-rc-change="1334242312" exec-time="10" queue-time="0" op-digest="02a5bcf940fc8d3239701acb11438d6a"/>
+ <lrm_rsc_op id="A_last_failure_0" operation_key="A_monitor_20000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="6:0:0:3fda26dc-7465-44d0-8b73-35bd2847ee00" transition-magic="0:7;6:0:0:3fda26dc-7465-44d0-8b73-35bd2847ee00" call-id="4" rc-code="7" op-status="0" interval="20000" last-rc-change="1334242313" exec-time="10" queue-time="0" op-digest="02a5bcf940fc8d3239701acb11438d6a"/>
+ </lrm_resource>
+ </lrm_resources>
+ </lrm>
+ <transient_attributes id="fc16-builder">
+ <instance_attributes id="status-fc16-builder">
+ <nvpair id="status-fc16-builder-probe_complete" name="probe_complete" value="true"/>
+ <nvpair id="status-fc16-builder-fail-count-A" name="fail-count-A" value="1"/>
+ <nvpair id="status-fc16-builder-last-failure-A" name="last-failure-A" value="1334242314"/>
+ </instance_attributes>
+ </transient_attributes>
+ </node_state>
+ <node_state id="fc16-builder2" uname="fc16-builder2" ha="dead" in_ccm="true" crmd="offline" join="down" crm-debug-origin="do_state_transition"/>
+ </status>
+</cib>