LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: 2.2.12 manuals?

To: "DOSCHER,JONATHAN (Non-HP-SanDiego,ex1)" <Jonathan_Doscher@xxxxxxxxxxxxx>
Subject: RE: 2.2.12 manuals?
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: maro@xxxxxxxxxxxxxxxx
Date: Sat, 11 Sep 1999 01:16:44 +0900 (KST)

On Fri, 10 Sep 1999, DOSCHER,JONATHAN (Non-HP-SanDiego,ex1) wrote:

> 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:
>  
>  

Your second command is wrong. 
write virtual IP after -t, and write real server IP after -r.

i.e.

on your setting, you must write this.

/sbin/ipvsadm -A -t 15.80.48.80:80 -s wlc  
/sbin/ipvsadm -a -t 15.80.48.80:80 -r 15.80.48.70:80 -i
/sbin/ipvsadm -a -t 15.80.48.80:80 -r 15.80.48.71:80 -i

And I think that you must recompile your web server with IP tunneling
and ARP patch.

How about visit the home page, and read the documents carefully ?




----------------------------------------------------------------------
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx

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