LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS with Ldirectord (UltraMonkey) problems

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: LVS with Ldirectord (UltraMonkey) problems
From: Malcolm Turnbull <malcolm.turnbull@xxxxxxxxxxxx>
Date: Thu, 29 Aug 2002 14:28:43 +0100
I'm no expert but I think that means it couldn't connect to the real servers ?

I got the same problem on my test system even when I tried checktype=off (is that supposed to work ?)

here is my working conf .. may help.. may not....

# Ldirectord cofiguration file generated by Loadbalancer.org appliance
# Global options
checktimeout=3
checkinterval=1
fallback=127.0.0.1:80
autoreload=yes
virtual=192.168.1.8:80
        real=192.168.1.6:80 gate 1
        real=192.168.1.7:80 gate 0
        real=192.168.1.5:80 gate 1
        real=192.168.1.4:80 gate 1
        real=127.0.0.1:80 gate 0
        fallback=127.0.0.1:80
        service=http
        checktype=connect
        request=".loadbalancer"
        receive="TestPage"
        scheduler=wlc
        protocol=tcp
virtual=192.168.1.8:443
        real=192.168.1.4:443 gate 1
        real=192.168.1.5:443 gate 1
        real=192.168.1.6:443 gate 1
        real=192.168.1.7:443 gate 0
        fallback=127.0.0.1:80
        service=http
        checktype=connect
        request=".loadbalancer"
        receive="TestPage"
        scheduler=wlc
        protocol=tcp



Craig Ward wrote:
Have you looked in the ldirectord log ?

Yep, doesn't seem to give me much information though:

[Thu Dec 30 00:54:24 2021|ldirectord] Reading file /etc/ha.d/ldirectord.cf
[Thu Dec 30 00:54:24 2021|ldirectord] Starting Linux Director v1.51 as daemon
[Thu Dec 30 00:54:24 2021|ldirectord] Added virtual server: 192.168.2.70:80
[Thu Dec 30 00:54:24 2021|ldirectord] Added fallback server: 127.0.0.1:80 (0 x 
195.200.23.70:80)

(Ignore the datestamps, looks like the time is a little screwed on that box ;))

As I've said previously, it does send packets to the real servers and get 
responses back looking at a tcpdump.


Craig.


--

Regards,

Malcolm Turnbull

IT Manager
Crocus.co.uk Limited
Nursery Court
London Road
Windlesham
Surrey
GU20 6LQ

01344 629661
07715 770523

http://www.crocus.co.uk/

"They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety." - Benjamin Franklin





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