Hi,

can comebody please explain me the exact m,eaning of the "restart_type" 
attribute? The DTD is not quite helpful here:

"restart_type

Used when the other side of an ordering dependency is restarted/moved.
   * ignore : the default.
                  Don't do anything extra.
   * restart
                  Use this for example to have a restart of your database also 
trigger a restart of your web-server."

Example:

<primitive id="resource_Delay1" class="ocf" type="Delay" provider="heartbeat">
     <instance_attributes id="resource_Delay1_instance_attrs">
       <attributes>
         <nvpair id="f01eec3a-3786-427d-8f57-5f4e1a07caa5" name="startdelay" 
value="5"/>
         <nvpair id="30561855-4b7b-4e2c-8339-3d5b8970ad05" name="stopdelay" 
value="5"/>
         <nvpair id="f29020f5-b085-4314-ab52-4d9eb647fe70" name="mondelay" 
value="30"/>
       </attributes>
     </instance_attributes>
   </primitive>
   <primitive id="resource_Delay2" class="ocf" type="Delay" 
provider="heartbeat">
     <instance_attributes id="resource_Delay2_instance_attrs">
       <attributes>
         <nvpair id="6b32cea9-c591-450d-a573-9f3489109c33" name="startdelay" 
value="5"/>
         <nvpair id="ae30a937-d5af-4824-942d-bb15ed8f6c76" name="stopdelay" 
value="5"/>
         <nvpair id="e1bd5803-2ea5-4b76-a811-c28cfd668855" name="mondelay" 
value="30"/>
       </attributes>
     </instance_attributes>
   </primitive>


with constraints:

<rsc_order id="order_Delay2_Delay1" to="resource_Delay1" score="100" 
from="resource_Delay2"/>

What means restart_type="ignore" in resource Delay_1? Delay_1 will not be 
restarted, if Delay_2 is moved to another node?

What means restart_type="restart" in resource Delay_1? Delay_1 will be 
restarted, if Delay_2 is moved to another node?

What mean restart_type=... in resoruce Delay_2?

Thanks for enlightening answers.



-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [EMAIL PROTECTED]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to