Search squid archive

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

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

 



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