thank you very much, it is working now, when 1st link is down the connection is
shifted to link2 and vice versa, but having another problem, remember link 1 is
connected to a pc which is configured as proxy1 with option proxy-only and
cache_dir null same as the second line connected to another machine and
confiure as proxy 2 with same configuration as proxy 1. The problem is when
link 1 is off the main proxy still do a round robin which in this case checks
the proxy 1 and proxy 2 alternatively so in case that link 1 is off therefore
when the main proxy fetches on the proxy 1 an error occured, so what can I do
is to refresh the page until the main proxy checks the second link which is the
proxy 2.
Is there a way to configure that when the 1st is off, proxy1 will announces to
the main proxy that it has no connection to the internet so that main proxy
will not bother to visit proxy 1 instead direct all request to proxy2.
Tnak you very much,
Wennie
Quoting Mark Elsen <mark.elsen@gmail.com>:
> >
> >
> > Hi all,
> >
> > I'm having problem with my setup, this is the scenario:
> >
> > I have 2 dsl lines, line 1 and line2, with every line I setup a proxy
> server
> > proxy 1 and proxy 2, this 2 proxy server are configured option proxy only.
> >
> > On the back of this 2 proxy I have the main proxy which which I configure
> the
> > cach_peer this way:
> > cache_peer proxy1 parent 8080 0 weight=50 round-robin
> > cache_peer proxy2 parent 8080 0 weight=50 round-robin
> >
> > with this scenario it is working smooth, when proxy2 is dead still it works
> > smooth, the problem is when proxy1 is dead it is not shifting the load to
> > proxy2.(note that the default gateway is proxy1, but even I remove the
> default
> > gateway since they belong to the same subnet, the situation is the same,
> when 2
> > proxies are up no problem, when proxy2 is dead and proxy 1 is up no
> problem,
> > but when proxy1 is dead and proxy2 is up then the problems occurs)
> >
> > Can you please help me on this?
> >
>
> Try setting :
>
> nonhierarchical_direct off
>
> in squid.conf.
>
> If your clients are behind a Firewall :
> use
>
> never_direct allow all
>
> in squid.conf
>
> M.
>
Received on Sat Dec 17 2005 - 07:43:47 MST
This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:02 MST