LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: 2.2.12 manuals?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: 2.2.12 manuals?
From: "DOSCHER,JONATHAN (Non-HP-SanDiego,ex1)" <Jonathan_Doscher@xxxxxxxxxxxxx>
Date: Fri, 10 Sep 1999 08:21:33 -0700
Thanks for the input all, but it would seem I have a problem.  What I am trying to do is use LVM to present two ip's in this case/load balance them and have them show up as the single LVM.  Here are the stats:
15.80.48.80    (eth0:0 on the LVM box) Virtual Machine
15.80.48.70    Web Server 1
15.80.48.71    Web Server 2
 
I use the first command to add the virtual server
# /sbin/ipvsadm -A -t 15.80.48.80:80 -s wlc
 
and it takes.
 
I use the second command to try to add a real server to the pool with
# /sbin/ipvsadm -a -t 15.80.48.70:80 -r 15.80.48.80:80 -g
but I get an error message saying "setsockopt failed: No such process
Service not defined"  Is that because I left something out of the kernel config, or am I just missing a route?  Have any of you seen this before?  Thanks for the help.   Below is a short log of what happened:
 
 
[root@hpsdw112 cdplayer]# cd /sbin
[root@hpsdw112 /sbin]# /sbin/ipvsadm -A -t 15.80.48.80:80 -s wlc
[root@hpsdw112 /sbin]# ./ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:09:B1:19:E8
          inet addr:15.80.48.77  Bcast:15.80.49.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:372 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:9 Base address:0xffe0 DMA chan:4
 
eth0:0    Link encap:Ethernet  HWaddr 08:00:09:B1:19:E8
          inet addr:15.80.48.80  Bcast:15.80.49.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:9 Base address:0xffe0 DMA chan:4
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
 
[root@hpsdw112 /sbin]# /sbin/ipvsadm -a -t 15.80.48.70:80 -r 15.80.48.80 -g
setsockopt failed: No such process
Service not defined
[root@hpsdw112 /sbin]# /sbin/ipvsadm -a -t 15.80.48.70:80 -r 15.80.48.80:80 -g
setsockopt failed: No such process
Service not defined
[root@hpsdw112 /sbin]# 
 
J. Doscher
                                                    
<Prev in Thread] Current Thread [Next in Thread>