Force a backend health probe?

Stephen Wood smwood4 at gmail.com
Tue Sep 10 22:46:58 CEST 2013


Thanks for the breakdown. I think "initial" was the configuration change I
was looking for. If I set this to 0 will the backends be assumed to be
healthy until they hear back from their first health check?


On Tue, Sep 10, 2013 at 1:43 PM, Dridi Boukelmoune <
dridi.boukelmoune at zenika.com> wrote:

> Hi,
>
> From the man vcl:
>
> .window
>        How many of the latest polls we examine to determine backend
>        health.  Defaults to 8.
>
> .threshold
>        How many of the polls in .window must have succeeded for us to
>        consider the backend healthy.  Defaults to 3.
>
> .initial
>        How many of the probes are considered good when Varnish starts.
>        Defaults to the same amount as the threshold.
>
>
> On Tue, Sep 10, 2013 at 8:20 PM, Stephen Wood <smwood4 at gmail.com> wrote:
> > Is it possible to force a backend-end health probe or force mark a
> backend
> > as healthy?
> >
> > For example, you have a group of machines and their health probe is set
> to
> > something like 60 seconds, which is preferable for every-day use.
> However,
> > when starting the varnish machine for the first time I would like these
> > backends to be marked healthy as quick as possible.
> >
> > Any ideas how this can be done without just changing the VCL for period
> of
> > time?
>
> What are the "threshold" and "initial" values of your probes ?
>
> > --
> > Stephen Wood
> > www.heystephenwood.com
> >
>
> Dridi
>
> > _______________________________________________
> > varnish-misc mailing list
> > varnish-misc at varnish-cache.org
> > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
Stephen Wood
www.heystephenwood.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130910/b10609b3/attachment.html>


More information about the varnish-misc mailing list