Hi,
I've just been trying to use my LVS-NAT director (which has a backup) as
a realserver.
I'm using piranha which provides ipvsadm 0.8.1 (hum, quite old, might be
the problem).
Using the director with a high weight, and 2 realservers with low
weights does not lead to what I was expecting. The director is not used
as a realserver as often as it should.
In my setup, I have the following weights:
director 8
realserver1 1
realserver2 1
Out of 100 http requests, no more than one gets directed to the
director, which is less than 1%, whereas it should get 80% of the
traffic.
Was there something wrong in this release than has since been fixed ?
My other problem is still using the main director when the backup takes
over. Supposing the backup redirects a connection to the director's web
server (using the NATed network), how will this box be able to answer
whereas it does not have the correct gateway (which is set to the
external network, not the NATed one).
Having 127.0.0.1 in the conf file instead of the director internal IP is
not a better choice, because the director and the backup conf files
would have to be different :(
Any ideas ?
--
Sébastien Bonnet
Ingénieur d'exploitation
Centre de contacts - Experian France
|