Failover with persistent connections
Hello and thanks for the tutorial...
I'm trying to set it up on centos servers,
the problem I have is I'd like to use the
option in ldirectord.cf because I need session affinity.
The problem is , when I turn off an apache ( service httpd stop )
ldirector keeps the users which have been sent on that real server
on that connections and they get a 'server unreachable'.
Using ipvsadm I still see their connections as InActConn, even if the weight is
now set to 0.
Is there a way to clear the connection table when a real server goes down?
Another thing I noticed is that you list ips for the webservers (192.168.0.101, 192.168.0.102) but never tell to configure an interface (es eth0:0) for them.
If I understood correctly the only ip which is brought up and down by the system is the VIP (192.168.0.105), all the others must already be up on the 2 nodes, right?
Thanks a lot