Detecting health of Backend in Director in VCL

Shibashish shib4u at gmail.com
Thu Jul 14 15:05:38 CEST 2011


On Thu, Jul 14, 2011 at 6:30 PM, Chris Davies <isp at daviesinc.com> wrote:

> I've got a director set up with three nodes, and I can see how to check the
> health of the director, but, is there any method to check the health of a
> particular backend in the director?
>
> i.e. If our heavily weighted server is detected as down, I may want to
> handle some requests differently, but, while the director is up, it still
> reports healthy.
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>

Each backend host is checked with its own probe...

.probe = {
                .url = "/probe.cgi";
                .timeout = 34 ms;
                .interval = 1s;
                .window = 10;
                .threshold = 8;
        }

More at https://www.varnish-cache.org/trac/wiki/BackendPolling


ShiB.
while ( ! ( succeed = try() ) );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110714/08413ef1/attachment-0003.html>


More information about the varnish-misc mailing list