summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/whitebox-ms-ordering.xml
blob: b241ad2db1b7d0e861faa8e532556655fff72785 (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<cib epoch="30" num_updates="8" admin_epoch="0" validate-with="pacemaker-3.0" cib-last-written="Thu Aug 22 13:17:01 2013" update-origin="18node1" update-client="cibadmin" crm_feature_set="3.0.7" have-quorum="1" dc-uuid="1">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.11-1.fc18-85c1790"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="1" uname="18node1"/>
      <node id="2" uname="18node2"/>
      <node id="3" uname="18node3"/>
    </nodes>
    <resources>
      <primitive class="stonith" id="shooter" type="fence_xvm">
        <instance_attributes id="shooter-instance_attributes">
          <nvpair id="shooter-instance_attributes-pcmk_host_list" name="pcmk_host_list" value="18node1,18node2,18node3"/>
        </instance_attributes>
        <operations>
          <op id="shooter-monitor-interval-60s" interval="60s" name="monitor"/>
        </operations>
      </primitive>
      <primitive class="ocf" id="container1" provider="heartbeat" type="VirtualDomain">
        <instance_attributes id="container1-instance_attributes">
          <nvpair id="container1-instance_attributes-force_stop" name="force_stop" value="true"/>
          <nvpair id="container1-instance_attributes-hypervisor" name="hypervisor" value="lxc:///"/>
          <nvpair id="container1-instance_attributes-config" name="config" value="/var/lib/pacemaker/cts/lxc/lxc1.xml"/>
          <nvpair id="container1-instance_attributes-remote-node" name="remote-node" value="lxc1"/>
        </instance_attributes>
        <utilization id="container1-utilization">
          <nvpair id="container1-utilization-cpu" name="cpu" value="1"/>
          <nvpair id="container1-utilization-hv_memory" name="hv_memory" value="100"/>
        </utilization>
        <meta_attributes id="container1-meta_attributes">
          <nvpair id="container1-meta_attributes-remote-node" name="remote-node" value="lxc1"/>
        </meta_attributes>
      </primitive>
      <primitive class="ocf" id="container2" provider="heartbeat" type="VirtualDomain">
        <instance_attributes id="container2-instance_attributes">
          <nvpair id="container2-instance_attributes-force_stop" name="force_stop" value="true"/>
          <nvpair id="container2-instance_attributes-hypervisor" name="hypervisor" value="lxc:///"/>
          <nvpair id="container2-instance_attributes-config" name="config" value="/var/lib/pacemaker/cts/lxc/lxc2.xml"/>
          <nvpair id="container2-instance_attributes-remote-node" name="remote-node" value="lxc2"/>
        </instance_attributes>
        <utilization id="container2-utilization">
          <nvpair id="container2-utilization-cpu" name="cpu" value="1"/>
          <nvpair id="container2-utilization-hv_memory" name="hv_memory" value="100"/>
        </utilization>
        <meta_attributes id="container2-meta_attributes">
          <nvpair id="container2-meta_attributes-remote-node" name="remote-node" value="lxc2"/>
        </meta_attributes>
      </primitive>
      <clone id="lxc-ms-master">
        <primitive class="ocf" id="lxc-ms" provider="pacemaker" type="Stateful">
          <operations>
            <op id="lxc-ms-monitor-interval-10s" interval="10s" name="monitor"/>
          </operations>
        </primitive>
        <meta_attributes id="lxc-ms-meta_attributes">
          <nvpair id="lxs-ms-meta_attributes-promotable" name="promotable" value="true"/>
          <nvpair id="lxc-ms-meta_attributes-promoted-max" name="promoted-max" value="1"/>
          <nvpair id="lxc-ms-meta_attributes-clone-max" name="clone-max" value="2"/>
        </meta_attributes>
      </clone>
    </resources>
    <constraints>
      <rsc_location id="cli-prefer-container1" rsc="container1" node="18node1" score="INFINITY"/>
      <rsc_location id="cli-prefer-container2" rsc="container2" node="18node1" score="INFINITY"/>
      <rsc_location id="lxc-ms-location-lxc1" node="lxc1" rsc="lxc-ms" score="INFINITY"/>
      <rsc_location id="lxc-ms-location-lxc2" node="lxc2" rsc="lxc-ms" score="INFINITY"/>
    </constraints>
  </configuration>
  <status>
    <node_state id="1" uname="18node1" in_ccm="true" crmd="online" crm-debug-origin="do_state_transition" join="member" expected="member">
      <transient_attributes id="1">
        <instance_attributes id="status-1">
          <nvpair id="status-1-probe_complete" name="probe_complete" value="true"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="1">
        <lrm_resources>
          <lrm_resource id="shooter" type="fence_xvm" class="stonith">
            <lrm_rsc_op id="shooter_last_0" operation_key="shooter_stop_0" operation="stop" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="22:4:0:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:0;22:4:0:7646a86f-3975-414e-8ecc-6d9899595921" call-id="33" rc-code="0" op-status="0" interval="0" last-run="1377195228" last-rc-change="1377195228" exec-time="0" queue-time="0" op-digest="7908d87bf63da67d2346f2ae12b61068"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
    <node_state id="2" uname="18node2" in_ccm="true" crmd="online" join="member" crm-debug-origin="do_state_transition" expected="member">
      <transient_attributes id="2">
        <instance_attributes id="status-2">
          <nvpair id="status-2-probe_complete" name="probe_complete" value="true"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="2">
        <lrm_resources>
          <lrm_resource id="shooter" type="fence_xvm" class="stonith">
            <lrm_rsc_op id="shooter_last_0" operation_key="shooter_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="23:4:0:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:0;23:4:0:7646a86f-3975-414e-8ecc-6d9899595921" call-id="26" rc-code="0" op-status="0" interval="0" last-run="1377195229" last-rc-change="1377195229" exec-time="1382" queue-time="0" op-digest="7908d87bf63da67d2346f2ae12b61068"/>
            <lrm_rsc_op id="shooter_monitor_60000" operation_key="shooter_monitor_60000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="9:5:0:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:0;9:5:0:7646a86f-3975-414e-8ecc-6d9899595921" call-id="29" rc-code="0" op-status="0" interval="60000" last-rc-change="1377195231" exec-time="9" queue-time="0" op-digest="f41ae9427c053ffa62947ab85d954d6e"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
    <node_state id="3" uname="18node3" crmd="online" crm-debug-origin="do_state_transition" in_ccm="true" join="member" expected="member">
      <transient_attributes id="3">
        <instance_attributes id="status-3">
          <nvpair id="status-3-probe_complete" name="probe_complete" value="true"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="3">
        <lrm_resources>
          <lrm_resource id="shooter" type="fence_xvm" class="stonith">
            <lrm_rsc_op id="shooter_last_0" operation_key="shooter_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="8:3:7:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:7;8:3:7:7646a86f-3975-414e-8ecc-6d9899595921" call-id="5" rc-code="7" op-status="0" interval="0" last-run="1377177177" last-rc-change="1377177177" exec-time="988" queue-time="0" op-digest="7908d87bf63da67d2346f2ae12b61068"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
    <node_state remote_node="true" id="lxc1" uname="lxc1" crm-debug-origin="do_update_resource">
      <transient_attributes id="lxc1">
        <instance_attributes id="status-lxc1">
          <nvpair id="status-lxc1-promoted-lxc-ms" name="master-lxc-ms" value="10"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="lxc1">
        <lrm_resources>
          <lrm_resource id="lxc-ms" type="Stateful" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="lxc-ms_last_0" operation_key="lxc-ms_promote_0" operation="promote" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="17:7:0:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:0;17:7:0:7646a86f-3975-414e-8ecc-6d9899595921" call-id="17" rc-code="0" op-status="0" interval="0" last-run="1377195234" last-rc-change="1377195234" exec-time="411" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
    <node_state remote_node="true" id="lxc2" uname="lxc2" crm-debug-origin="do_update_resource">
      <transient_attributes id="lxc2">
        <instance_attributes id="status-lxc2">
          <nvpair id="status-lxc2-promoted-lxc-ms" name="master-lxc-ms" value="5"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="lxc2">
        <lrm_resources>
          <lrm_resource id="lxc-ms" type="Stateful" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="lxc-ms_last_0" operation_key="lxc-ms_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="15:6:0:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:0;15:6:0:7646a86f-3975-414e-8ecc-6d9899595921" call-id="7" rc-code="0" op-status="0" interval="0" last-run="1377195232" last-rc-change="1377195232" exec-time="1421" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
            <lrm_rsc_op id="lxc-ms_monitor_10000" operation_key="lxc-ms_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="20:7:0:7646a86f-3975-414e-8ecc-6d9899595921" transition-magic="0:0;20:7:0:7646a86f-3975-414e-8ecc-6d9899595921" call-id="17" rc-code="0" op-status="0" interval="10000" last-rc-change="1377195234" exec-time="10" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
  </status>
</cib>