load balancing using keepalived

Gerry Reno greno at verizon.net
Wed May 23 17:37:12 BST 2007


Joseph Mack NA3T wrote:
> don't know what the problem is. It's unlikely to be a bug or other 
> people would be complaining about it too.
>
> Can you try with two external realservers, rather than one external 
> and one localnode?
>
> Joe
>

Ok, I tried switching the IP's for the realservers to two other machines 
on my LAN. I can ssh into these without problem. But now when I restart 
keepalived and try to ssh from any non-director-master clients to the 
VIP it just hangs. No info in any log, nothing. If I try to ssh to the 
VIP from the director-master it logs me into the director-master itself 
instead of one of the realservers. Very strange.

Here is ipvsadm:
# ipvsadm
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.1.215:ssh rr
-> 192.168.1.41:ssh Masq 100 0 1
-> 192.168.1.40:ssh Masq 100 0 0

Gerry



Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list