summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/rsc-defaults-2.xml
blob: a160fae957c838eef8aa38c3e1ac69612bba6550 (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
<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="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/>
      </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"/>
        </rule>
        <nvpair id="op-unmanaged-nvpair" name="is-managed" value="false"/>
      </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>