LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

http port 8080 win2k realsevers

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: http port 8080 win2k realsevers
From: "mike jones" <smb_s@xxxxxxx>
Date: Thu, 6 May 2004 19:22:25 +0200 (MEST)
I have managed to setup a lvs-dr server which includes 3 win2k servers as
realserver. Telnet works fine. Http does not connect-- "ipvsadm -L"  shows 1
inactive connection! The required http web service  is configured as port
8080 not 80 . Reading the mini lvs howto I came across the following:-
**************************************
" 5.4. Setup LVS-DR for the service http
IMPORTANT: Make sure the realservers are listening to port 80 on the VIP,
192.168.1.110 AND NOT to its own IP (not listening to the RIP e.g.
192.168.1.11, 192.168.1.12), i.e both realservers are listening to the same
IP. Make the 2 webpages a little different so that you can tell which
realserver you have connected to. You will need the VIP on lo:0 before the
httpds will start"
***************************************
My setup -lvs-dr
VIP address 8.168.0.110
realserver  8.168.0.3
Question 1.  How do I make sure the realservers are listening to port 80 or
maybe, 8080 in my case,on the VIP AND NOT to its own IP?(win2k realservers) 

Question 2. The configuration script(lvs_dr.conf) for director doesn't allow
port # insertion -- port number as 80(http-default) is assumed. How do I
define the service using ipvsadm? Is the following correct based on my
understanding of "man ipvsadm"?
/sbin/ipvsadm -A -t 8.168.0.110:8080 -s rr 
/sbin/ipvsadm -a -t 8.168.0.110:8080 -r 8.168.0.3:8080 -g

>From my limited understanding I think my problem lies in answer to  Question
1.
Thanks
Mike


 

-- 
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info

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