Hi,<br><br>I am new to the list, and just getting started with varnish. <br><br>It appears that the round-robin director is not hitting every node the list. Is this a bug or does rr have a method for determining which node is best to hit out of the box. <br>
<br>I set up 4 virtual hosts running on different ports: www1, www2, www3, www4. In no case would the server access www1. It seems to restrict itself to www3 and www4, is there a problem where it choosing only two nodes? If I moved the servers to different IP addresses would it help? Of course that is how it would be configured in production. <br>
<br>If anyone has any insight I would like to know. I can do more tests and research further, but it would be good to know if I doing something wrong or this is a known issue. <br><br>Please find my config below: <br><br>
backend www1 {<br>  .host = "www1";<br>  .port = "81";<br>}<br><br>backend www2 {<br>  .host = "www2";<br>  .port = "82";<br>}<br><br><br>backend www3 {<br>  .host = "www3";<br>
  .port = "83";<br>}<br><br>backend www4 {<br>  .host = "www4";<br>  .port = "84";<br><br>director wwwdirector round-robin {<br>  { .backend = www2; }<br>  { .backend = www3; }<br>  { .backend = www1; }<br>
  { .backend = www4; }<br>}<br><br>sub vcl_recv {<br>  set req.backend = wwwdirector;<br><br>  if ( req.request ) {<br>#don't cache anything, just load balance<br>    pass;<br>  }<br><br>}<br> <br><br>Thanks!<br>Michael<br>