summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/exp/migrate-begin.exp
diff options
context:
space:
mode:
Diffstat (limited to 'cts/scheduler/exp/migrate-begin.exp')
-rw-r--r--cts/scheduler/exp/migrate-begin.exp79
1 files changed, 79 insertions, 0 deletions
diff --git a/cts/scheduler/exp/migrate-begin.exp b/cts/scheduler/exp/migrate-begin.exp
new file mode 100644
index 0000000..e4e2dc2
--- /dev/null
+++ b/cts/scheduler/exp/migrate-begin.exp
@@ -0,0 +1,79 @@
+<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="14" operation="migrate_from" operation_key="test-vm_migrate_from_0" on_node="hex-13" on_node_uuid="hex-13">
+ <primitive id="test-vm" class="ocf" provider="heartbeat" type="Xen"/>
+ <attributes CRM_meta_migrate_source="hex-14" CRM_meta_migrate_target="hex-13" CRM_meta_on_node="hex-13" CRM_meta_on_node_uuid="hex-13" CRM_meta_record_pending="true" CRM_meta_timeout="600000" name="test-vm" xmfile="/var/lib/xen/images/SLES_11_SP1_JeOS_Xen_Guest.x86_64-0.0.1.xenconfig"/>
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="13" operation="migrate_to" operation_key="test-vm_migrate_to_0" on_node="hex-14" on_node_uuid="hex-14"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="1">
+ <action_set>
+ <rsc_op id="13" operation="migrate_to" operation_key="test-vm_migrate_to_0" on_node="hex-14" on_node_uuid="hex-14">
+ <primitive id="test-vm" class="ocf" provider="heartbeat" type="Xen"/>
+ <attributes CRM_meta_migrate_source="hex-14" CRM_meta_migrate_target="hex-13" CRM_meta_on_node="hex-14" CRM_meta_on_node_uuid="hex-14" CRM_meta_record_pending="true" CRM_meta_timeout="600000" name="test-vm" xmfile="/var/lib/xen/images/SLES_11_SP1_JeOS_Xen_Guest.x86_64-0.0.1.xenconfig"/>
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <pseudo_event id="2" operation="load_stopped_hex-13" operation_key="load_stopped_hex-13"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="2">
+ <action_set>
+ <pseudo_event id="12" operation="start" operation_key="test-vm_start_0">
+ <attributes CRM_meta_record_pending="true" CRM_meta_timeout="600000" name="test-vm" xmfile="/var/lib/xen/images/SLES_11_SP1_JeOS_Xen_Guest.x86_64-0.0.1.xenconfig"/>
+ </pseudo_event>
+ </action_set>
+ <inputs>
+ <trigger>
+ <pseudo_event id="2" operation="load_stopped_hex-13" operation_key="load_stopped_hex-13"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="11" operation="stop" operation_key="test-vm_stop_0" on_node="hex-14" on_node_uuid="hex-14"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="14" operation="migrate_from" operation_key="test-vm_migrate_from_0" on_node="hex-13" on_node_uuid="hex-13"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="3">
+ <action_set>
+ <rsc_op id="11" operation="stop" operation_key="test-vm_stop_0" on_node="hex-14" on_node_uuid="hex-14">
+ <primitive id="test-vm" class="ocf" provider="heartbeat" type="Xen"/>
+ <attributes CRM_meta_on_node="hex-14" CRM_meta_on_node_uuid="hex-14" CRM_meta_record_pending="true" CRM_meta_timeout="600000" name="test-vm" xmfile="/var/lib/xen/images/SLES_11_SP1_JeOS_Xen_Guest.x86_64-0.0.1.xenconfig"/>
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="14" operation="migrate_from" operation_key="test-vm_migrate_from_0" on_node="hex-13" on_node_uuid="hex-13"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="4">
+ <action_set>
+ <pseudo_event id="2" operation="load_stopped_hex-13" operation_key="load_stopped_hex-13">
+ <attributes />
+ </pseudo_event>
+ </action_set>
+ <inputs/>
+ </synapse>
+ <synapse id="5">
+ <action_set>
+ <pseudo_event id="1" operation="load_stopped_hex-14" operation_key="load_stopped_hex-14">
+ <attributes />
+ </pseudo_event>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="11" operation="stop" operation_key="test-vm_stop_0" on_node="hex-14" on_node_uuid="hex-14"/>
+ </trigger>
+ </inputs>
+ </synapse>
+</transition_graph>