diff options
Diffstat (limited to 'cts/scheduler/exp/monitor-onfail-restart.exp')
-rw-r--r-- | cts/scheduler/exp/monitor-onfail-restart.exp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/cts/scheduler/exp/monitor-onfail-restart.exp b/cts/scheduler/exp/monitor-onfail-restart.exp new file mode 100644 index 0000000..4586dd2 --- /dev/null +++ b/cts/scheduler/exp/monitor-onfail-restart.exp @@ -0,0 +1,37 @@ +<transition_graph cluster-delay="60s" stonith-timeout="60s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY" transition_id="0"> + <synapse id="0"> + <action_set> + <rsc_op id="3" operation="start" operation_key="A_start_0" on_node="fc16-builder" on_node_uuid="fc16-builder"> + <primitive id="A" class="ocf" provider="pacemaker" type="Dummy"/> + <attributes CRM_meta_name="start" CRM_meta_on_fail="restart" CRM_meta_on_node="fc16-builder" CRM_meta_on_node_uuid="fc16-builder" CRM_meta_timeout="30000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="2" operation="stop" operation_key="A_stop_0" on_node="fc16-builder" on_node_uuid="fc16-builder"/> + </trigger> + </inputs> + </synapse> + <synapse id="1"> + <action_set> + <rsc_op id="2" operation="stop" operation_key="A_stop_0" on_node="fc16-builder" on_node_uuid="fc16-builder"> + <primitive id="A" class="ocf" provider="pacemaker" type="Dummy"/> + <attributes CRM_meta_name="stop" CRM_meta_on_fail="block" CRM_meta_on_node="fc16-builder" CRM_meta_on_node_uuid="fc16-builder" CRM_meta_timeout="30000" /> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="2"> + <action_set> + <rsc_op id="1" operation="monitor" operation_key="A_monitor_20000" on_node="fc16-builder" on_node_uuid="fc16-builder"> + <primitive id="A" class="ocf" provider="pacemaker" type="Dummy"/> + <attributes CRM_meta_interval="20000" CRM_meta_name="monitor" CRM_meta_on_fail="restart" CRM_meta_on_node="fc16-builder" CRM_meta_on_node_uuid="fc16-builder" CRM_meta_timeout="30000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="3" operation="start" operation_key="A_start_0" on_node="fc16-builder" on_node_uuid="fc16-builder"/> + </trigger> + </inputs> + </synapse> +</transition_graph> |