In message <[EMAIL PROTECTED]>, Dave Cheney write
s:
>Hi,
>
>I compiled r2505 from svn but the backend syntax has changed since  
>this page
>
>http://varnish.projects.linpro.no/wiki/Backends
>
>was written. Can anyone please supply with the new round_robbin syntax  
>for the following old style config
>
>backend_round_robin default {
>       set backend.set = {
>               { "172.16.0.72", "http" }
>               { "172.16.0.73", "http" }
>       };
>}

Hi Dave,

I have not converted the round_robin code yet, but you should be get
roughly the same effect with a 2 part random:

        director default random {
                {
                        .backend = { .host = "172.16.0.72"; }
                        .weight = 1;
                }
                {
                        .backend = { .host = "172.16.0.73"; }
                        .weight = 1;
                }
        }


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev

Reply via email to