Ok, thanks - that works and i see that a sibling becomes some request
for caches.
But if i stop the local apache on a server and ask over the server the
website - squid sad
2007/05/10 08:10:30| Detected DEAD Parent: 127.0.0.1
2007/05/10 08:10:30| TCP connection to 127.0.0.1/80 failed
Thats ok
but the result is this:
The following error was encountered:
* Unable to forward this request at this time.
2007/05/10 08:10:55| Failed to select source for 'http://www.xxx.tld'
2007/05/10 08:10:55| always_direct = 0
2007/05/10 08:10:55| never_direct = 0
2007/05/10 08:10:55| timedout = 0
Thanks
Marcel
leongmzlist wrote:
> 1. your cache sibling configuration is wrong; you're not contacting any
> of the sibling.
> 2. use the proxy-only flag if you don't want squid to store cache hits
> from the siblings.
>
> try something like
>
> cache_peer sibling1 sibling 80 3130 proxy-only no-delay allow-miss
> name=sibling1
>
> mike
>
> At 03:02 PM 5/9/2007, Marcel Alburg wrote:
>> Hello,
>>
>> my Networks looks like
>>
>>
>> Internet
>> |
>> [LB] -ha- [LB]
>> | |
>> +-------------------------------------+
>> | |
>> | |
>> [Squid + Apache] [Squid + Apache]
>>
>>
>> All Hosts has running a webserver at 127.0.0.1:80 and a squid at the
>> official IP Adresse on Port 80.
>>
>> The LoadBalancer ([LB]) forward the request to on of the server. The
>> Squid checks his Cache and it the cache valid he send from cache
>> otherwise he ask the local apache.
>>
>> We've a lot of hosts with this configuration and we've a problem, that
>> any squid cache his own version from a webpage (n-Nodes could be n
>> different Versions from a webpage - because the access and
>> generationtime differs).
>>
>> My question is. It is possible to let ask the Squid the other nodes in
>> the network if the requested page cached. And has any node a cached
>> version - than deliver this cached version - otherwise ask the local
>> apache.
>>
>> I tried a lot of different configs but nothing works to my contentment.
>>
>> a other problem is:
>>
>> If ask the squid the local page and gets an Error 404 or 500 he should
>> ask the other Proxies for any valid cached version and deliver that
>> version. The Webuser should not see the 500 Errors (if we had a lot of
>> load at the server, the error 500 pages comes often).
>>
>> And i wanna stop the local apache at one node and the squid should
>> notice that and ask the other nodes.
>>
>> One of my not working config was like this
>>
>> cache_peer 127.0.0.1 parent 80 0 originserver no-query default
>> allow-miss
>> cache_peer 127.0.0.1 sibling 80 3130
>> cache_peer 127.0.0.1 sibling 80 3130
>> cache_peer 127.0.0.1 sibling 80 3130
>> icp_hit_stale on
>>
>>
>> It is possible to realized that ?
>>
>> Thanks
>>
>> Marcel
>
>
Received on Thu May 10 2007 - 02:12:25 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:04 MDT