summaryrefslogtreecommitdiffstats
path: root/xml/test-2/073-rsc-op-attrs-inst-meta-meaning.xml
blob: 1a1f73f712fc40a7a574619942366fd189b8f687 (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
<?xml-stylesheet href="../assets/upgrade-2.10-htmldiff.xsl" type="text/xsl"?>
<cib validate-with="pacemaker-2.0" admin_epoch="0" epoch="0" num_updates="0">
  <configuration>
    <crm_config/>
    <nodes>

      <node id="virt-063" uname="virt-063"/>
      <node id="virt-064" uname="virt-064"/>
      <node id="virt-069" uname="virt-069"/>

    </nodes>
    <resources>

      <primitive id="myAddr" class="ocf" provider="heartbeat" type="IPaddr2">
        <operations>
          <op id="myAddr-monitor" name="monitor" interval="30s"/>
          <op id="myAddr-start" name="start" interval="0" timeout="40s">
            <instance_attributes id="myAddr-start-instance">
              <nvpair id="myAddr-start-instance-on-fail" name="on-fail" value="standby"/>
              <nvpair id="myAddr-start-instance-record-pending" name="record-pending" value="true"/>
            </instance_attributes>
          </op>
        </operations>
        <instance_attributes id="myAddr-params">
          <nvpair id="myAddr-ip" name="ip" value="192.0.2.10"/>
        </instance_attributes>
      </primitive>

      <primitive id="myHttpd" class="ocf" provider="heartbeat" type="apache">
        <operations>
          <op id="myHttpd-monitor" name="monitor" interval="30s">
            <instance_attributes id="myHttpd-monitor-instance">
              <nvpair id="myHttpd-monitor-instance-timeout" name="timeout" value="20"/>
              <nvpair id="myHttpd-monitor-instance-statusurl" name="statusurl" value="http://localhost/server-status"/>
            </instance_attributes>
            <instance_attributes id="myHttpd-monitor-instance2">
              <nvpair id="myHttpd-monitor-instance2-timeout" name="timeout" value="30"/>
            </instance_attributes>
          </op>
        </operations>
        <instance_attributes id="myHttpd-params">
          <nvpair id="myHttpd-configfile" name="configfile" value="/etc/httpd/conf/httpd.conf"/>
        </instance_attributes>
      </primitive>

    </resources>
    <constraints/>
  </configuration>
  <status/>
</cib>