LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: http port 8080 win2k realsevers

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: http port 8080 win2k realsevers
From: Malcolm Turnbull <malcolm@xxxxxxxxxxxxxxxx>
Date: Fri, 07 May 2004 13:08:14 +0100

For iis go into the properties for the web site and ensure that
IP Address = VIP
Its on the first tab and you can add multiple ips if required or just set it to all....

As for the configure script you'll need to install a monitor with its own script anyway i.e. ldirectord,mon or keepalived so don't worry about it too much.





mike jones wrote:
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




--


Regards,

Malcolm Turnbull.

Loadbalancer.org Limited
07715 770523
http://www.loadbalancer.org/




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