summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/rebalance-unique-clones.xml
blob: 07465f3caefa2f5210e997a878059b0d21117b13 (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
79
80
81
82
83
84
85
<cib crm_feature_set="3.0.12" validate-with="pacemaker-3.0" epoch="152" num_updates="0" admin_epoch="2" cib-last-written="Thu Oct  5 15:32:00 2017" update-origin="node2" update-client="crm_resource" update-user="root" have-quorum="1" dc-uuid="169745988">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/>
        <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="169745988" uname="node1"/>
      <node id="169745990" uname="node2"/>
    </nodes>
    <resources>
      <clone id="C">
        <meta_attributes id="C-meta_attributes">
          <nvpair name="globally-unique" value="true" id="C-meta_attributes-globally-unique"/>
          <nvpair name="clone-max" value="2" id="C-meta_attributes-clone-max"/>
          <nvpair name="clone-node-max" value="2" id="C-meta_attributes-clone-node-max"/>
          <nvpair name="resource-stickiness" value="0" id="C-meta_attributes-resource-stickiness"/>
        </meta_attributes>
        <primitive id="P" class="ocf" provider="heartbeat" type="IPaddr2">
          <instance_attributes id="P-instance_attributes">
            <nvpair name="ip" value="192.168.195.110" id="P-instance_attributes-ip"/>
            <nvpair name="cidr_netmask" value="32" id="P-instance_attributes-cidr_netmask"/>
            <nvpair name="iflabel" value="web" id="P-instance_attributes-iflabel"/>
            <nvpair name="clusterip_hash" value="sourceip-sourceport" id="P-instance_attributes-clusterip_hash"/>
            <nvpair name="mac" value="03:00:60:0D:F0:0D" id="P-instance_attributes-mac"/>
          </instance_attributes>
          <operations>
            <op name="monitor" interval="10s" timeout="20s" id="P-monitor-10s"/>
            <op name="start" interval="0s" timeout="20s" id="P-start-0s"/>
            <op name="stop" interval="0s" timeout="20s" id="P-stop-0s"/>
          </operations>
        </primitive>
      </clone>
    </resources>
    <constraints>
      <rsc_location id="C-node1" rsc="C" node="node1" score="100"/>
      <rsc_location id="C-node2" rsc="C" node="node2" score="100"/>
    </constraints>
    <rsc_defaults>
      <meta_attributes id="rsc_defaults-options"/>
    </rsc_defaults>
  </configuration>
  <status>
    <node_state id="169745990" uname="node2" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member">
      <transient_attributes id="169745990">
        <instance_attributes id="status-169745990">
          <nvpair id="status-169745990-shutdown" name="shutdown" value="0"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="169745990">
        <lrm_resources>
          <lrm_resource id="P:0" type="IPaddr2" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="P:0_last_0" operation_key="P:0_stop_0" operation="stop" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="5:51:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" transition-magic="0:0;5:51:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" on_node="node2" call-id="281" rc-code="0" op-status="0" interval="0" last-run="1507217472" last-rc-change="1507217472" exec-time="550" queue-time="0" op-digest="e1414a1e567403e7965929cfe9a112a5"/>
            <lrm_rsc_op id="P:0_monitor_10000" operation_key="P:0_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="7:50:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" transition-magic="0:0;7:50:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" on_node="node2" call-id="271" rc-code="0" op-status="0" interval="10000" last-rc-change="1507217407" exec-time="74" queue-time="0" op-digest="4870e6b6b1f0b207d9638528fb8d86c8"/>
          </lrm_resource>
          <lrm_resource id="P:1" type="IPaddr2" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="P:1_last_0" operation_key="P:1_stop_0" operation="stop" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="8:51:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" transition-magic="0:0;8:51:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" on_node="node2" call-id="279" rc-code="0" op-status="0" interval="0" last-run="1507217472" last-rc-change="1507217472" exec-time="229" queue-time="0" op-digest="e1414a1e567403e7965929cfe9a112a5"/>
            <lrm_rsc_op id="P:1_monitor_10000" operation_key="P:1_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="10:50:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" transition-magic="0:0;10:50:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" on_node="node2" call-id="273" rc-code="0" op-status="0" interval="10000" last-rc-change="1507217408" exec-time="68" queue-time="0" op-digest="4870e6b6b1f0b207d9638528fb8d86c8"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
    <node_state id="169745988" uname="node1" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member">
      <transient_attributes id="169745988">
        <instance_attributes id="status-169745988">
          <nvpair id="status-169745988-shutdown" name="shutdown" value="0"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="169745988">
        <lrm_resources>
          <lrm_resource id="P:0" type="IPaddr2" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="P:0_last_0" operation_key="P:0_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="6:51:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" transition-magic="0:0;6:51:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" on_node="node1" call-id="294" rc-code="0" op-status="0" interval="0" last-run="1507217472" last-rc-change="1507217472" exec-time="298" queue-time="0" op-digest="e1414a1e567403e7965929cfe9a112a5"/>
            <lrm_rsc_op id="P:0_monitor_10000" operation_key="P:0_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="7:51:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" transition-magic="0:0;7:51:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" on_node="node1" call-id="295" rc-code="0" op-status="0" interval="10000" last-rc-change="1507217473" exec-time="81" queue-time="0" op-digest="4870e6b6b1f0b207d9638528fb8d86c8"/>
          </lrm_resource>
          <lrm_resource id="P:1" type="IPaddr2" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="P:1_last_0" operation_key="P:1_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="9:51:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" transition-magic="0:0;9:51:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" on_node="node1" call-id="296" rc-code="0" op-status="0" interval="0" last-run="1507217473" last-rc-change="1507217473" exec-time="862" queue-time="1" op-digest="e1414a1e567403e7965929cfe9a112a5"/>
            <lrm_rsc_op id="P:1_monitor_10000" operation_key="P:1_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.12" transition-key="10:51:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" transition-magic="0:0;10:51:0:5714f1f6-b8ce-40ae-a8da-4f927f39d82d" on_node="node1" call-id="297" rc-code="0" op-status="0" interval="10000" last-rc-change="1507217474" exec-time="94" queue-time="0" op-digest="4870e6b6b1f0b207d9638528fb8d86c8"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
  </status>
</cib>