> > Feb 21 19:08:28 director ldirectord[32668]: Added real server:
> > 66.98.186.73:80 (0 x 66.98.227.143:80) (Weight set to 1)
> >
> > Connecting to the real server directly works fine
> > (http://66.98.186.73) but not via the virtual IP?
>
> Do you have a health checker on ldirectord that is failing? If that's not
> it, please forward a tcpdump - with ARP information.
>
Hi,
I'm now trying to get the minimal configuration working first: one
director and one real server without a virtual IP or heartbeat.
When I run ldirectord in debug mode I get the following error on
startup:
[root@director tmp]# /usr/sbin/ldirectord -d ldirectord.cf start
DEBUG2: Running exec(/usr/sbin/ldirectord -d ldirectord.cf start)
Running exec(/usr/sbin/ldirectord -d ldirectord.cf start)
DEBUG2: Starting Linux Director v1.62.2.11 with pid: 3733
Starting Linux Director v1.62.2.11 with pid: 3733
DEBUG2: Running system(/sbin/ipvsadm -A -t 66.98.226.52:80 -s rr )
Running system(/sbin/ipvsadm -A -t 66.98.226.52:80 -s rr )
DEBUG2: Added virtual server: 66.98.226.52:80
Added virtual server: 66.98.226.52:80
DEBUG2: Checking negotiate: real
server=negotiate:http:tcp:66.98.186.73:80:\/cluster\.html:html
(virtual=tcp:66.98.226.52:80)
LWP::UserAgent::new: ()
LWP::UserAgent::request: ()
LWP::UserAgent::send_request: GET http://66.98.186.73:80/cluster.html
LWP::UserAgent::_need_proxy: Not proxied
LWP::Protocol::http::request: ()
LWP::UserAgent::request: Simple response: Internal Server Error
DEBUG3: Headers Client-Date: Mon, 23 Feb 2004 08:19:25 GMT
DEBUG2: check_http: http://66.98.186.73:80/cluster.html is down
When I run this program on the director it just hangs:
use LWP::Simple;
print get("http://66.98.186.73:80/cluster.html");
My real server does not seem to be able to respond to the request
from the Director's IP.
However when I make the request from a different machine it works
fine.
Why can't cluster.html (my test file) find its way back to the
Director?
On the Real Server pinging the Director works fine.
ping 66.98.226.52
PING 66.98.226.52 (66.98.226.52) 56(84) bytes of data.
64 bytes from 66.98.226.52: icmp_seq=0 ttl=0 time=0.064 ms
Any thoughts or other tests I can do would be much appreciated?
I'm not sure how I should use tcpdump to get at the ARP requests.
I run this on the Real Server and nothing happens:
/usr/sbin/tcpdump -i lo:0
Thanks,
Nigel
--
Nigel Hamilton
Turbo10 Metasearch Engine
email: nigel@xxxxxxxxxxx
tel: +44 (0) 207 987 5460
fax: +44 (0) 207 987 5468
________________________________________________________________________________
http://turbo10.com Search Deeper. Browse Faster.
|