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: Fri, 2 Feb 2007 15:02:57 +0000 (GMT)

hello Joseph,

i gone through entire documenation of mini howto .

still there is not much suceess . i followed the all
the configs . 

my client is 192.168.68.254 . 

i want to use the direct routing .

the following are the configs which i did 

changed the .conf files as said in the mini how to 
and
http://www.ultramonkey.org/papers/lvs_tutorial/html/

in director
------------


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



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.

Your help will be highly appreciated.

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

> On Tue, 30 Jan 2007, vlrk wrote:
> 
>
Iam running ipvs and i could not able to add real
servers to director/ virtual server .

My scenarios is as below.

A-> 192.168.68.49 ( director) 
B-> 192.168.68.73 (real server)
C-> 192.168.68.49 (real server)

I have kernel version 2.6.10 running redhat EL in
three machines .

My aim is to acheive the following architectures

in B and C iam running the telnet service so any body
connectes to telent 192.168.68.49 it has to check with
real servers and connect to them based on availability
.

I want use tunneling .

the following commands i used .

ipvsadm -A -t 192.168.68.49:23
ipvsadm -a -t 192.168.68.49:23 -r 192.168.68.73:23 -i
ipvsadm -a -t 192.168.68.49:23 -r 192.168.68.74:23 -i

and in sysctl.conf of all ips ipv4 forward is enabled.
No firewall or iptables running.

if i try to connect from other machine like .254 it s
trying to connect and in A machine if see ipvsdm it
shows that 74 machine connection state as inactive, it
never tries to 73.

as a matter of fact i never seen B and C as connected
state in director when i see with ipvsadm.


so how to solve this .

Am i missing any thing here 
> there's a detailed write up in the mini-HOWTO. Try
> that
> 
> 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>