First of all i would suggest _NOT_ to run ldirectord under the control
of heartbeat. The only drawback is that you do the
realserver-health-checks from the backup host too.
What do you intend doing with the iptables line? Could you send me
iptables -L -n -v and iptables -t nat -L -n -v?
On Tue, 2003-01-28 at 21:15, Kent Pirkle wrote:
> I am trying to implement the two node ha/load balanced topology. I've been
> successful with the ha part, the servers will fail over, but I've been
> unable to get load balancing to work.
>
> I've got two identical http servers running Red Hat 7.3 and Ultramonkey
> 2.0. The kernels are stock Red Hat 2.4.18-19.7.xsmp kernels. I'd like to
> stick with the stock kernel. I'm trying to use the iptables method for the
> virtual ip address.
>
>
> Here are some of my configs:
>
> iptables:
> iptables -t nat -A PREROUTING -p tcp -d 10.1.57.100 --dport 80 -j REDIRECT
> --to-port 80
>
> ldirectord.cf:
>
> checktimeout=3
> checkinterval=10
> autoreload=yes
>
> virtual=10.1.57.100:80
> real=10.1.57.3:80 gate
> real=10.1.57.4:80 gate
> fallback=127.0.0.1:80
> service=http
> request=".testpage"
> receive="test page"
> scheduler=rr
> protocol=tcp
>
> haresources:
> (ultux3)
> ultux3 IPaddr::10.1.57.100/24 ldirectord::ldirectord.cf
> (ultux4)
> ultux4 IPaddr::10.1.57.100/24 ldirectord::ldirectord.cf
>
>
> Any suggestions?
>
> Thanks!
>
>
>
>
> _______________________________________________
> 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
--
Tiscover Travel Information Systems AG
www.tiscover.com The Travel Network
Maria-Theresien-Strasse 55 - 57
A-6010 Innsbruck/Tirol/Austria
fon +43 512 5351 777 fax 600
Fingerprint 707D 4D0E D21A C526 51C6 CBAA F7EC 3FE8 133A A0C7
|