summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/exp/migrate-1.exp
diff options
context:
space:
mode:
Diffstat (limited to 'cts/scheduler/exp/migrate-1.exp')
-rw-r--r--cts/scheduler/exp/migrate-1.exp68
1 files changed, 68 insertions, 0 deletions
diff --git a/cts/scheduler/exp/migrate-1.exp b/cts/scheduler/exp/migrate-1.exp
new file mode 100644
index 0000000..049337d
--- /dev/null
+++ b/cts/scheduler/exp/migrate-1.exp
@@ -0,0 +1,68 @@
+<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="5" operation="migrate_from" operation_key="rsc3_migrate_from_0" on_node="node2" on_node_uuid="node2">
+ <primitive id="rsc3" class="ocf" provider="heartbeat" type="apache"/>
+ <attributes CRM_meta_migrate_source="node1" CRM_meta_migrate_target="node2" CRM_meta_on_node="node2" CRM_meta_on_node_uuid="node2" CRM_meta_timeout="20000" allow_migrate="on" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="4" operation="migrate_to" operation_key="rsc3_migrate_to_0" on_node="node1" on_node_uuid="node1"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="1">
+ <action_set>
+ <rsc_op id="4" operation="migrate_to" operation_key="rsc3_migrate_to_0" on_node="node1" on_node_uuid="node1">
+ <primitive id="rsc3" class="ocf" provider="heartbeat" type="apache"/>
+ <attributes CRM_meta_migrate_source="node1" CRM_meta_migrate_target="node2" CRM_meta_on_node="node1" CRM_meta_on_node_uuid="node1" CRM_meta_record_pending="true" CRM_meta_timeout="20000" allow_migrate="on" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="1" operation="monitor" operation_key="rsc3_monitor_0" on_node="node2" on_node_uuid="node2"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="2">
+ <action_set>
+ <pseudo_event id="3" operation="start" operation_key="rsc3_start_0">
+ <attributes CRM_meta_timeout="20000" allow_migrate="on" />
+ </pseudo_event>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="1" operation="monitor" operation_key="rsc3_monitor_0" on_node="node2" on_node_uuid="node2"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="2" operation="stop" operation_key="rsc3_stop_0" on_node="node1" on_node_uuid="node1"/>
+ </trigger>
+ <trigger>
+ <rsc_op id="5" operation="migrate_from" operation_key="rsc3_migrate_from_0" on_node="node2" on_node_uuid="node2"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="3">
+ <action_set>
+ <rsc_op id="2" operation="stop" operation_key="rsc3_stop_0" on_node="node1" on_node_uuid="node1">
+ <primitive id="rsc3" class="ocf" provider="heartbeat" type="apache"/>
+ <attributes CRM_meta_on_node="node1" CRM_meta_on_node_uuid="node1" CRM_meta_timeout="20000" allow_migrate="on" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="5" operation="migrate_from" operation_key="rsc3_migrate_from_0" on_node="node2" on_node_uuid="node2"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="4">
+ <action_set>
+ <rsc_op id="1" operation="monitor" operation_key="rsc3_monitor_0" on_node="node2" on_node_uuid="node2">
+ <primitive id="rsc3" class="ocf" provider="heartbeat" type="apache"/>
+ <attributes CRM_meta_on_node="node2" CRM_meta_on_node_uuid="node2" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" allow_migrate="on" />
+ </rsc_op>
+ </action_set>
+ <inputs/>
+ </synapse>
+</transition_graph>