summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/exp/6-migrate-group.exp
diff options
context:
space:
mode:
Diffstat (limited to 'cts/scheduler/exp/6-migrate-group.exp')
-rw-r--r--cts/scheduler/exp/6-migrate-group.exp291
1 files changed, 291 insertions, 0 deletions
diff --git a/cts/scheduler/exp/6-migrate-group.exp b/cts/scheduler/exp/6-migrate-group.exp
new file mode 100644
index 0000000..1b17af5
--- /dev/null
+++ b/cts/scheduler/exp/6-migrate-group.exp
@@ -0,0 +1,291 @@
+<transition_graph cluster-delay="60s" stonith-timeout="60s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY" transition_id="0">
+ <synapse id="0">
+ <action_set>
+ <pseudo_event id="22" operation="stopped" operation_key="thegroup_stopped_0">
+ <attributes CRM_meta_timeout="20000" />
+ </pseudo_event>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="4" operation="stop" operation_key="A_stop_0" on_node="18node1" on_node_uuid="1"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="9" operation="stop" operation_key="B_stop_0" on_node="18node1" on_node_uuid="1"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="14" operation="stop" operation_key="C_stop_0" on_node="18node1" on_node_uuid="1"/>
+ </trigger>
+ <trigger>
+ <pseudo_event id="21" operation="stop" operation_key="thegroup_stop_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="1">
+ <action_set>
+ <pseudo_event id="21" operation="stop" operation_key="thegroup_stop_0">
+ <attributes CRM_meta_timeout="20000" />
+ </pseudo_event>
+ </action_set>
+ <inputs/>
+ </synapse>
+ <synapse id="2">
+ <action_set>
+ <pseudo_event id="20" operation="running" operation_key="thegroup_running_0">
+ <attributes CRM_meta_timeout="20000" />
+ </pseudo_event>
+ </action_set>
+ <inputs>
+ <trigger>
+ <pseudo_event id="5" operation="start" operation_key="A_start_0"/>
+ </trigger>
+ <trigger>
+ <pseudo_event id="10" operation="start" operation_key="B_start_0"/>
+ </trigger>
+ <trigger>
+ <pseudo_event id="15" operation="start" operation_key="C_start_0"/>
+ </trigger>
+ <trigger>
+ <pseudo_event id="19" operation="start" operation_key="thegroup_start_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="3">
+ <action_set>
+ <pseudo_event id="19" operation="start" operation_key="thegroup_start_0">
+ <attributes CRM_meta_timeout="20000" />
+ </pseudo_event>
+ </action_set>
+ <inputs>
+ <trigger>
+ <pseudo_event id="22" operation="stopped" operation_key="thegroup_stopped_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="4">
+ <action_set>
+ <rsc_op id="8" operation="migrate_from" operation_key="A_migrate_from_0" on_node="18node2" on_node_uuid="2">
+ <primitive id="A" class="ocf" provider="heartbeat" type="Dummy"/>
+ <attributes CRM_meta_migrate_source="18node1" CRM_meta_migrate_target="18node2" CRM_meta_on_node="18node2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="7" operation="migrate_to" operation_key="A_migrate_to_0" on_node="18node1" on_node_uuid="1"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="5">
+ <action_set>
+ <rsc_op id="7" operation="migrate_to" operation_key="A_migrate_to_0" on_node="18node1" on_node_uuid="1">
+ <primitive id="A" class="ocf" provider="heartbeat" type="Dummy"/>
+ <attributes CRM_meta_migrate_source="18node1" CRM_meta_migrate_target="18node2" CRM_meta_on_node="18node1" CRM_meta_on_node_uuid="1" CRM_meta_record_pending="true" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs/>
+ </synapse>
+ <synapse id="6">
+ <action_set>
+ <rsc_op id="6" operation="monitor" operation_key="A_monitor_60000" on_node="18node2" on_node_uuid="2">
+ <primitive id="A" class="ocf" provider="heartbeat" type="Dummy"/>
+ <attributes CRM_meta_interval="60000" CRM_meta_name="monitor" CRM_meta_on_node="18node2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <pseudo_event id="5" operation="start" operation_key="A_start_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="7">
+ <action_set>
+ <pseudo_event id="5" operation="start" operation_key="A_start_0">
+ <attributes CRM_meta_timeout="20000" />
+ </pseudo_event>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="4" operation="stop" operation_key="A_stop_0" on_node="18node1" on_node_uuid="1"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="8" operation="migrate_from" operation_key="A_migrate_from_0" on_node="18node2" on_node_uuid="2"/>
+ </trigger>
+ <trigger>
+ <pseudo_event id="19" operation="start" operation_key="thegroup_start_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="8">
+ <action_set>
+ <rsc_op id="4" operation="stop" operation_key="A_stop_0" on_node="18node1" on_node_uuid="1">
+ <primitive id="A" class="ocf" provider="heartbeat" type="Dummy"/>
+ <attributes CRM_meta_on_node="18node1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="8" operation="migrate_from" operation_key="A_migrate_from_0" on_node="18node2" on_node_uuid="2"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="9" operation="stop" operation_key="B_stop_0" on_node="18node1" on_node_uuid="1"/>
+ </trigger>
+ <trigger>
+ <pseudo_event id="21" operation="stop" operation_key="thegroup_stop_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="9">
+ <action_set>
+ <rsc_op id="13" operation="migrate_from" operation_key="B_migrate_from_0" on_node="18node2" on_node_uuid="2">
+ <primitive id="B" class="ocf" provider="heartbeat" type="Dummy"/>
+ <attributes CRM_meta_migrate_source="18node1" CRM_meta_migrate_target="18node2" CRM_meta_on_node="18node2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="12" operation="migrate_to" operation_key="B_migrate_to_0" on_node="18node1" on_node_uuid="1"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="10">
+ <action_set>
+ <rsc_op id="12" operation="migrate_to" operation_key="B_migrate_to_0" on_node="18node1" on_node_uuid="1">
+ <primitive id="B" class="ocf" provider="heartbeat" type="Dummy"/>
+ <attributes CRM_meta_migrate_source="18node1" CRM_meta_migrate_target="18node2" CRM_meta_on_node="18node1" CRM_meta_on_node_uuid="1" CRM_meta_record_pending="true" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="8" operation="migrate_from" operation_key="A_migrate_from_0" on_node="18node2" on_node_uuid="2"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="11">
+ <action_set>
+ <rsc_op id="11" operation="monitor" operation_key="B_monitor_60000" on_node="18node2" on_node_uuid="2">
+ <primitive id="B" class="ocf" provider="heartbeat" type="Dummy"/>
+ <attributes CRM_meta_interval="60000" CRM_meta_name="monitor" CRM_meta_on_node="18node2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <pseudo_event id="10" operation="start" operation_key="B_start_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="12">
+ <action_set>
+ <pseudo_event id="10" operation="start" operation_key="B_start_0">
+ <attributes CRM_meta_timeout="20000" />
+ </pseudo_event>
+ </action_set>
+ <inputs>
+ <trigger>
+ <pseudo_event id="5" operation="start" operation_key="A_start_0"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="9" operation="stop" operation_key="B_stop_0" on_node="18node1" on_node_uuid="1"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="13" operation="migrate_from" operation_key="B_migrate_from_0" on_node="18node2" on_node_uuid="2"/>
+ </trigger>
+ <trigger>
+ <pseudo_event id="19" operation="start" operation_key="thegroup_start_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="13">
+ <action_set>
+ <rsc_op id="9" operation="stop" operation_key="B_stop_0" on_node="18node1" on_node_uuid="1">
+ <primitive id="B" class="ocf" provider="heartbeat" type="Dummy"/>
+ <attributes CRM_meta_on_node="18node1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="13" operation="migrate_from" operation_key="B_migrate_from_0" on_node="18node2" on_node_uuid="2"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="14" operation="stop" operation_key="C_stop_0" on_node="18node1" on_node_uuid="1"/>
+ </trigger>
+ <trigger>
+ <pseudo_event id="21" operation="stop" operation_key="thegroup_stop_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="14">
+ <action_set>
+ <rsc_op id="18" operation="migrate_from" operation_key="C_migrate_from_0" on_node="18node2" on_node_uuid="2">
+ <primitive id="C" class="ocf" provider="heartbeat" type="Dummy"/>
+ <attributes CRM_meta_migrate_source="18node1" CRM_meta_migrate_target="18node2" CRM_meta_on_node="18node2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="17" operation="migrate_to" operation_key="C_migrate_to_0" on_node="18node1" on_node_uuid="1"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="15">
+ <action_set>
+ <rsc_op id="17" operation="migrate_to" operation_key="C_migrate_to_0" on_node="18node1" on_node_uuid="1">
+ <primitive id="C" class="ocf" provider="heartbeat" type="Dummy"/>
+ <attributes CRM_meta_migrate_source="18node1" CRM_meta_migrate_target="18node2" CRM_meta_on_node="18node1" CRM_meta_on_node_uuid="1" CRM_meta_record_pending="true" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="13" operation="migrate_from" operation_key="B_migrate_from_0" on_node="18node2" on_node_uuid="2"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="16">
+ <action_set>
+ <rsc_op id="16" operation="monitor" operation_key="C_monitor_60000" on_node="18node2" on_node_uuid="2">
+ <primitive id="C" class="ocf" provider="heartbeat" type="Dummy"/>
+ <attributes CRM_meta_interval="60000" CRM_meta_name="monitor" CRM_meta_on_node="18node2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <pseudo_event id="15" operation="start" operation_key="C_start_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="17">
+ <action_set>
+ <pseudo_event id="15" operation="start" operation_key="C_start_0">
+ <attributes CRM_meta_timeout="20000" />
+ </pseudo_event>
+ </action_set>
+ <inputs>
+ <trigger>
+ <pseudo_event id="10" operation="start" operation_key="B_start_0"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="14" operation="stop" operation_key="C_stop_0" on_node="18node1" on_node_uuid="1"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="18" operation="migrate_from" operation_key="C_migrate_from_0" on_node="18node2" on_node_uuid="2"/>
+ </trigger>
+ <trigger>
+ <pseudo_event id="19" operation="start" operation_key="thegroup_start_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="18">
+ <action_set>
+ <rsc_op id="14" operation="stop" operation_key="C_stop_0" on_node="18node1" on_node_uuid="1">
+ <primitive id="C" class="ocf" provider="heartbeat" type="Dummy"/>
+ <attributes CRM_meta_on_node="18node1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="18" operation="migrate_from" operation_key="C_migrate_from_0" on_node="18node2" on_node_uuid="2"/>
+ </trigger>
+ <trigger>
+ <pseudo_event id="21" operation="stop" operation_key="thegroup_stop_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+</transition_graph>