diff options
Diffstat (limited to 'cts/scheduler/exp/start-then-stop-with-unfence.exp')
-rw-r--r-- | cts/scheduler/exp/start-then-stop-with-unfence.exp | 159 |
1 files changed, 159 insertions, 0 deletions
diff --git a/cts/scheduler/exp/start-then-stop-with-unfence.exp b/cts/scheduler/exp/start-then-stop-with-unfence.exp new file mode 100644 index 0000000..69cfb63 --- /dev/null +++ b/cts/scheduler/exp/start-then-stop-with-unfence.exp @@ -0,0 +1,159 @@ +<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="7" operation="monitor" operation_key="mpath-node2_monitor_0" on_node="rhel7-node1.example.com" on_node_uuid="1"> + <primitive id="mpath-node2" class="stonith" type="fence_mpath"/> + <attributes CRM_meta_on_node="rhel7-node1.example.com" CRM_meta_on_node_uuid="1" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" devices="/dev/mapper/clustPVa" key="1234" pcmk_host_list="rhel7-node2.example.com"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="5" operation="stonith" operation_key="stonith-rhel7-node1.example.com-on" on_node="rhel7-node1.example.com" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="1"> + <action_set> + <rsc_op id="12" operation="monitor" operation_key="mpath-node1_monitor_60000" on_node="rhel7-node1.example.com" on_node_uuid="1"> + <primitive id="mpath-node1" class="stonith" type="fence_mpath"/> + <attributes CRM_meta_interval="60000" CRM_meta_name="monitor" CRM_meta_on_node="rhel7-node1.example.com" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" devices="/dev/mapper/clustPVa" key="1233" pcmk_host_list="rhel7-node1.example.com"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="11" operation="start" operation_key="mpath-node1_start_0" on_node="rhel7-node1.example.com" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="2"> + <action_set> + <rsc_op id="11" operation="start" operation_key="mpath-node1_start_0" on_node="rhel7-node1.example.com" on_node_uuid="1"> + <primitive id="mpath-node1" class="stonith" type="fence_mpath"/> + <attributes CRM_meta_on_node="rhel7-node1.example.com" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" devices="/dev/mapper/clustPVa" key="1233" pcmk_host_list="rhel7-node1.example.com"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="5" operation="stonith" operation_key="stonith-rhel7-node1.example.com-on" on_node="rhel7-node1.example.com" on_node_uuid="1"/> + </trigger> + <trigger> + <rsc_op id="8" operation="monitor" operation_key="mpath-node1_monitor_0" on_node="rhel7-node1.example.com" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="3"> + <action_set> + <rsc_op id="8" operation="monitor" operation_key="mpath-node1_monitor_0" on_node="rhel7-node1.example.com" on_node_uuid="1"> + <primitive id="mpath-node1" class="stonith" type="fence_mpath"/> + <attributes CRM_meta_on_node="rhel7-node1.example.com" CRM_meta_on_node_uuid="1" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" devices="/dev/mapper/clustPVa" key="1233" pcmk_host_list="rhel7-node1.example.com"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="5" operation="stonith" operation_key="stonith-rhel7-node1.example.com-on" on_node="rhel7-node1.example.com" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="4"> + <action_set> + <rsc_op id="15" operation="monitor" operation_key="ip1_monitor_10000" on_node="rhel7-node1.example.com" on_node_uuid="1"> + <primitive id="ip1" class="ocf" provider="heartbeat" type="IPaddr2"/> + <attributes CRM_meta_interval="10000" CRM_meta_name="monitor" CRM_meta_on_node="rhel7-node1.example.com" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" cidr_netmask="24" ip="192.168.143.161"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="14" operation="start" operation_key="ip1_start_0" on_node="rhel7-node1.example.com" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="5"> + <action_set> + <rsc_op id="14" operation="start" operation_key="ip1_start_0" on_node="rhel7-node1.example.com" on_node_uuid="1"> + <primitive id="ip1" class="ocf" provider="heartbeat" type="IPaddr2"/> + <attributes CRM_meta_name="start" CRM_meta_on_node="rhel7-node1.example.com" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" cidr_netmask="24" ip="192.168.143.161"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="5" operation="stonith" operation_key="stonith-rhel7-node1.example.com-on" on_node="rhel7-node1.example.com" on_node_uuid="1"/> + </trigger> + <trigger> + <rsc_op id="13" operation="stop" operation_key="ip1_stop_0" on_node="rhel7-node2.example.com" on_node_uuid="2"/> + </trigger> + </inputs> + </synapse> + <synapse id="6"> + <action_set> + <rsc_op id="13" operation="stop" operation_key="ip1_stop_0" on_node="rhel7-node2.example.com" on_node_uuid="2"> + <primitive id="ip1" class="ocf" provider="heartbeat" type="IPaddr2"/> + <attributes CRM_meta_name="stop" CRM_meta_on_node="rhel7-node2.example.com" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" cidr_netmask="24" ip="192.168.143.161"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="23" operation="running" operation_key="jrummy-clone_running_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="7"> + <action_set> + <rsc_op id="21" operation="monitor" operation_key="jrummy_monitor_10000" internal_operation_key="jrummy:1_monitor_10000" on_node="rhel7-node1.example.com" on_node_uuid="1"> + <primitive id="jrummy" long-id="jrummy:1" class="ocf" provider="heartbeat" type="jrummyRA"/> + <attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_interval="10000" CRM_meta_name="monitor" CRM_meta_notify="false" CRM_meta_on_node="rhel7-node1.example.com" CRM_meta_on_node_uuid="1" CRM_meta_timeout="30000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="20" operation="start" operation_key="jrummy_start_0" internal_operation_key="jrummy:1_start_0" on_node="rhel7-node1.example.com" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="8"> + <action_set> + <rsc_op id="20" operation="start" operation_key="jrummy_start_0" internal_operation_key="jrummy:1_start_0" on_node="rhel7-node1.example.com" on_node_uuid="1"> + <primitive id="jrummy" long-id="jrummy:1" class="ocf" provider="heartbeat" type="jrummyRA"/> + <attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_name="start" CRM_meta_notify="false" CRM_meta_on_node="rhel7-node1.example.com" CRM_meta_on_node_uuid="1" CRM_meta_timeout="300000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="5" operation="stonith" operation_key="stonith-rhel7-node1.example.com-on" on_node="rhel7-node1.example.com" on_node_uuid="1"/> + </trigger> + <trigger> + <pseudo_event id="22" operation="start" operation_key="jrummy-clone_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="9" priority="1000000"> + <action_set> + <pseudo_event id="23" operation="running" operation_key="jrummy-clone_running_0"> + <attributes CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <rsc_op id="20" operation="start" operation_key="jrummy_start_0" internal_operation_key="jrummy:1_start_0" on_node="rhel7-node1.example.com" on_node_uuid="1"/> + </trigger> + <trigger> + <pseudo_event id="22" operation="start" operation_key="jrummy-clone_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="10"> + <action_set> + <pseudo_event id="22" operation="start" operation_key="jrummy-clone_start_0"> + <attributes CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs/> + </synapse> + <synapse id="11"> + <action_set> + <crm_event id="5" operation="stonith" operation_key="stonith-rhel7-node1.example.com-on" on_node="rhel7-node1.example.com" on_node_uuid="1"> + <attributes CRM_meta_digests_all="mpath-node1:fence_mpath:019ed48e26413030411da3ae8888a649,mpath-node2:fence_mpath:b97ef86afabe0426040d1bef247023ee," CRM_meta_digests_secure="mpath-node1:fence_mpath:21f9562fe6837f7357aab98ba69f71fb,mpath-node2:fence_mpath:563e5d6a67b7dcdb65d2f0325aed9fc1," CRM_meta_on_node="rhel7-node1.example.com" CRM_meta_on_node_uuid="1" CRM_meta_probe_complete="true" CRM_meta_shutdown="0" CRM_meta_stonith_action="on" /> + </crm_event> + </action_set> + <inputs/> + </synapse> +</transition_graph> |