How come the perl source only works and not the man page for me?
I still don't get how it check the real server. Is it HTTP? My real
server will be an IIS server will that matter?
# Virtual Server for HTTP
virtual=10.1.3.61:80
fallback=127.0.0.1:80
real=192.168.6.4:80 masq
real=192.168.6.5:80 masq
service=http
request="index.html"
receive="Test Page"
scheduler=rr
#persistent=600
protocol=tcp
checktype=negotiate
In the above the LVS checks http://192.168.6.4/index.html What would be
the contents of index.html? Just "Test Page" without quotes? Thanks.
Brad
-----Original Message-----
From: Malcolm Turnbull [mailto:malcolm@xxxxxxxxxxxxxxxx]
Sent: Tuesday, April 05, 2005 11:27 AM
To: LinuxVirtualServer.org users mailing list.
Subject: Re: ldirectord.cf
If the checktype is negotiate then the page will be grep'd for the
recieve string,
details are in the man page for ldirectord (or the perl source).
Other checks are documented for DNS,FTP IMAP etc.
Brad Taylor wrote:
>In file ldirectord.cf how does the below work?
>
> request="index.html"
> receive="Test Page"
>
>How is the request send? http? Is index.html a text file with the
words
>"Test Page"? Does that page need to be in HTML? Is "Test Page" the
>title or body. Is there documentation on request and receive. The man
>page doesn't answer these questions. Thanks
>
>Brad
>
>
>
--
Regards,
Malcolm Turnbull.
Loadbalancer.org Limited
Office: +44 (0)870 443 8779
Mobile: +44 (0)7715 770523
http://www.loadbalancer.org/
" When a single point of failure is not an option"
Why not try our online demonstration
<http://www.loadbalancer.org/online_Demo.htm> ? Or get answers to common
questions <http://www.loadbalancer.org/fud.htm> ?
|