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/promoted-depend.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/promoted-depend.exp')
-rw-r--r-- | cts/scheduler/exp/promoted-depend.exp | 227 |
1 files changed, 227 insertions, 0 deletions
diff --git a/cts/scheduler/exp/promoted-depend.exp b/cts/scheduler/exp/promoted-depend.exp new file mode 100644 index 0000000..3c0d589 --- /dev/null +++ b/cts/scheduler/exp/promoted-depend.exp @@ -0,0 +1,227 @@ +<transition_graph cluster-delay="60s" stonith-timeout="60s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY" transition_id="0"> + <synapse id="0" priority="1000000"> + <action_set> + <rsc_op id="51" operation="notify" operation_key="drbd0:0_post_notify_start_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"> + <primitive id="drbd0" long-id="drbd0:0" class="ocf" provider="heartbeat" type="drbd"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="2" CRM_meta_notify="true" CRM_meta_notify_active_resource=" " CRM_meta_notify_active_uname=" " CRM_meta_notify_all_uname="vbox3 vbox4" CRM_meta_notify_available_uname="vbox3 vbox4" CRM_meta_notify_demote_resource=" " CRM_meta_notify_demote_uname=" " CRM_meta_notify_inactive_resource="drbd0:0 drbd0:1" CRM_meta_notify_key_operation="running" CRM_meta_notify_key_type="post" CRM_meta_notify_master_resource=" " CRM_meta_notify_master_uname=" " CRM_meta_notify_operation="start" CRM_meta_notify_promote_resource=" " CRM_meta_notify_promote_uname=" " CRM_meta_notify_promoted_resource=" " CRM_meta_notify_promoted_uname=" " CRM_meta_notify_slave_resource=" " CRM_meta_notify_slave_uname=" " CRM_meta_notify_start_resource="drbd0:0" CRM_meta_notify_start_uname="vbox4" CRM_meta_notify_stop_resource=" " CRM_meta_notify_stop_uname=" " CRM_meta_notify_type="post" CRM_meta_notify_unpromoted_resource=" " CRM_meta_notify_unpromoted_uname=" " CRM_meta_on_node="vbox4" CRM_meta_on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" CRM_meta_promoted_max="2" CRM_meta_promoted_node_max="2" CRM_meta_timeout="20000" drbd_resource="drbd0"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="16" operation="notify" operation_key="drbd_post_notify_running_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="1"> + <action_set> + <rsc_op id="9" operation="monitor" operation_key="drbd0:0_monitor_60000" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"> + <primitive id="drbd0" long-id="drbd0:0" class="ocf" provider="heartbeat" type="drbd"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_interval="60000" CRM_meta_master_max="2" CRM_meta_master_node_max="2" CRM_meta_name="monitor" CRM_meta_notify="true" CRM_meta_on_node="vbox4" CRM_meta_on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" CRM_meta_promoted_max="2" CRM_meta_promoted_node_max="2" CRM_meta_role="Unpromoted" CRM_meta_timeout="10000" drbd_resource="drbd0"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="8" operation="start" operation_key="drbd0:0_start_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"/> + </trigger> + <trigger> + <pseudo_event id="17" operation="notified" operation_key="drbd_confirmed-post_notify_running_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="2"> + <action_set> + <rsc_op id="8" operation="start" operation_key="drbd0:0_start_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"> + <primitive id="drbd0" long-id="drbd0:0" class="ocf" provider="heartbeat" type="drbd"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="2" CRM_meta_notify="true" CRM_meta_notify_active_resource=" " CRM_meta_notify_active_uname=" " CRM_meta_notify_all_uname="vbox3 vbox4" CRM_meta_notify_available_uname="vbox3 vbox4" CRM_meta_notify_demote_resource=" " CRM_meta_notify_demote_uname=" " CRM_meta_notify_inactive_resource="drbd0:0 drbd0:1" CRM_meta_notify_master_resource=" " CRM_meta_notify_master_uname=" " CRM_meta_notify_promote_resource=" " CRM_meta_notify_promote_uname=" " CRM_meta_notify_promoted_resource=" " CRM_meta_notify_promoted_uname=" " CRM_meta_notify_slave_resource=" " CRM_meta_notify_slave_uname=" " CRM_meta_notify_start_resource="drbd0:0" CRM_meta_notify_start_uname="vbox4" CRM_meta_notify_stop_resource=" " CRM_meta_notify_stop_uname=" " CRM_meta_notify_unpromoted_resource=" " CRM_meta_notify_unpromoted_uname=" " CRM_meta_on_node="vbox4" CRM_meta_on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" CRM_meta_promoted_max="2" CRM_meta_promoted_node_max="2" CRM_meta_timeout="20000" drbd_resource="drbd0"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="10" operation="start" operation_key="drbd_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="3"> + <action_set> + <rsc_op id="1" operation="monitor" operation_key="drbd0:0_monitor_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"> + <primitive id="drbd0" long-id="drbd0:0" class="ocf" provider="heartbeat" type="drbd"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="2" CRM_meta_notify="true" CRM_meta_on_node="vbox4" CRM_meta_on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" CRM_meta_op_target_rc="7" CRM_meta_promoted_max="2" CRM_meta_promoted_node_max="2" CRM_meta_timeout="10000" drbd_resource="drbd0"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="4" priority="1000000"> + <action_set> + <pseudo_event id="17" operation="notified" operation_key="drbd_confirmed-post_notify_running_0"> + <attributes CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="2" CRM_meta_notify="true" CRM_meta_notify_key_operation="running" CRM_meta_notify_key_type="confirmed-post" CRM_meta_notify_operation="start" CRM_meta_notify_type="post" CRM_meta_promoted_max="2" CRM_meta_promoted_node_max="2" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="16" operation="notify" operation_key="drbd_post_notify_running_0"/> + </trigger> + <trigger> + <rsc_op id="51" operation="notify" operation_key="drbd0:0_post_notify_start_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"/> + </trigger> + </inputs> + </synapse> + <synapse id="5" priority="1000000"> + <action_set> + <pseudo_event id="16" operation="notify" operation_key="drbd_post_notify_running_0"> + <attributes CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="2" CRM_meta_notify="true" CRM_meta_notify_key_operation="running" CRM_meta_notify_key_type="post" CRM_meta_notify_operation="start" CRM_meta_notify_type="post" CRM_meta_promoted_max="2" CRM_meta_promoted_node_max="2" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="11" operation="running" operation_key="drbd_running_0"/> + </trigger> + <trigger> + <pseudo_event id="15" operation="notified" operation_key="drbd_confirmed-pre_notify_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="6"> + <action_set> + <pseudo_event id="15" operation="notified" operation_key="drbd_confirmed-pre_notify_start_0"> + <attributes CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="2" CRM_meta_notify="true" CRM_meta_notify_key_operation="start" CRM_meta_notify_key_type="confirmed-pre" CRM_meta_notify_operation="start" CRM_meta_notify_type="pre" CRM_meta_promoted_max="2" CRM_meta_promoted_node_max="2" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="14" operation="notify" operation_key="drbd_pre_notify_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="7"> + <action_set> + <pseudo_event id="14" operation="notify" operation_key="drbd_pre_notify_start_0"> + <attributes CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="2" CRM_meta_notify="true" CRM_meta_notify_key_operation="start" CRM_meta_notify_key_type="pre" CRM_meta_notify_operation="start" CRM_meta_notify_type="pre" CRM_meta_promoted_max="2" CRM_meta_promoted_node_max="2" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs/> + </synapse> + <synapse id="8" priority="1000000"> + <action_set> + <pseudo_event id="11" operation="running" operation_key="drbd_running_0"> + <attributes CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="2" CRM_meta_notify="true" CRM_meta_promoted_max="2" CRM_meta_promoted_node_max="2" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <rsc_op id="8" operation="start" operation_key="drbd0:0_start_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"/> + </trigger> + <trigger> + <pseudo_event id="10" operation="start" operation_key="drbd_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="9"> + <action_set> + <pseudo_event id="10" operation="start" operation_key="drbd_start_0"> + <attributes CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="2" CRM_meta_notify="true" CRM_meta_promoted_max="2" CRM_meta_promoted_node_max="2" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <rsc_op id="1" operation="monitor" operation_key="drbd0:0_monitor_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"/> + </trigger> + <trigger> + <pseudo_event id="15" operation="notified" operation_key="drbd_confirmed-pre_notify_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="10"> + <action_set> + <rsc_op id="34" operation="start" operation_key="cman:0_start_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"> + <primitive id="cman" long-id="cman:0" class="lsb" type="cman"/> + <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="vbox4" CRM_meta_on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="35" operation="start" operation_key="cman_clone_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="11"> + <action_set> + <rsc_op id="2" operation="monitor" operation_key="cman:0_monitor_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"> + <primitive id="cman" long-id="cman:0" class="lsb" type="cman"/> + <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="vbox4" CRM_meta_on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="12" priority="1000000"> + <action_set> + <pseudo_event id="36" operation="running" operation_key="cman_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="34" operation="start" operation_key="cman:0_start_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"/> + </trigger> + <trigger> + <pseudo_event id="35" operation="start" operation_key="cman_clone_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="13"> + <action_set> + <pseudo_event id="35" operation="start" operation_key="cman_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> + <trigger> + <rsc_op id="2" operation="monitor" operation_key="cman:0_monitor_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"/> + </trigger> + </inputs> + </synapse> + <synapse id="14"> + <action_set> + <rsc_op id="3" operation="monitor" operation_key="clvmd:0_monitor_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"> + <primitive id="clvmd" long-id="clvmd:0" class="lsb" type="lxclvmd"/> + <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="vbox4" CRM_meta_on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="15"> + <action_set> + <rsc_op id="4" operation="monitor" operation_key="vmnci36_monitor_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"> + <primitive id="vmnci36" class="ocf" provider="heartbeat" type="vm"/> + <attributes CRM_meta_on_node="vbox4" CRM_meta_on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" CRM_meta_op_target_rc="7" CRM_meta_timeout="60000" target_role="started" vmid="vmnci36"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="16"> + <action_set> + <rsc_op id="5" operation="monitor" operation_key="vmnci37_monitor_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"> + <primitive id="vmnci37" class="ocf" provider="heartbeat" type="vm"/> + <attributes CRM_meta_on_node="vbox4" CRM_meta_on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" CRM_meta_op_target_rc="7" CRM_meta_timeout="60000" target_role="stopped" vmid="vmnci37"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="17"> + <action_set> + <rsc_op id="6" operation="monitor" operation_key="vmnci38_monitor_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"> + <primitive id="vmnci38" class="ocf" provider="heartbeat" type="vm"/> + <attributes CRM_meta_on_node="vbox4" CRM_meta_on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" CRM_meta_op_target_rc="7" CRM_meta_timeout="60000" target_role="stopped" vmid="vmnci38"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="18"> + <action_set> + <rsc_op id="7" operation="monitor" operation_key="vmnci55_monitor_0" on_node="vbox4" on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6"> + <primitive id="vmnci55" class="ocf" provider="heartbeat" type="vm"/> + <attributes CRM_meta_on_node="vbox4" CRM_meta_on_node_uuid="a9a4b0ab-fc17-48ab-9d91-29e398e15cb6" CRM_meta_op_target_rc="7" CRM_meta_timeout="60000" target_role="stopped" vmid="vmnci55"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> +</transition_graph> |