"Fossies" - the Fresh Open Source Software Archive

Member "pacemaker-Pacemaker-2.1.2/xml/test-2/023-rsc-requires-no-override.ref" (24 Nov 2021, 2336 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       <!-- possible override from op attribute -->
   14       <primitive id="myAddr" class="ocf" provider="heartbeat" type="IPaddr2">
   15         <operations>
   16           <op id="myAddr-monitor" name="monitor" interval="30s"/>
   17           <op id="myAddr-start" name="start" interval="0" timeout="40s"/>
   18           <!-- stop != start -->
   19           <op id="myAddr-stop" name="stop" interval="0" timeout="40s"/>
   20         </operations>
   21         <instance_attributes id="myAddr-params">
   22           <nvpair id="myAddr-ip" name="ip" value="192.0.2.10"/>
   23         </instance_attributes>
   24         <meta_attributes id="myAddr-meta">
   25           <nvpair id="myAddr-requires" name="requires" value="quorum"/>
   26         </meta_attributes>
   27       </primitive>
   28 
   29       <!-- possible override from op's meta-attribute -->
   30       <clone id="master">
   31         <meta_attributes id="master-meta">
   32           <nvpair id="master-promotable" name="promotable" value="true"/>
   33           <nvpair id="master-promoted-node-max" name="promoted-node-max" value="1"/>
   34           <nvpair id="master-clone-max" name="clone-max" value="3"/>
   35           <nvpair id="master-promoted-max" name="promoted-max" value="1"/>
   36           <nvpair id="master-clone-node-max" name="clone-node-max" value="1"/>
   37         </meta_attributes>
   38         <primitive id="stateful" class="ocf" type="Stateful" provider="pacemaker">
   39           <operations>
   40             <op id="stateful-monitor-15s" interval="15s" name="monitor" timeout="60s"/>
   41             <op id="stateful-monitor-16s" interval="16s" name="monitor" timeout="60s" role="Master"/>
   42             <op id="stateful-promote" interval="0" name="promote" timeout="40s"/>
   43             <!-- demote != promote -->
   44             <op id="stateful-demote" interval="0" name="demote" timeout="40s"/>
   45           </operations>
   46           <meta_attributes id="stateful-meta">
   47             <nvpair id="stateful-requires" name="requires" value="quorum"/>
   48           </meta_attributes>
   49         </primitive>
   50       </clone>
   51 
   52     </resources>
   53     <constraints/>
   54   </configuration>
   55   <status/>
   56 </cib>