Hello,
ipvsadm 1.26, -L option doesn't work correctly on i686. Option work
correctly with 1.25 or on x86_64.
After running those 3 following command on a test host
ipvsadm -A -t 192.168.72.122:80 -s rr
ipvsadm -a -t 192.168.72.122:80 -r 192.168.72.125:80 -g -w 10
ipvsadm -a -t 192.168.72.122:80 -r 192.168.72.126:80 -g -w 10
i got on i686:
# uname -m
i686
# ipvsadm -Ln
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.72.122:80 rr
-> 192.168.72.125:80 Route 10 0 0
We can see a real server is missing. Trying to add it twice trigger a
new error:
# ipvsadm -a -t 192.168.72.122:80 -r 192.168.72.126:80 -g -w 10
Destination already exists
So, i supposed it's a listing issue, because entry is present. in
addition, if i test with ipvsadm 1.25, listing is done correctly.
# cd ~/ipvsadm-1.25
# ./ipvsadm -Ln
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.72.122:80 rr
-> 192.168.72.125:80 Route 10 0 0
-> 192.168.72.126:80 Route 10 0 0
-> 192.168.72.129:80 Route 11 0 0
on x86_64 all works fine with ipvsadm 1.26:
# uname -m
x86_64
# ipvsadm -Ln
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.72.122:80 rr
-> 192.168.72.125:80 Route 10 0 0
-> 192.168.72.126:80 Route 10 0 0
Those tests was done with a linux 3.2.5 on archlinux and on fedora.
Regards,
--
Sébastien Luttringer
www.seblu.net
_______________________________________________
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
|