LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ipvsadm not being started by lvs

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: ipvsadm not being started by lvs
From: Paul Baker <pbaker@xxxxxxxxxxxxxxx>
Date: Thu, 14 Jun 2001 21:37:49 -0500
Michael Rasmussen wrote:

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


perhaps ipvsadm isn't located at /usr/sbin/ipvsadm
maybe it's at /usr/local/sbin/ipvsadm ??



--
=======================================================================
Paul J. Baker                               Internet Systems Technician
pbaker@xxxxxxxxxxxxxxx                                  Where2GetIt.com
phone 847-498-0111x234
fax   847-480-7422
=======================================================================




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