Detecting health of Backend in Director in VCL
Tollef Fog Heen
tfheen at varnish-software.com
Fri Jul 15 08:02:38 CEST 2011
]] Chris Davies
| And in VCL, how do I tell the health of the backend within a director?
something like:
backend foo {
…
}
director rr round-robin {
{ .backend = foo; }
…
}
sub vcl_recv {
set req.backend = foo;
if (!req.backend.healthy) {
# Handle this
}
set req.backend = rr;
}
--
Tollef Fog Heen
Varnish Software
t: +47 21 98 92 64
More information about the varnish-misc
mailing list