Backend server health check(hit even server is down)

Jewel Nuruddin jewel.nuruddin at eastbeam.co.jp
Mon Mar 12 02:41:02 CET 2012


Hello
I use varnish 3.0.2 and I have tow backend web server by round-robin.
I found that my current configuration hit the backend if the backend server
is down.
I want varnish will not look for backend if the backed is down.
Can some one please help me.

My current configuration is bellow.

backend web01 {
  .host = "10.70.18.10";
  .port = "8080";
}

backend web02 {
  .host = "10.70.18.11";
  .port = "8080";
}

director web round-robin {
        {
                .backend = web01;
        }
        {
                .backend = web02;
        }
}

sub vcl_recv {
           set req.backend = web;
           }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120312/ea370f4e/attachment.html>


More information about the varnish-misc mailing list