can't add second node

Tim Dunphy bluethundr at gmail.com
Mon May 5 04:50:38 CEST 2014


Hey all,

 I have a very basic entirely stripped down default.vcl that I can't seem
to get to work. And I'm unclear as to why.


With one node defined I am good and can restart at will:

# man page for details on VCL syntax and semantics.
#
# Default backend definition.  Set this to point to your content
# server.
#
probe favicon {
  .url = "/favicon.ico";
  .timeout = 60ms;
  .interval = 2s;
  .window = 5;
  .threshold = 3;
}

backend web1  {
  .host = "xx.xx.xx.xx";
  .port = "80";
  .probe = favicon;
}


[root at varnish1 varnish]# service varnish restart
Stopping Varnish Cache:                                    [  OK  ]
Starting Varnish Cache:                                    [  OK  ]


However as soon as I add one more node, vernish fails to start:

# man page for details on VCL syntax and semantics.
#
# Default backend definition.  Set this to point to your content
# server.
#
probe favicon {
  .url = "/favicon.ico";
  .timeout = 60ms;
  .interval = 2s;
  .window = 5;
  .threshold = 3;
}

backend web1  {
  .host = "xx.xx.xx.xx";
  .port = "80";
  .probe = favicon;
}

backend web2  {
  .host = "xx.xx.xx.xx;
  .port = "80";
  .probe = favicon;
}
Varnish will not start with this config:

[root at varnish1 varnish]# service varnish start
Starting Varnish Cache:                                    [FAILED]

I was just hoping someone could enlighten me as to why I may be having
trouble here!

Thanks for any advice you can give.

Tim

-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140504/dfb9e486/attachment-0001.html>


More information about the varnish-misc mailing list