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 /xml/test-2/071-rsc-op-attrs-inst-requires-nonstart.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 'xml/test-2/071-rsc-op-attrs-inst-requires-nonstart.xml')
-rw-r--r-- | xml/test-2/071-rsc-op-attrs-inst-requires-nonstart.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/xml/test-2/071-rsc-op-attrs-inst-requires-nonstart.xml b/xml/test-2/071-rsc-op-attrs-inst-requires-nonstart.xml new file mode 100644 index 0000000..4f364f4 --- /dev/null +++ b/xml/test-2/071-rsc-op-attrs-inst-requires-nonstart.xml @@ -0,0 +1,49 @@ +<?xml-stylesheet href="../assets/upgrade-2.10-htmldiff.xsl" type="text/xsl"?> +<cib validate-with="pacemaker-2.0" admin_epoch="0" epoch="0" num_updates="0"> + <configuration> + <crm_config/> + <nodes> + + <node id="virt-063" uname="virt-063"/> + <node id="virt-064" uname="virt-064"/> + <node id="virt-069" uname="virt-069"/> + + </nodes> + <resources> + + <!-- borrowed from 021-rsc-requires-nvpair --> + <primitive id="myAddr" class="ocf" provider="heartbeat" type="IPaddr2"> + <operations> + <op id="myAddr-monitor" name="monitor" interval="30s"/> + <op id="myAddr-stop" name="stop" interval="0" timeout="40s"> + <instance_attributes id="myAddr-stop-instanceparams"> + <!-- relying on order (+ colocation) to guarantee "requires" + transitively (unfencing/fencing/quorum)? --> + <nvpair id="myAddr-stop-requires" name="requires" value="nothing"/> + </instance_attributes> + </op> + </operations> + <instance_attributes id="myAddr-params"> + <nvpair id="myAddr-ip" name="ip" value="192.0.2.10"/> + </instance_attributes> + </primitive> + + <primitive id="myHttpd" class="ocf" provider="heartbeat" type="apache"> + <operations> + <op id="myHttpd-monitor" name="monitor" interval="30s"/> + </operations> + <instance_attributes id="myHttpd-params"> + <nvpair id="myHttpd-configfile" name="configfile" value="/etc/httpd/conf/httpd.conf"/> + </instance_attributes> + </primitive> + + </resources> + <constraints> + + <rsc_order id="order-addr-httpd" first="myAddr" then="myHttpd"/> + <rsc_colocation id="colocation-addr-httpd" rsc="myHttpd" with-rsc="myAddr" score="INFINITY"/> + + </constraints> + </configuration> + <status/> +</cib> |