Unused backend code_sample_director, defined
Herberto Graça
herberto.graca at gmail.com
Sat Jun 29 14:44:00 CEST 2013
Hi,
Im new to varnish, and I've been following the tutorial to set it up.
Currently Im trying to set up varnish also as a load balancer, however it
comes out an error:
[vagrant at cache ~]$ sudo varnishd -n foo -f /etc/varnish/default.vcl -s
malloc,1G -T 127.0.0.1:2000 -a 0.0.0.0:8080 -d
Message from VCC-compiler:
Unused backend code_sample_director, defined:
('input' Line 29 Pos 10)
director code_sample_director round-robin {
---------####################--------------
Running VCC-compiler failed, exit 1
VCL compilation failed
This is my default.vcl:
backend app1 {
.host = "app1.hgraca.com";
.port = "80";
.probe = {
.url = "/";
.interval = 5s;
.timeout = 1s;
.window = 5;
.threshold = 3;
}
}
backend app2 {
.host = "app2.hgraca.com";
.port = "80";
.probe = {
.url = "/";
.interval = 5s;
.timeout = 1s;
.window = 5;
.threshold = 3;
}
}
director workspace_director round-robin {
# server1
{
.backend = app1;
}
# server2
{
.backend = app2;
}
}
Any ideaas about what Im missing?
Tkx,
Herberto Graça
_________________________________
<http://pt.linkedin.com/pub/herberto-gra%C3%A7a/8/10/b32>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130629/dd634c20/attachment.html>
More information about the varnish-misc
mailing list