"Fossies" - the Fresh Open Source Software Archive

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


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

    1 <?xml-stylesheet href="../assets/upgrade-2.10-htmldiff.xsl" type="text/xsl"?>
    2 <cib validate-with="pacemaker-2.0" admin_epoch="0" epoch="0" num_updates="0">
    3   <configuration>
    4     <crm_config/>
    5     <nodes>
    6 
    7       <node id="virt-063" uname="virt-063"/>
    8       <node id="virt-064" uname="virt-064"/>
    9       <node id="virt-069" uname="virt-069"/>
   10 
   11     </nodes>
   12     <resources>
   13 
   14       <primitive id="myAddr" class="ocf" provider="heartbeat" type="IPaddr2">
   15         <operations>
   16           <op id="myAddr-monitor" name="monitor" interval="30s"/>
   17           <!-- relying on order (+ colocation) to guarantee "requires"
   18                transitively (unfencing/fencing/quorum)? -->
   19           <op id="myAddr-start" name="start" interval="0" timeout="40s"
   20               requires="nothing"/>
   21         </operations>
   22         <instance_attributes id="myAddr-params">
   23           <nvpair id="myAddr-ip" name="ip" value="192.0.2.10"/>
   24         </instance_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>