[squid-users] Re: Can Squid Load Balancing be Dynamic/Conditional against SNMP Monitoring?

From: Billie Martin <ex.wife.billie_at_gmail.com>
Date: Mon, 15 Aug 2011 14:50:46 -0500

I meant to include the documentation that I had found on this:


... including:

Pen: http://siag.nu/pen/
Linux Virtual Server: http://www.linuxvirtualserver.org/
Keepalived: http://www.keepalived.org/
VRRPd: http://off.net/~jme/vrrpd/

Pen looks promising - anyone use it? Does it work WITH Squid or as an
alternative? I like that "It allows several servers to appear as one
to the outside and automatically detects servers that are down and
distributes clients among the available servers. This gives high
availability and scalable performance. The load balancing algorithm
keeps track of clients and will try to send them back to the server
they visited the last time."

On Mon, Aug 15, 2011 at 2:33 PM, Billie Martin <ex.wife.billie_at_gmail.com> wrote:
> I understand how Squid can be configured as a Load Balancer rotating
> round-robin among a set of web servers IP addresses:
> - http://wiki.squid-cache.org/ConfigExamples/Strange/RotatingIPs
> - http://dlc.sun.com/osol/docs/content/SQUIDBALANCE/ggyxf.html
> The problem is that if one of those web servers is down (either
> administratively or unplanned), Squid will continue to send traffic to
> it, right?  If SNMP is enabled on Squid (see below), can Squid monitor
> the web servers over SNMP and dynamically allocate traffic based on
> whether the servers are up or not?  If this is possible, how might it
> be configured, and where might it be documented?
> Is there a better way to do this?  Would it be better to manage the
> dynamic process with Heartbeat and Linux HA (with
> http://en.wikipedia.org/wiki/Linux-HA), even if there was only a
> single Squid server and not a cluster?
> I would greatly appreciate ANY discussion on this.  Advantages,
> disadvantages, configurations, alternatives, etc.  Many thanks in
> advance.
> -------------------------------------------------------
> To use SNMP with squid, it must be enabled with the configure script,
> and rebuilt. To enable SNMP in squid go to squid src directory and
> follow the steps given below :
> ./configure --enable-snmp [ ... other configure options ]
> make all
> make install
> And edit following tags in squid.conf file :
> acl aclname snmp_community public
> snmp_access aclname
> Once you configure squid and SNMP server, Start SNMP and squid.
> -------------------------------------------------------
Received on Mon Aug 15 2011 - 19:50:52 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 16 2011 - 12:00:02 MDT