Marco Pfatschbacher skrev 2009-10-15 09:49:
On Wed, Oct 14, 2009 at 11:15:05AM +0200, P-O Yliniemi wrote:
Thanks for this quick and easy solution. So instead of the old way of
configuring CARP (multiple interfaces with the same address on each
machine), we will have to use carpnodes, which when explained is much
more simple to set up.
The problem I still have is that the traffic to the hosts are not
balanced, just redundant (if "a" goes down, "b" will take over). The
final set up will be a bit more complex (if I am able to get it working):
With how many clients on the same subnet are you testing?
Citing carp(4):
The ARP load balancing has some limitations. Firstly, ARP balancing
only works on the local network segment. It cannot balance traffic that
crosses a router, because the router itself will always be balanced to
the same carpnode.
Depending on your setup you could try IP balancing.
I have tried with 5-6 hosts on the same subnet, and I always arrive on
the "a" host, no matter if I use arp or ip (or ip-stealth) balancing.
The problem itself might be with the single VMWare Server, on which I
run both my test hosts. I could probably set up another VMWare server
and move the "b" server there.
/PeO
HTH,
Marco