LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Strange behaviour with ipvsadm

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Strange behaviour with ipvsadm
From: David Rodrigues <drodrig@xxxxxxxxxxxxxxxx>
Date: Mon, 11 Sep 2000 09:09:12 -0400 (EDT)
Hello,

I set up 2 machines to act as Linux Directors the machines are using the
same patched 2.2.16 kernel. The machines are both using ipvsadm v.0.9.15.
On the first machine (call it ld1), direct routing works like a champ. On
the second machine (rs2 -- see below) I get some funky results, and in the
end it doesn't work.

ipvsadm -A -t 192.168.1.221:80 -s wlc
First of all, if I don't load ip_vs_wlc manually, I get an error (see
below). I'm not sure how ipvsadm tries to find the module, but I checked
modules.dep and did a depmod -a. The module exists in the same place on
both servers. Next, if I manually load ip_vs_wlc, ipvsadm doesn't error,
but I get a weird hexadecimal number on the target:port for the service. 

ipvsadm -a -t 192.168.1.221:80 -r 192.168.1.225 -g
I get this from an ipvsadm -L
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP  C0A801DD:0050 wlc
  -> 01000000:0000      Masq    0      0          0

I'm confused! Any ideas? Below is a screen capture of all the relevant
commands on the offending server for reference.

David Rodrigues

[root@rs2 /root]# ipvsadm IP Virtual
Server version 0.9.15 (size=4096) Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port Forward Weight ActiveConn InActConn
[root@rs2 /root]# ipvsadm -A -t 192.168.1.221:80 -s wlc
setsockopt failed: No such file or directory
Scheduler not found: ip_vs_wlc.o
[root@rs2 /root]# insmod ip_vs_wlc
[root@rs2 /root]# ipvsadm -A -t 192.168.1.221:80 -s wlc
[root@rs2 /root]# ipvsadm -L
IP Virtual Server version 0.9.15 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP  C0A801DD:0050 wlc
[root@rs2 /root]# uname -a
Linux rs2 2.2.16 #1 Wed Aug 23 21:09:49 EDT 2000 i686 unknown
[root@rs2 /root]# ipvsadm -a -t 192.168.1.221:80 -r 192.168.1.225 -g
[root@rs2 /root]# ipvsadm -L
IP Virtual Server version 0.9.15 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP  C0A801DD:0050 wlc
  -> 01000000:0000      Masq    0      0          0         
[root@rs2 /root]# 



<Prev in Thread] Current Thread [Next in Thread>