[squid-users] High availability based on Squid process

2008-04-15 Thread Nick Duda
I might need to take this elsewhere, but curious if anyone is doing this 
already.

I need to have a failover Squid proxy server in the event the primary goes 
down...when I say down, I mean Squid is not working. Is there any linux high 
availability (fault tolerance) software solutions that would failover if the 
squid process is not running?

- Nick


Re: [squid-users] High availability based on Squid process

2008-04-15 Thread BJ Tiemessen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Look at Linux HA (www.linux-ha.org), very nice software.

BJ

Nick Duda wrote:
| I might need to take this elsewhere, but curious if anyone is doing
this already.
|
| I need to have a failover Squid proxy server in the event the primary
goes down...when I say down, I mean Squid is not working. Is there any
linux high availability (fault tolerance) software solutions that would
failover if the squid process is not running?
|
| - Nick

- --
BJ Tiemessen
eSoft Inc.
303-444-1600 x3357
[EMAIL PROTECTED]
www.eSoft.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBO9oxD4S8yzNNMMRAqTHAJ0fXLOxQgA1ney43aoNh19MjwBjegCfQ10I
l3AEH0WOEf7bhxRUJ+BxkKM=
=fXMa
-END PGP SIGNATURE-


Re: [squid-users] High availability based on Squid process

2008-04-15 Thread ??????????? ???????

BJ Tiemessen ?:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Look at Linux HA (www.linux-ha.org), very nice software.

BJ

Nick Duda wrote:
| I might need to take this elsewhere, but curious if anyone is doing
this already.
|
| I need to have a failover Squid proxy server in the event the primary
goes down...when I say down, I mean Squid is not working. Is there any
linux high availability (fault tolerance) software solutions that would
failover if the squid process is not running?
|
| - Nick

- --
BJ Tiemessen
eSoft Inc.
303-444-1600 x3357
[EMAIL PROTECTED]
www.eSoft.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBO9oxD4S8yzNNMMRAqTHAJ0fXLOxQgA1ney43aoNh19MjwBjegCfQ10I
l3AEH0WOEf7bhxRUJ+BxkKM=
=fXMa
-END PGP SIGNATURE-

For example script (that discover is squid proccess is running or not)
Run this script by cron.


Re: [squid-users] High availability based on Squid process

2008-04-25 Thread J. Peng
On Wed, Apr 16, 2008 at 2:09 AM, BJ Tiemessen <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
>  Hash: SHA1
>
>  Look at Linux HA (www.linux-ha.org), very nice software.
>

Linux LVS works very well for this situtation.
We once had 200 squid hosts and use 2 LVS hosts before them.
LVS run with DR or Tunneling mode.


-- 
J. Peng - QQMail Operation Team
eMail: [EMAIL PROTECTED] AIM: JeffHua


Re: [squid-users] High availability based on Squid process

2008-04-25 Thread Chris Robertson

J. Peng wrote:

On Wed, Apr 16, 2008 at 2:09 AM, BJ Tiemessen <[EMAIL PROTECTED]> wrote:
  


Linux LVS works very well for this situtation.
We once had 200 squid hosts and use 2 LVS hosts before them.
LVS run with DR or Tunneling mode.

  


Was this in a forward proxy or an acceleration setup? 

If it was a forward set up, given that a lot of SSL sites don't like the 
requesting IP to change (and I assume in anything but a LVS-NAT setup 
the individual Squids make connections from individual real IP 
addresses), how did you go about "encouraging" a client's connections 
towards a single back end?  From what I've read, the load balancing 
methods focus on round-robin and least-load.  Or do you just SNAT the 
requests Squid makes?


Chris



Re: [squid-users] High availability based on Squid process

2008-04-25 Thread Chris Robertson

Chris Robertson wrote:

J. Peng wrote:
On Wed, Apr 16, 2008 at 2:09 AM, BJ Tiemessen <[EMAIL PROTECTED]> 
wrote:
 
Linux LVS works very well for this situtation.

We once had 200 squid hosts and use 2 LVS hosts before them.
LVS run with DR or Tunneling mode.

  


Was this in a forward proxy or an acceleration setup?
If it was a forward set up, given that a lot of SSL sites don't like 
the requesting IP to change (and I assume in anything but a LVS-NAT 
setup the individual Squids make connections from individual real IP 
addresses), how did you go about "encouraging" a client's connections 
towards a single back end?  From what I've read, the load balancing 
methods focus on round-robin and least-load.  Or do you just SNAT the 
requests Squid makes?


Chris



I hate replying to myself, but a little bit of reading would have 
prevented me from asking this question in the first place...


http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.ipvsadm.html#DH

Chris