summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/op-defaults-2.xml
blob: 9f3c28843e668c13749c5a5a220366644b97ba72 (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
<cib crm_feature_set="3.3.0" validate-with="pacemaker-3.4" epoch="130" num_updates="31" admin_epoch="1" cib-last-written="Fri Apr 24 16:08:36 2020" update-origin="cluster01" update-client="crmd" update-user="hacluster" have-quorum="1" dc-uuid="1">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-have-watchdog" name="have-watchdog" value="false"/>
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="2.0.3-1.c40fb040a.git.el7-c40fb040a"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
        <nvpair id="cib-bootstrap-options-cluster-name" name="cluster-name" value="test-cluster"/>
        <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="true"/>
        <nvpair id="cib-bootstrap-options-maintenance-mode" name="maintenance-mode" value="false"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="1" uname="cluster01"/>
      <node id="2" uname="cluster02"/>
    </nodes>
    <resources>
      <primitive class="stonith" id="fencing" type="fence_xvm">
        <instance_attributes id="fencing-instance_attributes">
          <nvpair id="fencing-instance_attributes-ip_family" name="ip_family" value="ipv4"/>
        </instance_attributes>
        <operations/>
      </primitive>
      <primitive class="ocf" id="ip-rsc" provider="heartbeat" type="IPaddr2">
        <instance_attributes id="ip-rsc-instance_attributes">
          <nvpair id="ip-rsc-instance_attributes-cidr_netmask" name="cidr_netmask" value="32"/>
          <nvpair id="ip-rsc-instance_attributes-ip" name="ip" value="172.17.1.1"/>
        </instance_attributes>
        <operations>
          <op id="ip-rsc-monitor-interval-20s" interval="20s" name="monitor"/>
        </operations>
      </primitive>
      <primitive class="ocf" id="rsc-passes" provider="heartbeat" type="IPaddr2">
        <instance_attributes id="rsc-passes-instance_attributes">
          <nvpair id="rsc-passes-instance_attributes-cidr_netmask" name="cidr_netmask" value="32"/>
          <nvpair id="rsc-passes-instance_attributes-ip" name="ip" value="172.17.1.1"/>
        </instance_attributes>
        <operations>
          <op id="rsc-passes-monitor-interval-10s" interval="10s" name="monitor"/>
        </operations>
      </primitive>
      <primitive class="ocf" id="dummy-rsc" provider="pacemaker" type="Dummy">
        <instance_attributes id="dummy-rsc-instance_attributes">
          <nvpair id="dummy-rsc-instance_attributes-op_sleep" name="op_sleep" value="10"/>
        </instance_attributes>
        <operations>
          <op id="dummy-rsc-monitor-interval-10s" interval="10s" name="monitor" on-fail="stop"/>
        </operations>
      </primitive>
      <primitive class="ocf" id="ping-rsc-ping" provider="pacemaker" type="ping">
        <instance_attributes id="ping-rsc-instance_attributes">
          <nvpair id="ping-rsc-host_list" name="host_list" value="4.2.2.2"/>
        </instance_attributes>
        <operations/>
      </primitive>
    </resources>
    <constraints/>
    <tags/>
    <op_defaults>
      <meta_attributes id="op-monitor-and">
        <rule id="op-monitor-and-rule" score="INFINITY">
          <rsc_expression id="op-monitor-and-rsc-expr" class="ocf" provider="heartbeat" type="IPaddr2"/>
          <op_expression id="op-monitor-and-op-expr" name="monitor" interval="10s"/>
        </rule>
        <nvpair id="op-monitor-and-timeout" name="timeout" value="8s"/>
      </meta_attributes>
    </op_defaults>
  </configuration>
  <status>
    <node_state id="1" uname="cluster01" in_ccm="true" crmd="online" crm-debug-origin="do_state_transition" join="member" expected="member"/>
    <node_state id="2" uname="cluster02" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member"/>
  </status>
</cib>