summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/exp/promoted-reattach.exp
blob: 263f6071bff44031bbeea309893ba5ef84295fcc (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
<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="monitor" operation_key="drbd1:0_monitor_10000" on_node="dktest1" on_node_uuid="c738bee8-591f-4653-aaad-20a961923f25">
        <primitive id="drbd1" long-id="drbd1:0" class="ocf" provider="heartbeat" type="drbd"/>
        <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_interval="10000" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="monitor" CRM_meta_notify="true" CRM_meta_on_node="dktest1" CRM_meta_on_node_uuid="c738bee8-591f-4653-aaad-20a961923f25" CRM_meta_op_target_rc="8" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_role="Promoted" CRM_meta_timeout="15000"  drbd_resource="drbd1"/>
      </rsc_op>
    </action_set>
    <inputs/>
  </synapse>
  <synapse id="1">
    <action_set>
      <rsc_op id="8" operation="monitor" operation_key="drbd1:0_monitor_11000" internal_operation_key="drbd1:1_monitor_11000" on_node="dktest2" on_node_uuid="f430bc66-3388-4b7d-9e99-24fb02855f54">
        <primitive id="drbd1" long-id="drbd1:0" class="ocf" provider="heartbeat" type="drbd"/>
        <attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_interval="11000" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="monitor" CRM_meta_notify="true" CRM_meta_on_node="dktest2" CRM_meta_on_node_uuid="f430bc66-3388-4b7d-9e99-24fb02855f54" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_role="Unpromoted" CRM_meta_timeout="15000"  drbd_resource="drbd1"/>
      </rsc_op>
    </action_set>
    <inputs/>
  </synapse>
  <synapse id="2">
    <action_set>
      <rsc_op id="35" operation="monitor" operation_key="apache-vip_monitor_60000" on_node="dktest1" on_node_uuid="c738bee8-591f-4653-aaad-20a961923f25">
        <primitive id="apache-vip" class="ocf" provider="heartbeat" type="IPaddr2"/>
        <attributes CRM_meta_interval="60000" CRM_meta_name="monitor" CRM_meta_on_node="dktest1" CRM_meta_on_node_uuid="c738bee8-591f-4653-aaad-20a961923f25" CRM_meta_timeout="15000" broadcast="10.200.200.255" cidr_netmask="24"  ip="10.200.200.224" nic="eth1"/>
      </rsc_op>
    </action_set>
    <inputs/>
  </synapse>
  <synapse id="3">
    <action_set>
      <rsc_op id="38" operation="monitor" operation_key="mount_monitor_10000" on_node="dktest1" on_node_uuid="c738bee8-591f-4653-aaad-20a961923f25">
        <primitive id="mount" class="ocf" provider="heartbeat" type="Filesystem"/>
        <attributes CRM_meta_enabled="true" CRM_meta_interval="10000" CRM_meta_name="monitor" CRM_meta_on_node="dktest1" CRM_meta_on_node_uuid="c738bee8-591f-4653-aaad-20a961923f25" CRM_meta_role="Started" CRM_meta_timeout="5000"  device="/dev/drbd1" directory="/srv" fstype="ext3"/>
      </rsc_op>
    </action_set>
    <inputs/>
  </synapse>
  <synapse id="4">
    <action_set>
      <rsc_op id="41" operation="monitor" operation_key="webserver_monitor_30000" on_node="dktest1" on_node_uuid="c738bee8-591f-4653-aaad-20a961923f25">
        <primitive id="webserver" class="ocf" provider="heartbeat" type="apache"/>
        <attributes CRM_meta_interval="30000" CRM_meta_name="monitor" CRM_meta_on_node="dktest1" CRM_meta_on_node_uuid="c738bee8-591f-4653-aaad-20a961923f25" CRM_meta_timeout="30000" configfile="/srv/apache/conf/httpd.conf"  httpd="/srv/apache/bin/httpd" port="80" testregex="test"/>
      </rsc_op>
    </action_set>
    <inputs/>
  </synapse>
</transition_graph>