Search squid archive

Re: help on LB config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi sqlcamel:

In my Debian Squid2.7STABLE7's default config file,  the
'nonhierarchical_direct' and 'prefer_direct' config options: By
combining nonhierarchical_direct off and prefer_direct on you can set
up Squid to use a parent as a backup path if going direct fails.

But i could not get that work in my testing, the config is:
cache_peer x.x.x.x  parent 80 0 no-digest no-netdb-exchange no-query
prefer_direct on
nonhierarchical_direct off
With no 'always_direct' or 'never_direct'  Squid first use the parent
not go directly.

Anyone help?
Thanks

2009/11/17 sqlcamel <sqlcamel@xxxxxxxxxxxx>:
> Hello,
>
> We have two webservers, using a squid box for Loadbanancing in front of
> them.
>
> What I want is, under normal case all traffic will go to one webserver.
> only when that webserver got down, the traffic will go to another one.
>
> How to config squid for this?
> Thanks a lot.
>
> --
> Yahoo/Skype: sqlcamel
>

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux