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/promoted-3.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/promoted-3.xml')
-rw-r--r-- | cts/scheduler/xml/promoted-3.xml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/cts/scheduler/xml/promoted-3.xml b/cts/scheduler/xml/promoted-3.xml new file mode 100644 index 0000000..209f28b --- /dev/null +++ b/cts/scheduler/xml/promoted-3.xml @@ -0,0 +1,56 @@ +<cib admin_epoch="0" epoch="1" num_updates="1" dc-uuid="0" have-quorum="false" remote-tls-port="0" validate-with="pacemaker-3.7" cib-last-written="Fri Jul 13 13:51:07 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.id21832" name="no-quorum-policy" value="ignore"/> + </cluster_property_set> + </crm_config> + <nodes> + <node id="uuid1" uname="node1" type="member"/> + <node id="uuid2" uname="node2" type="member"/> + </nodes> + <resources> + <clone id="rsc1"> + <primitive id="child_rsc1" class="ocf" provider="heartbeat" type="apache"/> + <meta_attributes id="clone-rsc1.meta"> + <nvpair id="nvpair.meta.auto-36" name="promotable" value="true"/> + <nvpair id="nvpair.meta.auto-37" name="resource-stickiness" value="1"/> + <nvpair id="nvpair.meta.auto-29" name="clone-max" value="5"/> + <nvpair id="nvpair.meta.auto-31" name="clone-node-max" value="2"/> + <nvpair id="nvpair.meta.auto-33" name="promoted-max" value="2"/> + <nvpair id="nvpair.meta.auto-35" name="promoted-node-max" value="1"/> + <nvpair id="unique-1" name="globally-unique" value="true"/> + </meta_attributes> + </clone> + </resources> + <constraints> + <rsc_location id="rsc1_promoted" rsc="rsc1"> + <rule id="pref_rsc1_master-1" score="100" role="Promoted"> + <expression id="expression.id21950" attribute="#uname" operation="eq" value="node2"/> + </rule> + <rule id="pref_rsc1_master-2" score="-INFINITY" role="Promoted"> + <expression id="expression.id21969" attribute="#uname" operation="eq" value="node1"/> + </rule> + </rsc_location> + </constraints> + </configuration> + <status> + <node_state id="uuid1" ha="active" uname="node1" crmd="online" join="member" expected="member" in_ccm="true"> + <transient_attributes id="transient_attributes.id22002"> + <instance_attributes id="instance_attributes.id22005"> + <nvpair id="nvpair.id22011" name="probe_complete" value="true"/> + </instance_attributes> + </transient_attributes> + </node_state> + <node_state id="uuid2" ha="active" uname="node2" crmd="online" join="member" expected="member" in_ccm="true"> + <transient_attributes id="transient_attributes.id22041"> + <instance_attributes id="instance_attributes.id22043"> + <nvpair id="nvpair.id22049" name="probe_complete" value="true"/> + </instance_attributes> + </transient_attributes> + </node_state> + </status> +</cib> |