LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ldirectord config issues

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: ldirectord config issues
From: Paul Baker <pbaker@xxxxxxxxxxxxxxx>
Date: Fri, 20 Jul 2001 15:57:20 -0500
Zachariah Mully wrote:
Howdy all-
        Just try to get ldirectord running on my director to detect real server
failure and I am a little confused about how to setup it...
        I am running the ldirectord included with ipvs 0.8.0. I was trying to
follow the instructions on
http://www.linuxvirtualserver.org/HighAvailability.html to set it up,
but I think that I have either misread the directions or I am missing
something obvious with my setup.
        I copied the ldirectord.cf file to /etc/ha.d/ and edited for my LVS
setup as follows:

# Global Directives
checktimeout=5
checkinterval=30
virtual=192.168.2.1:80
        real=192.168.2.2:80 gate 5
        real=192.168.2.3:80 gate 5
        service=http
        request="index.html"
        receive="Test Page"
        scheduler=rr
        protocol=tcp


looking at my config I have "checktype=60" after the protocol=tcp line. I believe this tells ldirectord to check for the page every 60 seconds.

--
=======================================================================
Paul J. Baker                                Internet Systems Developer
pbaker@xxxxxxxxxxxxxxx                                  Where2GetIt.com
phone 847-498-0111x234
fax   847-480-7422
=======================================================================




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