LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

UltraMonkey3 and ldirectord.cf question

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: UltraMonkey3 and ldirectord.cf question
From: "James Miller" <jimm@xxxxxxxxxxxxxxx>
Date: Mon, 31 Oct 2005 11:15:23 -0600
Hello everyone,

Is there a way to specify a host name when the UltraMonkey3 version of
ldirectord does a negotiated check to a http/https service?

I have two development IIS 6 servers behind a pair of LVS-DR directors.  The
IIS 6 servers (pinky and brain) are each configured to answer http/https
requests to their respective host names as well as to the host name of the
VIP - director.simutronics.com.  I'm having a problem getting ldirectord to
see the two IIS6 servers as being up/available when using
'checktype=negotiate' because the web site, on each server, is configured as
a virtual server.  The server won't give a proper response w/out a host
being specified.  Setting 'checktype=connect' works, but I would prefer to
use negotiate because of it's more sophisticated checks.

virtual=vip:80
        real=ip.of.server1:80 gate
        real=ip.of.server2:80 gate
        service=http
        request="home.asp"
  *suggested host="director.simutronics.com"
        receive="play"
        scheduler=rr
        persistent=600
        protocol=tcp
        checktype=negotiate


  Here's what I get when I telnet to port 80

telnet pinky.simutronics.com 80
GET / HTTP/1.0
<return>
<return>

HTTP/1.1 400 Bad Request
some more lines
<h1>Bad Request (Invalid Hostname)</h1>Connection closed .. blah blah.


telnet pinky.simutronics.com 80
GET / HTTP/1.0
host: director.simutronics.com
<return>
<return>

I get the page I expect.


I appreciate any suggestions to get around this.



Thanks,
Jim



James Miller
Sr. Systems & Network Admin.
Simutronics Corp.
www.play.net
636.946.4263 x113


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