Make your SQUID server's stronger !

7/2008

 


Here is the configuration, we want if one of server is offline, second take the relay so
hearbeat is divide in 3 important files located inside /etc/ha.d/ folder (on RedHat system) :

- authkeys
- ha.cf
- haresources

authkeys

auth 1
1 sha1 mykey


ha.cf

keepalive 1
deadtime 10
warntime 5
initdead 10
udpport 694
ucast eth0 [ip_adress_of_the_other_server]
auto_failback on
node squidproxy1
node squidproxy2


haresources

squidproxy1 [ip_adress_of_cluster] squid

 

 

 

 

© Bastien Barbe 2008