On Tue, 16 Oct 2001, oleg dashevskii wrote:

> Hallo,
> 
> I've got a small network of windows boxes, for which my FreeBSD box
> acts as a server with oops being run as a proxy server.
> 
> Further, there are two more proxy servers (another oops & squid),
> which can (and must) be used as parent proxies, since direct internet
> connection is very slow. The first one is preferable but it goes down

This should not nappen (if you mean oops under first).

> rather often. The second one is slower but would serve OK a good backup
> parent server.
> 
> The question is in the point, how to achieve this backing up, 
> so that my oops would automatically switch to backup parent when the
> primary parent is not available?
> 
> Well, I could roll out a script that would check network connections,
> `sed` the config file and `kill -1` oops, but is there any better
> decision? Could this be achieved with cache peering or whatever? 

The solution is: describe both parents as icp parents, using

peer ... {
        ...
        parent ;
        ...
}

List more preferable parent first. Then any requests will go through
first answered peer. If any peer will not answer then request will go via
another peer.

> 
> /od
> 
> =====================================================================
> If you would like to unsubscribe from this list send message to
> [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
> Archive is accessible on http://lists.paco.net/oops-eng/
> 

Igor Khasilev                     |
PACO Links, igor at paco dot net  |

=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
Archive is accessible on http://lists.paco.net/oops-eng/

Дати відповідь електронним листом