summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/monitor-onfail-stop.xml
diff options
context:
space:
mode:
Diffstat (limited to 'cts/scheduler/xml/monitor-onfail-stop.xml')
-rw-r--r--cts/scheduler/xml/monitor-onfail-stop.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/cts/scheduler/xml/monitor-onfail-stop.xml b/cts/scheduler/xml/monitor-onfail-stop.xml
new file mode 100644
index 0000000..153656f
--- /dev/null
+++ b/cts/scheduler/xml/monitor-onfail-stop.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:10 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="stop" 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="7" rc-code="0" op-status="0" interval="20000" last-rc-change="1334242313" 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>