summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/coloc_fp_logic.xml
blob: 2714af1b94d3c6479b4ecd152ca37f4421dc5b15 (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
<cib epoch="8" num_updates="30" admin_epoch="0" validate-with="pacemaker-3.0" crm_feature_set="3.0.6" update-origin="node1" update-client="cibadmin" cib-last-written="Tue Jul  3 14:15:52 2012" have-quorum="1" dc-uuid="1048225984">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.7-1a62592"/>
        <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="1048225984" type="member" uname="node2"/>
      <node id="1031448768" type="member" uname="node1"/>
    </nodes>
    <resources>
      <primitive class="ocf" id="A" provider="pacemaker" type="Dummy">
        <operations>
          <op id="A-monitor-10s" interval="10s" name="monitor"/>
        </operations>
      </primitive>
      <primitive class="ocf" id="B" provider="pacemaker" type="Dummy">
        <operations>
          <op id="B-monitor-10s" interval="10s" name="monitor"/>
        </operations>
      </primitive>
    </resources>
    <constraints>
      <rsc_colocation id="colo" rsc="A" score="500000" with-rsc="B"/>
    </constraints>
    <rsc_defaults>
      <meta_attributes id="rsc-options">
        <nvpair id="rsc-options-resource-stickiness" name="resource-stickiness" value="100"/>
      </meta_attributes>
    </rsc_defaults>
  </configuration>
  <status>
    <node_state id="1048225984" uname="node2" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0">
      <transient_attributes id="1048225984">
        <instance_attributes id="status-1048225984">
          <nvpair id="status-1048225984-probe_complete" name="probe_complete" value="true"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="1048225984">
        <lrm_resources>
          <lrm_resource id="A" type="Dummy" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="A_last_0" operation_key="A_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="4:1:7:03e4bb5f-f762-43ae-a1b0-d2319b3a598c" transition-magic="0:7;4:1:7:03e4bb5f-f762-43ae-a1b0-d2319b3a598c" call-id="5" rc-code="7" op-status="0" interval="0" last-run="1341342952" last-rc-change="1341342953" exec-time="214" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state  op_sleep " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
          </lrm_resource>
          <lrm_resource id="B" type="Dummy" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="B_last_0" operation_key="B_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="11:1:0:03e4bb5f-f762-43ae-a1b0-d2319b3a598c" transition-magic="0:0;11:1:0:03e4bb5f-f762-43ae-a1b0-d2319b3a598c" call-id="14" rc-code="0" op-status="0" interval="0" last-run="1341342954" last-rc-change="0" exec-time="30" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state  op_sleep " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
            <lrm_rsc_op id="B_monitor_10000" operation_key="B_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="12:1:0:03e4bb5f-f762-43ae-a1b0-d2319b3a598c" transition-magic="0:0;12:1:0:03e4bb5f-f762-43ae-a1b0-d2319b3a598c" call-id="17" rc-code="0" op-status="0" interval="10000" last-rc-change="0" exec-time="29" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
    <node_state id="1031448768" uname="node1" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0">
      <transient_attributes id="1031448768">
        <instance_attributes id="status-1031448768">
          <nvpair id="status-1031448768-probe_complete" name="probe_complete" value="true"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="1031448768">
        <lrm_resources>
          <lrm_resource id="A" type="Dummy" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="A_last_0" operation_key="A_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="9:1:0:03e4bb5f-f762-43ae-a1b0-d2319b3a598c" transition-magic="0:0;9:1:0:03e4bb5f-f762-43ae-a1b0-d2319b3a598c" call-id="14" rc-code="0" op-status="0" interval="0" last-run="1341342953" last-rc-change="0" exec-time="14" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state  op_sleep " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
            <lrm_rsc_op id="A_monitor_10000" operation_key="A_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="10:1:0:03e4bb5f-f762-43ae-a1b0-d2319b3a598c" transition-magic="0:0;10:1:0:03e4bb5f-f762-43ae-a1b0-d2319b3a598c" call-id="17" rc-code="0" op-status="0" interval="10000" last-rc-change="0" exec-time="11" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
          </lrm_resource>
          <lrm_resource id="B" type="Dummy" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="B_last_0" operation_key="B_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="8:1:7:03e4bb5f-f762-43ae-a1b0-d2319b3a598c" transition-magic="0:7;8:1:7:03e4bb5f-f762-43ae-a1b0-d2319b3a598c" call-id="10" rc-code="7" op-status="0" interval="0" last-run="1341342952" last-rc-change="1341342952" exec-time="20" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state  op_sleep " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
  </status>
</cib>