Ok, I've got a bit more information to go on now.
Running ldirectord in debug mode I get:
>8---snip---8<
DEBUG2: Checking connect: real server=connect:tcp:192.168.2.3:80::
(virtual=tcp:192.168.2.70:80)
DEBUG3: Connected to (port 80)
DEBUG3: Activated service 192.168.2.3:80
<repeated lots of times>
DEBUG2: Checking connect: real server=connect:tcp:192.168.2.73:80::
(virtual=tcp:192.168.2.70:80)
DEBUG3: Connected to (port 80)
DEBUG3: Activated service 192.168.2.73:80
<repeated lots of times>
So it seems to see that apache is up on port 80 on both of the backends and
ldirect activates the server, yet I fail to see this in a ipvsadm -L
IP Virtual Server version 1.0.6 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP monkey.localdomain:http wlc
-> drumlin:http Local 1 0 0
drumlin is the local machine (ie admin IP of the box), monkey.localdomain is
the load balanced name (the IP that is load balanced).
Craig.
--
Craig Ward - 3rd Line Technical Support - Frontier Internet Services Limited
Tel: 029 20 820 051 Fax: 029 20 820 038 http://www.frontier.net.uk
Statements made are at all times subject to Frontier's Terms and
Conditions of Business, which are available upon request.
> -----Original Message-----
> From: Malcolm Turnbull [mailto:malcolm.turnbull@xxxxxxxxxxxx]
> Sent: 29 August 2002 14:39
> To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: LVS with Ldirectord (UltraMonkey) problems
>
>
> I also just noticed in the man page that checktype defaults
> to negotiate !
>
> And you haven't specified your request/recieve strings :
>
> request=".loadbalancer"
> receive="TestPage"
>
> Therefore it will fail...;-).
>
> --snip--
>
>
> checktype = negotiate|connect|N|off
>
> Type of check to perform. Negotiate sends a request
> and matches
> a receive string. Connect
> only attemts to make a TCP/IP connection, thus the
> the request
> and receive strings may be
> omitted. Type of check to perform. Negotiate means to send
> request and expect receive
> strings. Connect means raw tcp/ip connection, here
> the request
> and receive string can be
> omitted. If checktype is a number then negotiate and
> connect is
> combined so that after each
> N connect attempts one negotiate attempt is
> performed. This is
> useful to check often if a
> service answers and in much longer intervalls a negotiating
> check is done. Off means no
> checking will take place and no real or fallback
> servers will be
> activated. Default is nego
> tiate.
>
> --snip--
>
>
> Craig Ward wrote:
> > Thanks, I'll give it a try :)
> >
> >
>
> --
>
> 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
>
>
>
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
|