summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/exp/stonith-3.exp
blob: 09e13147f0ad0e28ce198452b9545daab7dc1e9f (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<transition_graph cluster-delay="60s" stonith-timeout="70s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY"  transition_id="0">
  <synapse id="0">
    <action_set>
      <rsc_op id="4" operation="monitor" operation_key="prmIpPostgreSQLDB_monitor_30000" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6">
        <primitive id="prmIpPostgreSQLDB" class="ocf" provider="heartbeat" type="IPaddr"/>
        <attributes CRM_meta_interval="30000" CRM_meta_name="monitor" CRM_meta_on_fail="fence" CRM_meta_on_node="rh5node2" CRM_meta_on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6" CRM_meta_timeout="60000" cidr_netmask="24"  ip="172.16.91.120" nic="eth0"/>
      </rsc_op>
    </action_set>
    <inputs>
      <trigger>
        <rsc_op id="3" operation="start" operation_key="prmIpPostgreSQLDB_start_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"/>
      </trigger>
    </inputs>
  </synapse>
  <synapse id="1">
    <action_set>
      <rsc_op id="3" operation="start" operation_key="prmIpPostgreSQLDB_start_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6">
        <primitive id="prmIpPostgreSQLDB" class="ocf" provider="heartbeat" type="IPaddr"/>
        <attributes CRM_meta_name="start" CRM_meta_on_fail="restart" CRM_meta_on_node="rh5node2" CRM_meta_on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6" CRM_meta_timeout="60000" cidr_netmask="24"  ip="172.16.91.120" nic="eth0"/>
      </rsc_op>
    </action_set>
    <inputs>
      <trigger>
        <rsc_op id="1" operation="monitor" operation_key="prmIpPostgreSQLDB_monitor_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"/>
      </trigger>
      <trigger>
        <crm_event id="18" operation="stonith" operation_key="stonith-rh5node1-reboot" on_node="rh5node1" on_node_uuid="286f4fcb-519e-4a23-b39f-9ab0017d0442"/>
      </trigger>
    </inputs>
  </synapse>
  <synapse id="2">
    <action_set>
      <rsc_op id="1" operation="monitor" operation_key="prmIpPostgreSQLDB_monitor_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6">
        <primitive id="prmIpPostgreSQLDB" class="ocf" provider="heartbeat" type="IPaddr"/>
        <attributes CRM_meta_on_node="rh5node2" CRM_meta_on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6" CRM_meta_op_target_rc="7" CRM_meta_timeout="60000" cidr_netmask="24"  ip="172.16.91.120" nic="eth0"/>
      </rsc_op>
    </action_set>
    <inputs/>
  </synapse>
  <synapse id="3">
    <action_set>
      <pseudo_event id="7" operation="running" operation_key="grpStonith:0_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="5" operation="start" operation_key="prmStonith:0_start_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"/>
      </trigger>
      <trigger>
        <pseudo_event id="6" operation="start" operation_key="grpStonith:0_start_0"/>
      </trigger>
    </inputs>
  </synapse>
  <synapse id="4">
    <action_set>
      <pseudo_event id="6" operation="start" operation_key="grpStonith:0_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="14" operation="start" operation_key="clnStonith_start_0"/>
      </trigger>
    </inputs>
  </synapse>
  <synapse id="5">
    <action_set>
      <rsc_op id="5" operation="start" operation_key="prmStonith:0_start_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6">
        <primitive id="prmStonith" long-id="prmStonith:0" class="stonith" type="external/ssh"/>
        <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="rh5node2" CRM_meta_on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6" CRM_meta_timeout="20000"  hostlist="rh5node1 rh5node2" stonith-timeout="70s"/>
      </rsc_op>
    </action_set>
    <inputs>
      <trigger>
        <pseudo_event id="6" operation="start" operation_key="grpStonith:0_start_0"/>
      </trigger>
      <trigger>
        <crm_event id="18" operation="stonith" operation_key="stonith-rh5node1-reboot" on_node="rh5node1" on_node_uuid="286f4fcb-519e-4a23-b39f-9ab0017d0442"/>
      </trigger>
    </inputs>
  </synapse>
  <synapse id="6">
    <action_set>
      <rsc_op id="2" operation="monitor" operation_key="prmStonith:0_monitor_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6">
        <primitive id="prmStonith" long-id="prmStonith:0" class="stonith" type="external/ssh"/>
        <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="rh5node2" CRM_meta_on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000"  hostlist="rh5node1 rh5node2" stonith-timeout="70s"/>
      </rsc_op>
    </action_set>
    <inputs/>
  </synapse>
  <synapse id="7" priority="1000000">
    <action_set>
      <pseudo_event id="15" operation="running" operation_key="clnStonith_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="7" operation="running" operation_key="grpStonith:0_running_0"/>
      </trigger>
      <trigger>
        <pseudo_event id="14" operation="start" operation_key="clnStonith_start_0"/>
      </trigger>
    </inputs>
  </synapse>
  <synapse id="8">
    <action_set>
      <pseudo_event id="14" operation="start" operation_key="clnStonith_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="2" operation="monitor" operation_key="prmStonith:0_monitor_0" on_node="rh5node2" on_node_uuid="fb62f5f4-015c-466a-8778-7b5c1c5639d6"/>
      </trigger>
    </inputs>
  </synapse>
  <synapse id="9">
    <action_set>
      <crm_event id="18" operation="stonith" operation_key="stonith-rh5node1-reboot" on_node="rh5node1" on_node_uuid="286f4fcb-519e-4a23-b39f-9ab0017d0442">
        <attributes CRM_meta_on_node="rh5node1" CRM_meta_on_node_uuid="286f4fcb-519e-4a23-b39f-9ab0017d0442" CRM_meta_stonith_action="reboot" />
        <downed>
          <node id="286f4fcb-519e-4a23-b39f-9ab0017d0442"/>
        </downed>
      </crm_event>
    </action_set>
    <inputs/>
  </synapse>
</transition_graph>