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/unfence-definition.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/unfence-definition.exp')
-rw-r--r-- | cts/scheduler/exp/unfence-definition.exp | 407 |
1 files changed, 407 insertions, 0 deletions
diff --git a/cts/scheduler/exp/unfence-definition.exp b/cts/scheduler/exp/unfence-definition.exp new file mode 100644 index 0000000..6a098ed --- /dev/null +++ b/cts/scheduler/exp/unfence-definition.exp @@ -0,0 +1,407 @@ +<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="11" operation="start" operation_key="fencing_start_0" on_node="virt-1" on_node_uuid="1"> + <primitive id="fencing" class="stonith" type="fence_scsi"/> + <attributes CRM_meta_on_node="virt-1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="1" operation="stonith" operation_key="stonith-virt-1-on" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <rsc_op id="5" operation="stop" operation_key="fencing_stop_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <rsc_op id="6" operation="delete" operation_key="fencing_delete_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <rsc_op id="8" operation="monitor" operation_key="fencing_monitor_0" on_node="virt-3" on_node_uuid="3"/> + </trigger> + <trigger> + <crm_event id="29" operation="stonith" operation_key="stonith-virt-4-reboot" on_node="virt-4" on_node_uuid="4"/> + </trigger> + </inputs> + </synapse> + <synapse id="1"> + <action_set> + <rsc_op id="8" operation="monitor" operation_key="fencing_monitor_0" on_node="virt-3" on_node_uuid="3"> + <primitive id="fencing" class="stonith" type="fence_scsi"/> + <attributes CRM_meta_on_node="virt-3" CRM_meta_on_node_uuid="3" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="3" operation="stonith" operation_key="stonith-virt-3-on" on_node="virt-3" on_node_uuid="3"/> + </trigger> + </inputs> + </synapse> + <synapse id="2"> + <action_set> + <rsc_op id="6" operation="delete" operation_key="fencing_delete_0" on_node="virt-1" on_node_uuid="1"> + <primitive id="fencing" class="stonith" type="fence_scsi"/> + <attributes CRM_meta_on_node="virt-1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="5" operation="stop" operation_key="fencing_stop_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="3"> + <action_set> + <rsc_op id="5" operation="stop" operation_key="fencing_stop_0" on_node="virt-1" on_node_uuid="1"> + <primitive id="fencing" class="stonith" type="fence_scsi"/> + <attributes CRM_meta_on_node="virt-1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="4"> + <action_set> + <rsc_op id="13" operation="start" operation_key="dlm_start_0" internal_operation_key="dlm:0_start_0" on_node="virt-1" on_node_uuid="1"> + <primitive id="dlm" long-id="dlm:0" class="ocf" provider="pacemaker" type="controld"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="4" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="virt-1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="1" operation="stonith" operation_key="stonith-virt-1-on" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <rsc_op id="12" operation="stop" operation_key="dlm_stop_0" internal_operation_key="dlm:0_stop_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <pseudo_event id="17" operation="start" operation_key="dlm-clone_start_0"/> + </trigger> + <trigger> + <crm_event id="29" operation="stonith" operation_key="stonith-virt-4-reboot" on_node="virt-4" on_node_uuid="4"/> + </trigger> + </inputs> + </synapse> + <synapse id="5"> + <action_set> + <rsc_op id="12" operation="stop" operation_key="dlm_stop_0" internal_operation_key="dlm:0_stop_0" on_node="virt-1" on_node_uuid="1"> + <primitive id="dlm" long-id="dlm:0" class="ocf" provider="pacemaker" type="controld"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="4" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="virt-1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="19" operation="stop" operation_key="dlm-clone_stop_0"/> + </trigger> + <trigger> + <rsc_op id="21" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="6"> + <action_set> + <rsc_op id="16" operation="start" operation_key="dlm:2_start_0" on_node="virt-3" on_node_uuid="3"> + <primitive id="dlm" long-id="dlm:2" class="ocf" provider="pacemaker" type="controld"/> + <attributes CRM_meta_clone="2" CRM_meta_clone_max="4" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="virt-3" CRM_meta_on_node_uuid="3" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="3" operation="stonith" operation_key="stonith-virt-3-on" on_node="virt-3" on_node_uuid="3"/> + </trigger> + <trigger> + <pseudo_event id="17" operation="start" operation_key="dlm-clone_start_0"/> + </trigger> + <trigger> + <crm_event id="29" operation="stonith" operation_key="stonith-virt-4-reboot" on_node="virt-4" on_node_uuid="4"/> + </trigger> + </inputs> + </synapse> + <synapse id="7"> + <action_set> + <rsc_op id="9" operation="monitor" operation_key="dlm:2_monitor_0" on_node="virt-3" on_node_uuid="3"> + <primitive id="dlm" long-id="dlm:2" class="ocf" provider="pacemaker" type="controld"/> + <attributes CRM_meta_clone="2" CRM_meta_clone_max="4" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="virt-3" CRM_meta_on_node_uuid="3" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="3" operation="stonith" operation_key="stonith-virt-3-on" on_node="virt-3" on_node_uuid="3"/> + </trigger> + </inputs> + </synapse> + <synapse id="8" priority="1000000"> + <action_set> + <pseudo_event id="20" operation="stopped" operation_key="dlm-clone_stopped_0"> + <attributes CRM_meta_clone_max="4" 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="9" operation="monitor" operation_key="dlm:2_monitor_0" on_node="virt-3" on_node_uuid="3"/> + </trigger> + <trigger> + <rsc_op id="12" operation="stop" operation_key="dlm_stop_0" internal_operation_key="dlm:0_stop_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <pseudo_event id="19" operation="stop" operation_key="dlm-clone_stop_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="9"> + <action_set> + <pseudo_event id="19" operation="stop" operation_key="dlm-clone_stop_0"> + <attributes CRM_meta_clone_max="4" 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="28" operation="stopped" operation_key="clvmd-clone_stopped_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="10" priority="1000000"> + <action_set> + <pseudo_event id="18" operation="running" operation_key="dlm-clone_running_0"> + <attributes CRM_meta_clone_max="4" 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="13" operation="start" operation_key="dlm_start_0" internal_operation_key="dlm:0_start_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <rsc_op id="16" operation="start" operation_key="dlm:2_start_0" on_node="virt-3" on_node_uuid="3"/> + </trigger> + <trigger> + <pseudo_event id="17" operation="start" operation_key="dlm-clone_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="11"> + <action_set> + <pseudo_event id="17" operation="start" operation_key="dlm-clone_start_0"> + <attributes CRM_meta_clone_max="4" 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="9" operation="monitor" operation_key="dlm:2_monitor_0" on_node="virt-3" on_node_uuid="3"/> + </trigger> + <trigger> + <pseudo_event id="20" operation="stopped" operation_key="dlm-clone_stopped_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="12"> + <action_set> + <rsc_op id="22" operation="start" operation_key="clvmd_start_0" internal_operation_key="clvmd:0_start_0" on_node="virt-1" on_node_uuid="1"> + <primitive id="clvmd" long-id="clvmd:0" class="ocf" provider="heartbeat" type="clvm"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="4" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="virt-1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="1" operation="stonith" operation_key="stonith-virt-1-on" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <rsc_op id="13" operation="start" operation_key="dlm_start_0" internal_operation_key="dlm:0_start_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <rsc_op id="21" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <pseudo_event id="25" operation="start" operation_key="clvmd-clone_start_0"/> + </trigger> + <trigger> + <crm_event id="29" operation="stonith" operation_key="stonith-virt-4-reboot" on_node="virt-4" on_node_uuid="4"/> + </trigger> + </inputs> + </synapse> + <synapse id="13"> + <action_set> + <rsc_op id="21" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0" on_node="virt-1" on_node_uuid="1"> + <primitive id="clvmd" long-id="clvmd:0" class="ocf" provider="heartbeat" type="clvm"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="4" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="virt-1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="7" operation="monitor" operation_key="clvmd:1_monitor_0" on_node="virt-2" on_node_uuid="2"/> + </trigger> + <trigger> + <pseudo_event id="27" operation="stop" operation_key="clvmd-clone_stop_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="14"> + <action_set> + <rsc_op id="23" operation="start" operation_key="clvmd:1_start_0" on_node="virt-2" on_node_uuid="2"> + <primitive id="clvmd" long-id="clvmd:1" class="ocf" provider="heartbeat" type="clvm"/> + <attributes CRM_meta_clone="1" CRM_meta_clone_max="4" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="virt-2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="22" operation="start" operation_key="clvmd_start_0" internal_operation_key="clvmd:0_start_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <pseudo_event id="25" operation="start" operation_key="clvmd-clone_start_0"/> + </trigger> + <trigger> + <crm_event id="29" operation="stonith" operation_key="stonith-virt-4-reboot" on_node="virt-4" on_node_uuid="4"/> + </trigger> + </inputs> + </synapse> + <synapse id="15"> + <action_set> + <rsc_op id="7" operation="monitor" operation_key="clvmd:1_monitor_0" on_node="virt-2" on_node_uuid="2"> + <primitive id="clvmd" long-id="clvmd:1" class="ocf" provider="heartbeat" type="clvm"/> + <attributes CRM_meta_clone="1" CRM_meta_clone_max="4" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="virt-2" CRM_meta_on_node_uuid="2" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="16"> + <action_set> + <rsc_op id="24" operation="start" operation_key="clvmd:2_start_0" on_node="virt-3" on_node_uuid="3"> + <primitive id="clvmd" long-id="clvmd:2" class="ocf" provider="heartbeat" type="clvm"/> + <attributes CRM_meta_clone="2" CRM_meta_clone_max="4" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="virt-3" CRM_meta_on_node_uuid="3" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="3" operation="stonith" operation_key="stonith-virt-3-on" on_node="virt-3" on_node_uuid="3"/> + </trigger> + <trigger> + <rsc_op id="16" operation="start" operation_key="dlm:2_start_0" on_node="virt-3" on_node_uuid="3"/> + </trigger> + <trigger> + <rsc_op id="23" operation="start" operation_key="clvmd:1_start_0" on_node="virt-2" on_node_uuid="2"/> + </trigger> + <trigger> + <pseudo_event id="25" operation="start" operation_key="clvmd-clone_start_0"/> + </trigger> + <trigger> + <crm_event id="29" operation="stonith" operation_key="stonith-virt-4-reboot" on_node="virt-4" on_node_uuid="4"/> + </trigger> + </inputs> + </synapse> + <synapse id="17"> + <action_set> + <rsc_op id="10" operation="monitor" operation_key="clvmd:2_monitor_0" on_node="virt-3" on_node_uuid="3"> + <primitive id="clvmd" long-id="clvmd:2" class="ocf" provider="heartbeat" type="clvm"/> + <attributes CRM_meta_clone="2" CRM_meta_clone_max="4" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="virt-3" CRM_meta_on_node_uuid="3" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <crm_event id="3" operation="stonith" operation_key="stonith-virt-3-on" on_node="virt-3" on_node_uuid="3"/> + </trigger> + </inputs> + </synapse> + <synapse id="18" priority="1000000"> + <action_set> + <pseudo_event id="28" operation="stopped" operation_key="clvmd-clone_stopped_0"> + <attributes CRM_meta_clone_max="4" 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="7" operation="monitor" operation_key="clvmd:1_monitor_0" on_node="virt-2" on_node_uuid="2"/> + </trigger> + <trigger> + <rsc_op id="10" operation="monitor" operation_key="clvmd:2_monitor_0" on_node="virt-3" on_node_uuid="3"/> + </trigger> + <trigger> + <rsc_op id="21" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <pseudo_event id="27" operation="stop" operation_key="clvmd-clone_stop_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="19"> + <action_set> + <pseudo_event id="27" operation="stop" operation_key="clvmd-clone_stop_0"> + <attributes CRM_meta_clone_max="4" 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="20" priority="1000000"> + <action_set> + <pseudo_event id="26" operation="running" operation_key="clvmd-clone_running_0"> + <attributes CRM_meta_clone_max="4" 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="22" operation="start" operation_key="clvmd_start_0" internal_operation_key="clvmd:0_start_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <rsc_op id="23" operation="start" operation_key="clvmd:1_start_0" on_node="virt-2" on_node_uuid="2"/> + </trigger> + <trigger> + <rsc_op id="24" operation="start" operation_key="clvmd:2_start_0" on_node="virt-3" on_node_uuid="3"/> + </trigger> + <trigger> + <pseudo_event id="25" operation="start" operation_key="clvmd-clone_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="21"> + <action_set> + <pseudo_event id="25" operation="start" operation_key="clvmd-clone_start_0"> + <attributes CRM_meta_clone_max="4" 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="7" operation="monitor" operation_key="clvmd:1_monitor_0" on_node="virt-2" on_node_uuid="2"/> + </trigger> + <trigger> + <rsc_op id="10" operation="monitor" operation_key="clvmd:2_monitor_0" on_node="virt-3" on_node_uuid="3"/> + </trigger> + <trigger> + <pseudo_event id="18" operation="running" operation_key="dlm-clone_running_0"/> + </trigger> + <trigger> + <pseudo_event id="28" operation="stopped" operation_key="clvmd-clone_stopped_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="22"> + <action_set> + <crm_event id="29" operation="stonith" operation_key="stonith-virt-4-reboot" on_node="virt-4" on_node_uuid="4"> + <attributes CRM_meta_digests_all="fencing:fence_scsi:f2317cad3d54cec5d7d7aa7d0bf35cf8," CRM_meta_digests_secure="fencing:fence_scsi:f2317cad3d54cec5d7d7aa7d0bf35cf8," CRM_meta_on_node="virt-4" CRM_meta_on_node_uuid="4" CRM_meta_stonith_action="reboot" /> + <downed> + <node id="4"/> + </downed> + </crm_event> + </action_set> + <inputs/> + </synapse> + <synapse id="23"> + <action_set> + <crm_event id="3" operation="stonith" operation_key="stonith-virt-3-on" on_node="virt-3" on_node_uuid="3"> + <attributes CRM_meta_digests_all="fencing:fence_scsi:f2317cad3d54cec5d7d7aa7d0bf35cf8," CRM_meta_digests_secure="fencing:fence_scsi:f2317cad3d54cec5d7d7aa7d0bf35cf8," CRM_meta_on_node="virt-3" CRM_meta_on_node_uuid="3" CRM_meta_stonith_action="on" /> + </crm_event> + </action_set> + <inputs/> + </synapse> + <synapse id="24"> + <action_set> + <crm_event id="1" operation="stonith" operation_key="stonith-virt-1-on" on_node="virt-1" on_node_uuid="1"> + <attributes CRM_meta_digests_all="fencing:fence_scsi:f2317cad3d54cec5d7d7aa7d0bf35cf8," CRM_meta_digests_secure="fencing:fence_scsi:f2317cad3d54cec5d7d7aa7d0bf35cf8," CRM_meta_on_node="virt-1" CRM_meta_on_node_uuid="1" CRM_meta_stonith_action="on" /> + </crm_event> + </action_set> + <inputs> + <trigger> + <rsc_op id="12" operation="stop" operation_key="dlm_stop_0" internal_operation_key="dlm:0_stop_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + <trigger> + <rsc_op id="21" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0" on_node="virt-1" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> +</transition_graph> |