blob: 3270b97785cefbb7b900a9303e6af2618a6adf2c (
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.0.1" validate-with="pacemaker-3.0" have-quorum="1" admin_epoch="0" epoch="2592" num_updates="1" cib-last-written="Fri Jul 13 13:51:22 2012" dc-uuid="host1">
<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"/>
<nvpair id="cib-bootstrap-options-placement-strategy" name="placement-strategy" value="utilization"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="host1" type="member" uname="host1">
<utilization id="host1-utilization">
<nvpair id="host1-utilization-cpu" name="cpu" value="1"/>
<nvpair id="host1-utilization-memory" name="memory" value="512"/>
</utilization>
</node>
<node id="host2" type="member" uname="host2">
<utilization id="host2-utilization">
<nvpair id="host2-utilization-memory" name="memory" value="1024"/>
</utilization>
</node>
</nodes>
<resources>
<primitive class="ocf" id="rsc1" provider="pacemaker" type="Dummy">
<utilization id="rsc1-utilization">
<nvpair id="rsc1-utilization-cpu" name="cpu" value="2"/>
<nvpair id="rsc1-utilization-memory" name="memory" value="512"/>
</utilization>
</primitive>
<primitive class="ocf" id="rsc2" provider="pacemaker" type="Dummy">
<meta_attributes id="rsc2-meta_attributes">
<nvpair id="rsc2-meta_attributes-priority" name="priority" value="1"/>
</meta_attributes>
<utilization id="rsc2-utilization">
<nvpair id="rsc2-utilization-cpu" name="cpu" value="1"/>
<nvpair id="rsc2-utilization-memory" name="memory" value="1024"/>
</utilization>
</primitive>
</resources>
<constraints/>
</configuration>
<status>
<node_state id="host1" uname="host1" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0"/>
<node_state id="host2" uname="host2" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0">
<transient_attributes id="host2-1">
<utilization id="status-host2-1">
<nvpair id="host2-utilization-cpu" name="cpu" value="2"/>
</utilization>
</transient_attributes>
</node_state>
</status>
</cib>
|