summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/clbz5007-promotable-colocation.xml
blob: 76bb3062599763979df7649aa6f3c667f8829736 (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
86
87
88
<cib epoch="146" num_updates="33" admin_epoch="0" validate-with="pacemaker-3.7" crm_feature_set="3.0.6" update-origin="fc16-builder" update-client="cibadmin" cib-last-written="Fri Jul 13 13:51:00 2012" have-quorum="1" dc-uuid="fc16-builder">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.6-3119df0"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
        <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="fc16-builder" type="member" uname="fc16-builder"/>
      <node id="fc16-builder2" type="member" uname="fc16-builder2"/>
    </nodes>
    <resources>
      <clone id="MS_DUMMY">
        <meta_attributes id="MS_DUMMY-meta_attributes">
          <nvpair id="MS_DUMMY-meta_attributes-promotable" name="promotable" value="true"/>
          <nvpair id="MS_DUMMY-meta_attributes-target-role" name="target-role" value="Promoted"/>
          <nvpair id="MS_DUMMY-meta_attributes-clone-max" name="clone-max" value="2"/>
          <nvpair id="MS_DUMMY-meta_attributes-clone-node-max" name="clone-node-max" value="1"/>
          <nvpair id="MS_DUMMY-meta_attributes-promoted-max" name="promoted-max" value="1"/>
          <nvpair id="MS_DUMMY-meta_attributes-promoted-node-max" name="promoted-node-max" value="1"/>
          <nvpair id="MS_DUMMY-meta_attributes-notify" name="notify" value="true"/>
        </meta_attributes>
        <primitive class="ocf" id="DUMMY" provider="pacemaker" type="Stateful">
          <operations>
            <op id="DUMMY-monitor-15s" interval="15" name="monitor" role="Unpromoted" timeout="60s"/>
            <op id="DUNNY-monitor-30s" interval="30" name="monitor" role="Promoted" timeout="60s"/>
          </operations>
        </primitive>
      </clone>
      <primitive class="ocf" id="UNPROMOTED_IP" provider="pacemaker" type="Dummy"/>
      <primitive class="ocf" id="PROMOTED_IP" provider="pacemaker" type="Dummy"/>
    </resources>
    <constraints>
      <rsc_colocation id="promoted_ip_colocation" rsc="PROMOTED_IP" score="INFINITY" with-rsc="MS_DUMMY" with-rsc-role="Promoted"/>
      <rsc_colocation id="unpromoted_ip_primary" rsc="UNPROMOTED_IP" score="101" with-rsc="MS_DUMMY" with-rsc-role="Promoted"/>
      <rsc_colocation id="unpromoted_ip_secondary" rsc="UNPROMOTED_IP" score="1000" with-rsc="MS_DUMMY" with-rsc-role="Unpromoted"/>
    </constraints>
  </configuration>
  <status>
    <node_state id="fc16-builder" uname="fc16-builder" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0">
      <transient_attributes id="fc16-builder">
        <instance_attributes id="status-fc16-builder">
          <nvpair id="status-fc16-builder-probe_complete" name="probe_complete" value="true"/>
          <nvpair id="status-fc16-builder-promoted-DUMMY.0" name="master-DUMMY:0" value="10"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="fc16-builder">
        <lrm_resources>
          <lrm_resource id="DUMMY:0" type="Stateful" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="DUMMY:0_last_0" operation_key="DUMMY:0_promote_0" operation="promote" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.6" transition-key="7:3:0:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" transition-magic="0:0;7:3:0:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" call-id="12" rc-code="0" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
            <lrm_rsc_op id="DUMMY:0_monitor_30000" operation_key="DUMMY:0_monitor_30000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.6" transition-key="8:4:8:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" transition-magic="0:8;8:4:8:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" call-id="14" rc-code="8" op-status="0" interval="30000" op-digest="873ed4f07792aa8ff18f3254244675ea"/>
          </lrm_resource>
          <lrm_resource id="UNPROMOTED_IP" type="Dummy" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="UNPROMOTED_IP_last_0" operation_key="UNPROMOTED_IP_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="42:7:0:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" transition-magic="0:0;42:7:0:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" call-id="19" rc-code="0" op-status="0" interval="0" last-run="1330214959" last-rc-change="1330214959" exec-time="20" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
          </lrm_resource>
          <lrm_resource id="PROMOTED_IP" type="Dummy" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="PROMOTED_IP_last_0" operation_key="PROMOTED_IP_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="7:7:7:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" transition-magic="0:7;7:7:7:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" call-id="18" rc-code="7" op-status="0" interval="0" last-run="1330214959" last-rc-change="1330214959" exec-time="40" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
    <node_state id="fc16-builder2" uname="fc16-builder2" ha="active" in_ccm="true" crmd="online" join="member" crm-debug-origin="do_update_resource" expected="member" shutdown="0">
      <transient_attributes id="fc16-builder2">
        <instance_attributes id="status-fc16-builder2">
          <nvpair id="status-fc16-builder2-promoted-DUMMY.1" name="master-DUMMY:1" value="5"/>
          <nvpair id="status-fc16-builder2-probe_complete" name="probe_complete" value="true"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="fc16-builder2">
        <lrm_resources>
          <lrm_resource id="DUMMY:1" type="Stateful" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="DUMMY:1_last_0" operation_key="DUMMY:1_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.6" transition-key="11:5:0:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" transition-magic="0:0;11:5:0:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" call-id="3" rc-code="0" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
            <lrm_rsc_op id="DUMMY:1_monitor_15000" operation_key="DUMMY:1_monitor_15000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.6" transition-key="12:5:0:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" transition-magic="0:0;12:5:0:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" call-id="5" rc-code="0" op-status="0" interval="15000" op-digest="873ed4f07792aa8ff18f3254244675ea"/>
          </lrm_resource>
          <lrm_resource id="UNPROMOTED_IP" type="Dummy" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="UNPROMOTED_IP_last_0" operation_key="UNPROMOTED_IP_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="9:7:7:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" transition-magic="0:7;9:7:7:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" call-id="6" rc-code="7" op-status="0" interval="0" last-run="1330214959" last-rc-change="1330214959" exec-time="150" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
          </lrm_resource>
          <lrm_resource id="PROMOTED_IP" type="Dummy" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="PROMOTED_IP_last_0" operation_key="PROMOTED_IP_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="43:7:0:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" transition-magic="0:0;43:7:0:28b3ec3e-1bd8-4fa4-b026-c4e028a0be52" call-id="8" rc-code="0" op-status="0" interval="0" last-run="1330214959" last-rc-change="1330214959" exec-time="10" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
  </status>
</cib>