LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

ipvsadm not being started by lvs

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: ipvsadm not being started by lvs
From: "Michael Rasmussen" <rasmussenm@xxxxxxxxxxxxxxxxx>
Date: Thu, 14 Jun 2001 17:58:54 -0700
Hello all,

I have a fresh, first time installation. Attmpting to start lvs, ipvsadm
fails, yet I can start it manually.
What does it seem that I am doing wrong?

When I run lvs to test things out it reports:

Jun 14 17:52:55 cfe01 lvs[2132]: starting virtual service webtest active: 80
Jun 14 17:52:55 cfe01 lvs[2132]: running command  "/usr/sbin/ipvsadm" "-A"
"-t" "10.1.199.5:80" "-s" "wlc" "-p" "20"
Jun 14 17:52:55 cfe01 lvs[2132]: ipvsadm failed for virtual server webtest!


Yet I am able to manually load the ipvsadm tables:

[root@cfe01 /root]# ipvsadm -A -t 10.1.199.5:80 -s wlc -p 20
[root@cfe01 /root]# ipvsadm --add-server -t 10.1.199.5:80  --real-server
10.199.0.1:80
[root@cfe01 /root]# ipvsadm --add-server -t 10.1.199.5:80  --real-server
10.199.0.2:80
[root@cfe01 /root]# ipvsadm --add-server -t 10.1.199.5:80  --real-server
10.199.0.3:80
[root@cfe01 /root]# ipvsadm
IP Virtual Server version 1.0.8 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port             Forward Weight ActiveConn InActConn
TCP  cluster.columbiafunds.com:www wlc persistent 20
  -> realweb03.columbiafunds.com:www Route   1      0          0
  -> realweb02.columbiafunds.com:www Route   1      0          0
  -> realweb01.columbiafunds.com:www Route   1      0          0           


What am I doing wrong?

Config and version information follows:

[root@cfe01 /root]# lvs --version
 
Program Version: lvs 1.32
 
[root@cfe01 /root]# ipvsadm --version
ipvsadm v1.15 2001/3/27 (compiled with getopt_long and IPVS v1.0.6)
[root@cfe01 /root]# uname -a
Linux cfe01.columbiafunds.com 2.2.19 #4 Tue Jun 5 10:39:23 PDT 2001 i586
unknown
[root@cfe01 /root]#     

networks are all /16 
/etc/lvs.cf:

 
primary = 10.1.199.1
service = lvs
network = nat
nat_router = 10.199.0.254 eth1:1
virtual webtest {
     active = 1
     address = 10.1.199.5 eth0:1
     port = 80
     pmask = 255.255.255.255
     load_monitor = rup
     scheduler = wlc
     protocol = tcp
     persistent = 20
     timeout = 10
     reentry = 240
     server rweb01 {
         address = 10.199.0.1
         active = 1
         weight = 100
     }
     server rweb02 {
         address = 10.199.0.2
         active = 1
         weight = 100
     }
     server rweb03 {
         address = 10.199.0.3
         active = 1
         weight = 100
     }
}                                                             



--  
  Michael Rasmussen - Network Engineer, Columbia Management
  voice:  503-973-6723  cell:  503-807-1447  rasmussm@xxxxxxxxxxxxxxxxx
  <mailto:rasmussm@xxxxxxxxxxxxxxxxx> http://www.columbiafunds.com


NOTICE:  This communication may contain confidential or other privileged 
information.  If you are not the intended recipient, or believe that you have 
received this communication in error, please do not print, copy, retransmit, 
disseminate, or otherwise use the information.  Also, please indicate to the 
sender that you have received this email in error, and delete the copy you 
received.  Any communication that does not relate to official Columbia business 
is that of the sender and is neither given nor endorsed by Columbia.  Thank you.




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