diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:53:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:53:20 +0000 |
commit | e5a812082ae033afb1eed82c0f2df3d0f6bdc93f (patch) | |
tree | a6716c9275b4b413f6c9194798b34b91affb3cc7 /cts/scheduler/exp/stonith-3.exp | |
parent | Initial commit. (diff) | |
download | pacemaker-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/exp/stonith-3.exp')
-rw-r--r-- | cts/scheduler/exp/stonith-3.exp | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/cts/scheduler/exp/stonith-3.exp b/cts/scheduler/exp/stonith-3.exp new file mode 100644 index 0000000..09e1314 --- /dev/null +++ b/cts/scheduler/exp/stonith-3.exp @@ -0,0 +1,130 @@ +<transition_graph cluster-delay="60s" stonith-timeout="70s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY" transition_id="0"> + <synapse id="0"> + <action_set> + <rsc_op id="4" operation="monitor" operation_key="prmIpPostgreSQLDB_monitor_30000" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"> + <primitive id="prmIpPostgreSQLDB" class="ocf" provider="heartbeat" type="IPaddr"/> + <attributes CRM_meta_interval="30000" CRM_meta_name="monitor" CRM_meta_on_fail="fence" CRM_meta_on_node="rh5node2" CRM_meta_on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6" CRM_meta_timeout="60000" cidr_netmask="24" ip="172.16.91.120" nic="eth0"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="3" operation="start" operation_key="prmIpPostgreSQLDB_start_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"/> + </trigger> + </inputs> + </synapse> + <synapse id="1"> + <action_set> + <rsc_op id="3" operation="start" operation_key="prmIpPostgreSQLDB_start_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"> + <primitive id="prmIpPostgreSQLDB" class="ocf" provider="heartbeat" type="IPaddr"/> + <attributes CRM_meta_name="start" CRM_meta_on_fail="restart" CRM_meta_on_node="rh5node2" CRM_meta_on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6" CRM_meta_timeout="60000" cidr_netmask="24" ip="172.16.91.120" nic="eth0"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="1" operation="monitor" operation_key="prmIpPostgreSQLDB_monitor_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"/> + </trigger> + <trigger> + <crm_event id="18" operation="stonith" operation_key="stonith-rh5node1-reboot" on_node="rh5node1" on_node_uuid="286f4fcb-519e-4a23-b39f-9ab0017d0442"/> + </trigger> + </inputs> + </synapse> + <synapse id="2"> + <action_set> + <rsc_op id="1" operation="monitor" operation_key="prmIpPostgreSQLDB_monitor_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"> + <primitive id="prmIpPostgreSQLDB" class="ocf" provider="heartbeat" type="IPaddr"/> + <attributes CRM_meta_on_node="rh5node2" CRM_meta_on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6" CRM_meta_op_target_rc="7" CRM_meta_timeout="60000" cidr_netmask="24" ip="172.16.91.120" nic="eth0"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="3"> + <action_set> + <pseudo_event id="7" operation="running" operation_key="grpStonith:0_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="5" operation="start" operation_key="prmStonith:0_start_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"/> + </trigger> + <trigger> + <pseudo_event id="6" operation="start" operation_key="grpStonith:0_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="4"> + <action_set> + <pseudo_event id="6" operation="start" operation_key="grpStonith:0_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> + <trigger> + <pseudo_event id="14" operation="start" operation_key="clnStonith_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="5"> + <action_set> + <rsc_op id="5" operation="start" operation_key="prmStonith:0_start_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"> + <primitive id="prmStonith" long-id="prmStonith:0" class="stonith" type="external/ssh"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="rh5node2" CRM_meta_on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6" CRM_meta_timeout="20000" hostlist="rh5node1 rh5node2" stonith-timeout="70s"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="6" operation="start" operation_key="grpStonith:0_start_0"/> + </trigger> + <trigger> + <crm_event id="18" operation="stonith" operation_key="stonith-rh5node1-reboot" on_node="rh5node1" on_node_uuid="286f4fcb-519e-4a23-b39f-9ab0017d0442"/> + </trigger> + </inputs> + </synapse> + <synapse id="6"> + <action_set> + <rsc_op id="2" operation="monitor" operation_key="prmStonith:0_monitor_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"> + <primitive id="prmStonith" long-id="prmStonith:0" class="stonith" type="external/ssh"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="rh5node2" CRM_meta_on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" hostlist="rh5node1 rh5node2" stonith-timeout="70s"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="7" priority="1000000"> + <action_set> + <pseudo_event id="15" operation="running" operation_key="clnStonith_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> + <pseudo_event id="7" operation="running" operation_key="grpStonith:0_running_0"/> + </trigger> + <trigger> + <pseudo_event id="14" operation="start" operation_key="clnStonith_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="8"> + <action_set> + <pseudo_event id="14" operation="start" operation_key="clnStonith_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> + <trigger> + <rsc_op id="2" operation="monitor" operation_key="prmStonith:0_monitor_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"/> + </trigger> + </inputs> + </synapse> + <synapse id="9"> + <action_set> + <crm_event id="18" operation="stonith" operation_key="stonith-rh5node1-reboot" on_node="rh5node1" on_node_uuid="286f4fcb-519e-4a23-b39f-9ab0017d0442"> + <attributes CRM_meta_on_node="rh5node1" CRM_meta_on_node_uuid="286f4fcb-519e-4a23-b39f-9ab0017d0442" CRM_meta_stonith_action="reboot" /> + <downed> + <node id="286f4fcb-519e-4a23-b39f-9ab0017d0442"/> + </downed> + </crm_event> + </action_set> + <inputs/> + </synapse> +</transition_graph> |