diff options
Diffstat (limited to 'cts/scheduler/exp/migrate-start-complex.exp')
-rw-r--r-- | cts/scheduler/exp/migrate-start-complex.exp | 236 |
1 files changed, 236 insertions, 0 deletions
diff --git a/cts/scheduler/exp/migrate-start-complex.exp b/cts/scheduler/exp/migrate-start-complex.exp new file mode 100644 index 0000000..34df5e2 --- /dev/null +++ b/cts/scheduler/exp/migrate-start-complex.exp @@ -0,0 +1,236 @@ +<transition_graph cluster-delay="60s" stonith-timeout="60s" failed-stop-offset="INFINITY" failed-start-offset="1" transition_id="0"> + <synapse id="0"> + <action_set> + <rsc_op id="4" operation="start" operation_key="top_start_0" on_node="dom0-01" on_node_uuid="dom0-01"> + <primitive id="top" class="ocf" provider="heartbeat" type="Dummy"/> + <attributes CRM_meta_on_node="dom0-01" CRM_meta_on_node_uuid="dom0-01" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="3" operation="stop" operation_key="top_stop_0" on_node="dom0-02" on_node_uuid="dom0-02"/> + </trigger> + <trigger> + <pseudo_event id="6" operation="start" operation_key="domU-test01_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="1"> + <action_set> + <rsc_op id="3" operation="stop" operation_key="top_stop_0" on_node="dom0-02" on_node_uuid="dom0-02"> + <primitive id="top" class="ocf" provider="heartbeat" type="Dummy"/> + <attributes CRM_meta_on_node="dom0-02" CRM_meta_on_node_uuid="dom0-02" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="2"> + <action_set> + <rsc_op id="8" operation="migrate_from" operation_key="domU-test01_migrate_from_0" on_node="dom0-01" on_node_uuid="dom0-01"> + <primitive id="domU-test01" class="ocf" provider="heartbeat" type="Xen"/> + <attributes CRM_meta_migrate_source="dom0-02" CRM_meta_migrate_target="dom0-01" CRM_meta_on_node="dom0-01" CRM_meta_on_node_uuid="dom0-01" CRM_meta_timeout="20000" allow_migrate="true" xmfile="/etc/xen/test01.cfg"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="7" operation="migrate_to" operation_key="domU-test01_migrate_to_0" on_node="dom0-02" on_node_uuid="dom0-02"/> + </trigger> + </inputs> + </synapse> + <synapse id="3"> + <action_set> + <rsc_op id="7" operation="migrate_to" operation_key="domU-test01_migrate_to_0" on_node="dom0-02" on_node_uuid="dom0-02"> + <primitive id="domU-test01" class="ocf" provider="heartbeat" type="Xen"/> + <attributes CRM_meta_migrate_source="dom0-02" CRM_meta_migrate_target="dom0-01" CRM_meta_on_node="dom0-02" CRM_meta_on_node_uuid="dom0-02" CRM_meta_record_pending="true" CRM_meta_timeout="20000" allow_migrate="true" xmfile="/etc/xen/test01.cfg"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="3" operation="stop" operation_key="top_stop_0" on_node="dom0-02" on_node_uuid="dom0-02"/> + </trigger> + <trigger> + <pseudo_event id="21" operation="running" operation_key="clone-dom0-iscsi1_running_0"/> + </trigger> + <trigger> + <pseudo_event id="27" operation="running" operation_key="clone-bottom_running_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="4"> + <action_set> + <pseudo_event id="6" operation="start" operation_key="domU-test01_start_0"> + <attributes CRM_meta_timeout="20000" allow_migrate="true" xmfile="/etc/xen/test01.cfg"/> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <rsc_op id="5" operation="stop" operation_key="domU-test01_stop_0" on_node="dom0-02" on_node_uuid="dom0-02"/> + </trigger> + <trigger> + <rsc_op id="8" operation="migrate_from" operation_key="domU-test01_migrate_from_0" on_node="dom0-01" on_node_uuid="dom0-01"/> + </trigger> + <trigger> + <pseudo_event id="21" operation="running" operation_key="clone-dom0-iscsi1_running_0"/> + </trigger> + <trigger> + <pseudo_event id="27" operation="running" operation_key="clone-bottom_running_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="5"> + <action_set> + <rsc_op id="5" operation="stop" operation_key="domU-test01_stop_0" on_node="dom0-02" on_node_uuid="dom0-02"> + <primitive id="domU-test01" class="ocf" provider="heartbeat" type="Xen"/> + <attributes CRM_meta_on_node="dom0-02" CRM_meta_on_node_uuid="dom0-02" CRM_meta_timeout="20000" allow_migrate="true" xmfile="/etc/xen/test01.cfg"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="3" operation="stop" operation_key="top_stop_0" on_node="dom0-02" on_node_uuid="dom0-02"/> + </trigger> + <trigger> + <rsc_op id="8" operation="migrate_from" operation_key="domU-test01_migrate_from_0" on_node="dom0-01" on_node_uuid="dom0-01"/> + </trigger> + </inputs> + </synapse> + <synapse id="6"> + <action_set> + <pseudo_event id="17" operation="running" operation_key="dom0-iscsi1:1_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="15" operation="start" operation_key="dom0-iscsi1-cnx1:1_start_0" on_node="dom0-01" on_node_uuid="dom0-01"/> + </trigger> + <trigger> + <pseudo_event id="16" operation="start" operation_key="dom0-iscsi1:1_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="7"> + <action_set> + <pseudo_event id="16" operation="start" operation_key="dom0-iscsi1:1_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> + <pseudo_event id="20" operation="start" operation_key="clone-dom0-iscsi1_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="8"> + <action_set> + <rsc_op id="15" operation="start" operation_key="dom0-iscsi1-cnx1:1_start_0" on_node="dom0-01" on_node_uuid="dom0-01"> + <primitive id="dom0-iscsi1-cnx1" long-id="dom0-iscsi1-cnx1:1" class="ocf" provider="heartbeat" type="iscsi"/> + <attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="dom0-01" CRM_meta_on_node_uuid="dom0-01" CRM_meta_timeout="20000" portal="192.168.99.1" target="frontal-01:test01"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="16" operation="start" operation_key="dom0-iscsi1:1_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="9" priority="1000000"> + <action_set> + <pseudo_event id="21" operation="running" operation_key="clone-dom0-iscsi1_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> + <pseudo_event id="17" operation="running" operation_key="dom0-iscsi1:1_running_0"/> + </trigger> + <trigger> + <pseudo_event id="20" operation="start" operation_key="clone-dom0-iscsi1_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="10"> + <action_set> + <pseudo_event id="20" operation="start" operation_key="clone-dom0-iscsi1_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/> + </synapse> + <synapse id="11"> + <action_set> + <rsc_op id="24" operation="start" operation_key="bottom:0_start_0" on_node="dom0-01" on_node_uuid="dom0-01"> + <primitive id="bottom" long-id="bottom:0" class="ocf" provider="heartbeat" type="Dummy"/> + <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="dom0-01" CRM_meta_on_node_uuid="dom0-01" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="26" operation="start" operation_key="clone-bottom_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="12"> + <action_set> + <rsc_op id="1" operation="monitor" operation_key="bottom:0_monitor_0" on_node="dom0-01" on_node_uuid="dom0-01"> + <primitive id="bottom" long-id="bottom:0" class="ocf" provider="heartbeat" type="Dummy"/> + <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="dom0-01" CRM_meta_on_node_uuid="dom0-01" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="13"> + <action_set> + <rsc_op id="25" operation="start" operation_key="bottom:1_start_0" on_node="dom0-02" on_node_uuid="dom0-02"> + <primitive id="bottom" long-id="bottom:1" class="ocf" provider="heartbeat" type="Dummy"/> + <attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="dom0-02" CRM_meta_on_node_uuid="dom0-02" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="26" operation="start" operation_key="clone-bottom_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="14"> + <action_set> + <rsc_op id="2" operation="monitor" operation_key="bottom:1_monitor_0" on_node="dom0-02" on_node_uuid="dom0-02"> + <primitive id="bottom" long-id="bottom:1" class="ocf" provider="heartbeat" type="Dummy"/> + <attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="dom0-02" CRM_meta_on_node_uuid="dom0-02" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="15" priority="1000000"> + <action_set> + <pseudo_event id="27" operation="running" operation_key="clone-bottom_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="24" operation="start" operation_key="bottom:0_start_0" on_node="dom0-01" on_node_uuid="dom0-01"/> + </trigger> + <trigger> + <rsc_op id="25" operation="start" operation_key="bottom:1_start_0" on_node="dom0-02" on_node_uuid="dom0-02"/> + </trigger> + <trigger> + <pseudo_event id="26" operation="start" operation_key="clone-bottom_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="16"> + <action_set> + <pseudo_event id="26" operation="start" operation_key="clone-bottom_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="1" operation="monitor" operation_key="bottom:0_monitor_0" on_node="dom0-01" on_node_uuid="dom0-01"/> + </trigger> + <trigger> + <rsc_op id="2" operation="monitor" operation_key="bottom:1_monitor_0" on_node="dom0-02" on_node_uuid="dom0-02"/> + </trigger> + </inputs> + </synapse> +</transition_graph> |