Search squid archive

Re: Can Squid Load Balancing be Dynamic/Conditional against SNMP Monitoring?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

http://wiki.squid-cache.org/SquidFaq/CompleteFaq#SquidFaq.2BAC8-RelatedSoftware.Load_Balancers

... 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@xxxxxxxxx> 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.
> -------------------------------------------------------
>



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux