diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:53:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:53:20 +0000 |
commit | e5a812082ae033afb1eed82c0f2df3d0f6bdc93f (patch) | |
tree | a6716c9275b4b413f6c9194798b34b91affb3cc7 /cts/scheduler/xml/simple11.xml | |
parent | Initial commit. (diff) | |
download | pacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.tar.xz pacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.zip |
Adding upstream version 2.1.6.upstream/2.1.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cts/scheduler/xml/simple11.xml')
-rw-r--r-- | cts/scheduler/xml/simple11.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/cts/scheduler/xml/simple11.xml b/cts/scheduler/xml/simple11.xml new file mode 100644 index 0000000..7551866 --- /dev/null +++ b/cts/scheduler/xml/simple11.xml @@ -0,0 +1,47 @@ +<cib admin_epoch="0" epoch="1" num_updates="1" dc-uuid="0" have-quorum="false" remote-tls-port="0" validate-with="pacemaker-3.0" cib-last-written="Fri Jul 13 13:51:14 2012"> + <configuration> + <crm_config> + <cluster_property_set id="no-stonith"> + <nvpair id="opt-no-stonith" name="stonith-enabled" value="false"/> + </cluster_property_set> + <cluster_property_set id="cib-bootstrap-options"> + <nvpair id="nvpair.id21838" name="no-quorum-policy" value="ignore"/> + </cluster_property_set> + </crm_config> + <nodes> + <node id="node1" uname="node1" type="member"/> + <node id="node2" uname="node2" type="member"/> + </nodes> + <resources> + <primitive id="rsc1" class="ocf" provider="heartbeat" type="apache"> + <instance_attributes id="instance_attributes.id21879"> + <nvpair id="nvpair.id21886" name="priority" value="3.0"/> + </instance_attributes> + </primitive> + <primitive id="rsc2" class="ocf" provider="heartbeat" type="apache"> + <instance_attributes id="instance_attributes.id21905"> + <nvpair id="nvpair.id21912" name="priority" value="2.0"/> + </instance_attributes> + </primitive> + </resources> + <constraints> + <rsc_location id="run_rsc1" rsc="rsc1"> + <rule id="can1" score="1"> + <expression id="expression.id21940" attribute="#uname" operation="ne" value="darthvader"/> + </rule> + <rule id="score1" score="10"> + <expression id="expression.id21958" attribute="#uname" operation="eq" value="node1"/> + </rule> + </rsc_location> + <rsc_location id="run_rsc2" rsc="rsc2"> + <rule id="can2" score="1"> + <expression id="expression.id21983" attribute="#uname" operation="eq" value="node1"/> + </rule> + </rsc_location> + </constraints> + </configuration> + <status> + <node_state id="node1" ha="active" uname="node1" crmd="online" join="member" expected="member" in_ccm="true"/> + <node_state id="node2" ha="active" uname="node2" crmd="online" join="member" expected="member" in_ccm="true"/> + </status> +</cib> |