LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ldirectord question

To: Jeremy Hansen <jeremy@xxxxxxxxxxxx>
Subject: Re: ldirectord question
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 13 Sep 2000 12:01:05 -0400
On Tue, Sep 12, 2000 at 03:59:31PM -0400, Jeremy Hansen wrote:
> 
> So I had a dream last night and it told me to try playing with fwmark
> stuff again.  I found an errata on UltraMonkey's page which I believe is
> what I was missing when I previously tried to get fwmark working before.
> 
> But now I'm running into another problem with ldirectord, 1.17 included in
> heartbeat 0.4.8e
> 
> My ldirectod.cf
> 
> checktimeout=3
> checkinterval=1
> 
> virtual=1
>         real=10.2.9.10:80 gate
>        # real=10.2.9.11:80 gate
>        # real=10.2.9.12:80 gate
>         service=http
>         request="test.html"
>         receive="Test Page"
>         scheduler=wlc
>         #persistent=600
>         protocol=fwm

Hi,
  it seems that some time between the release of Ultra Monkey 1.0.1 and
the release of ldirectord 1.17 support for fwmark services in
ldirectord beacme completely broken. The attached patch fixes this
problem, and changes the default connectport to be taken from the real
servers instead of the virtual service. I will commit this patch
to cvs shortly if there are no objections.

In addition your configuration will need to include the checktype directive
as follows.

virtual=1
        real=10.2.9.10:80 gate
       # real=10.2.9.11:80 gate
       # real=10.2.9.12:80 gate
        service=http
        request="test.html"
        receive="Test Page"
        scheduler=wlc
        #persistent=600
        protocol=fwm
        checktype=connect


-- 
Horms

Attachment: ldirectord-1.17-fwmark+connectport.patch
Description: Text document





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