"Fossies" - the Fresh Open Source Software Archive

Member "pacemaker-Pacemaker-2.1.2/xml/test-2/020-rsc-requires-inline.ref" (24 Nov 2021, 1651 Bytes) of package /linux/misc/pacemaker-Pacemaker-2.1.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <cib validate-with="pacemaker-3.0" admin_epoch="0" epoch="0" num_updates="0">
    2   <configuration>
    3     <crm_config/>
    4     <nodes>
    5 
    6       <node id="virt-063" uname="virt-063"/>
    7       <node id="virt-064" uname="virt-064"/>
    8       <node id="virt-069" uname="virt-069"/>
    9 
   10     </nodes>
   11     <resources>
   12 
   13       <primitive id="myAddr" class="ocf" provider="heartbeat" type="IPaddr2">
   14         <operations>
   15           <op id="myAddr-monitor" name="monitor" interval="30s"/>
   16           <!-- relying on order (+ colocation) to guarantee "requires"
   17                transitively (unfencing/fencing/quorum)? -->
   18           <op id="myAddr-start" name="start" interval="0" timeout="40s"/>
   19         </operations>
   20         <instance_attributes id="myAddr-params">
   21           <nvpair id="myAddr-ip" name="ip" value="192.0.2.10"/>
   22         </instance_attributes>
   23       <meta_attributes id="_2TO3_myAddr-meta"><nvpair id="_2TO3_myAddr-start-meta-requires" name="requires" value="nothing"/>
   24       </meta_attributes>
   25       </primitive>
   26 
   27       <primitive id="myHttpd" class="ocf" provider="heartbeat" type="apache">
   28         <operations>
   29           <op id="myHttpd-monitor" name="monitor" interval="30s"/>
   30         </operations>
   31         <instance_attributes id="myHttpd-params">
   32           <nvpair id="myHttpd-configfile" name="configfile" value="/etc/httpd/conf/httpd.conf"/>
   33         </instance_attributes>
   34       </primitive>
   35 
   36     </resources>
   37     <constraints>
   38 
   39       <rsc_order id="order-addr-httpd" first="myAddr" then="myHttpd"/>
   40       <rsc_colocation id="colocation-addr-httpd" rsc="myHttpd" with-rsc="myAddr" score="INFINITY"/>
   41 
   42     </constraints>
   43   </configuration>
   44   <status/>
   45 </cib>