LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: real servers adding with virtual server / directors

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: real servers adding with virtual server / directors
From: vlrk <tech_voip@xxxxxxxxxxx>
Date: Sat, 3 Feb 2007 08:38:27 +0000 (GMT)
Hello Joseph,

Thanks for all your support.

I got what i was searching for .

by takeing care of the arp problem .

I got this info from mail list archive.

Thanks to ankush grover for all his postings.

Right now iam using ipvs with Direct Routing.

I have general doubts .

1) If i want to use tunnel with IPVS should the
diector ip/vip be the default gateway of the real
servers. 

ex: CIP : 192.168.68.254
    DIP : 192.168.68.49
    VIP : 192.168.68.201
    RIP : 192.168.68.73
    RIP : 192.168.68.74
    
1) so now Real Servers should have default gateway as
49 or should it have 201 ?

2) If i use tunnel and while rendering the services to
client if the real server dies / goes down .

What happens to the client request does the the
Director will divert that to another live server ?

regards
vlrk



--- Joseph Mack NA3T <jmack@xxxxxxxx> wrote:

> On Fri, 2 Feb 2007, vlrk wrote:
> 
> >
> >
> > hello Joseph,
> >
> > i gone through entire documenation of mini howto .
> 
> did you run the lvs-configure script mentioned in
> the HOWTO 
> or did you run the example setup pieces of code
> mentioned in 
> the mini-HOWTO?
> 
> > changed the .conf files as said in the mini how to
> > and
> >
> http://www.ultramonkey.org/papers/lvs_tutorial/html/
> 
> you have to use one or the other, not both.
> 
> > /sbin/ifconfig eth0:0 192.168.68.201 broadcast
> > 192.168.68.255 netmask 255.255.255.255
> > /sbin/route add -host 192.168.68.201 dev eth0:0
> 
> don't know why you need that.
> 
> > /sbin/ipvsadm -A -t 192.168.68.201:telnet -s rr
> > /sbin/ipvsadm -a -t 192.168.68.201:telnet -r
> > 192.168.68.74 -g -w 1
> > /sbin/ipvsadm -a -t 192.168.68.201:telnet -r
> > 192.168.68.73 -g -w 1
> 
> looks fine
> 
> >
> >
> > in realserver
> > -------------
> >
> > sbin/ifconfig lo:0 192.168.68.201  netmask
> > 255.255.255.255
> >
> > still when i try to connect from 192.168.68.254
> > it doesnto even connect.
> 
> "doesn't connect" doesn't mean anything. Look at the
> HOWTO 
> for the sort of information we need. Also read the
> common 
> problems at the end of the mini HOWTO
> 
> Joe
> 
> -- 
> Joseph Mack NA3T EME(B,D), FM05lw North Carolina
> jmack (at) wm7d (dot) net - azimuthal equidistant
> map
> generator at http://www.wm7d.net/azproj.shtml
> Homepage http://www.austintek.com/ It's GNU/Linux!
> _______________________________________________
> LinuxVirtualServer.org mailing list -
> lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to
> lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to
> http://www.in-addr.de/mailman/listinfo/lvs-users
> 



                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

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