[Pacemaker] staggered startup

Andreas Kurz andreas at hastexo.com
Thu Sep 6 21:25:45 UTC 2012


On 09/05/2012 04:08 PM, James Harper wrote:
> A power failure tonight indicated that my clustered resources (xen vm's) have a dependency requirement like "make sure at least one domain controller VM is fully up and running before starting any other windows servers". Determining a status of "fully up and running" is probably complex so as a minimum I need to say "make sure resource1 has been started for 60 seconds before starting resource2".
> 
> Is this possible?

The VirtualDomain ra has the possibility to define additional monitor
scripts. You can use any script you like to check if services inside a
vm are up e.g. trying to connect to a smtp service inside the VM .... be
sure to use generous start timeout values.

Regards,
Andreas

-- 
Need help with Pacemaker?
http://www.hastexo.com/now

> 
> Thanks
> 
> James
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 222 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120906/02c3b41a/attachment-0004.sig>


More information about the Pacemaker mailing list