summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/rsc-defaults.xml
blob: 38cae8ba02569971dcab41283a0ead026534a636 (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
<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="ip-rsc2" provider="heartbeat" type="IPaddr2">
        <instance_attributes id="ip-rsc2-instance_attributes">
          <nvpair id="ip-rsc2-instance_attributes-cidr_netmask" name="cidr_netmask" value="32"/>
          <nvpair id="ip-rsc2-instance_attributes-ip" name="ip" value="172.17.1.1"/>
        </instance_attributes>
        <operations>
          <op id="ip-rsc2-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-60s" interval="60s" 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/>
    <rsc_defaults>
      <meta_attributes id="op-unmanaged">
        <rule id="op-unmanaged-rule" score="INFINITY">
          <rsc_expression id="op-unmanaged-expr" class="ocf" provider="pacemaker" type="Dummy"/>
        </rule>
        <nvpair id="op-unmanaged-nvpair" name="is-managed" value="false"/>
      </meta_attributes>
      <meta_attributes id="op-target-role">
        <rule id="op-target-role-rule" score="INFINITY">
          <rsc_expression id="op-target-role-expr" class="ocf" provider="heartbeat" type="IPaddr2"/>
        </rule>
        <nvpair id="op-target-role-nvpair" name="target-role" value="Stopped"/>
      </meta_attributes>
    </rsc_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>