apache-stats
will wait until all copies of the clone that need to be started have done so before being started itself. Only if no copies can be started apache-stats
will be prevented from being active. Additionally, the clone will wait for apache-stats
to be stopped before stopping the clone.
Example 10.5. Example constraints involving clones
<constraints> <rsc_location id="clone-prefers-node1" rsc="apache-clone" node="node1" score="500"/> <rsc_colocation id="stats-with-clone" rsc="apache-stats" with="apache-clone"/> <rsc_order id="start-clone-then-stats" first="apache-clone" then="apache-stats"/> </constraints>