summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/exp/8-am-then-bm-a-migrating-b-stopping.exp
blob: b236a1748249e0a82ae74a652e4e149328fcf06d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<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="7" 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="6" operation="migrate_to" operation_key="A_migrate_to_0" on_node="18node1" on_node_uuid="1"/>
      </trigger>
    </inputs>
  </synapse>
  <synapse id="1">
    <action_set>
      <rsc_op id="6" 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>
      <trigger>
        <rsc_op id="8" operation="stop" operation_key="B_stop_0" on_node="18node2" on_node_uuid="2"/>
      </trigger>
    </inputs>
  </synapse>
  <synapse id="2">
    <action_set>
      <rsc_op id="5" 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="4" operation="start" operation_key="A_start_0"/>
      </trigger>
    </inputs>
  </synapse>
  <synapse id="3">
    <action_set>
      <pseudo_event id="4" operation="start" operation_key="A_start_0">
        <attributes CRM_meta_timeout="20000" />
      </pseudo_event>
    </action_set>
    <inputs>
      <trigger>
        <rsc_op id="3" operation="stop" operation_key="A_stop_0" on_node="18node1" on_node_uuid="1"/>
      </trigger>
      <trigger>
        <rsc_op id="7" operation="migrate_from" operation_key="A_migrate_from_0" on_node="18node2" on_node_uuid="2"/>
      </trigger>
    </inputs>
  </synapse>
  <synapse id="4">
    <action_set>
      <rsc_op id="3" 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="7" operation="migrate_from" operation_key="A_migrate_from_0" on_node="18node2" on_node_uuid="2"/>
      </trigger>
      <trigger>
        <rsc_op id="8" operation="stop" operation_key="B_stop_0" on_node="18node2" on_node_uuid="2"/>
      </trigger>
    </inputs>
  </synapse>
  <synapse id="5">
    <action_set>
      <rsc_op id="8" operation="stop" operation_key="B_stop_0" on_node="18node2" on_node_uuid="2">
        <primitive id="B" class="ocf" provider="heartbeat" type="Dummy"/>
        <attributes CRM_meta_on_node="18node2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" />
      </rsc_op>
    </action_set>
    <inputs/>
  </synapse>
</transition_graph>