monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] Wait for dependencies to start


From: Martin Pala
Subject: Re: [monit] Wait for dependencies to start
Date: Tue, 23 Mar 2010 02:04:59 +0100

Hi Philippe,

currently only correct sequence is enforced, but the child services don't wait 
doe their parent to come up (soft dependency).

We can add hard dependencies in next monit release (child will wait for its 
parent to come up).

Regards,
Martin


On Mar 22, 2010, at 12:27 PM, Philippe Muller wrote:

> Hi,
> 
> I use Monit to manage services who has dependencies between them.
> 
> I currently have two services :
> - glusterfs-sge : A GlusterFS instance on which Sun Grid Engine stores data.
> - sge-qmaster : A Sun Grid Engine instance which depends on glusterfs-sge.
> 
> Sometimes, when both services are down and I start sge-qmaster, its execution 
> fails because glusterfs-sge takes a few seconds to be ready.
> 
> How can I force monit to wait 3 seconds between the start of glusterfs-sge 
> and sge-qmaster ?
> 
> Thanks.
> 
> Philippe Muller
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general





reply via email to

[Prev in Thread] Current Thread [Next in Thread]