Database
must start before Webserver
, and IP
should start before Webserver
if they both need to be started:
Example 6.4. Optional and mandatory ordering constraints
<constraints> <rsc_order id="order-1" first="IP" then="Webserver" kind="Optional"/> <rsc_order id="order-2" first="Database" then="Webserver" kind="Mandatory" /> </constraints>
symmetrical
default to TRUE, Webserver
must be stopped before Database
can be stopped, and Webserver
should be stopped before IP
if they both need to be stopped.