On Mon, Sep 06, 2004 at 07:01:33PM +0100, Easytrans Systems (Laurie Baker)
wrote:
>
> Take a look at Horms's
> http://www.ultramonkey.org/2.0.1/topologies/hc-ha-lb-eg.html
>
> More specifically:
> http://www.ultramonkey.org/2.0.1/topologies/config/hc-ha-lb/non-fwmark/linux
> _director/ldirectord.cf
> for one example .... a snippet below .... "SEE FALLBACK" ... just be sure
> that your director has a webserver up and running and listening on port 80
> in this example ...
Thanks for that, but it's not *quite* what I'm looking for. I'm using
keepalived, rather than ldirectord, with a similar configuration
(webserver listening on 127.0.0.1:80):
virtual_server 192.168.2.50 80 {
delay_loop 6
lb_algo wrr
lb_kind DR
protocol TCP
sorry_server 127.0.0.1 80
(etc...)
}
The webserver is running fine, and the fallback server is successfully
added to the pool:
director2:~# ipvsadm -ln
IP Virtual Server version 1.0.4 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.2.50:80 wrr
-> 127.0.0.1:80 Local 1 0 0
Yet I'm still getting "connection refused" when trying to connect. I'm
sure I'm just missing one little thing...
Any ideas?
Thanks in advance,
Simon.
|