Hi
Stjohnson wrote:
> So it's looking like I'm not going to be able to do this LVS. I'm
> investigating other solutions actually just to cover all my bases. There has
> to be a system that does this w/o special modifications.
Is there a particular reason why periodic updates would not work?
Pseudocode:
VIP=1.2.3.4
DOMAIN=realservers.domain.com
while true; do
sleep 10
clear_ipvsadm $VIP
for ip in $(dig +short $DOMAIN); do
add_realserver $ip
done
done
Is it a special modification? It may be better to dynamically update the
VIP instead of a flush though.
Siim
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|