I am just setting up my first lvs, and I am encountering a problem with my
setup that I have not yet read anything about...
I have setup the lvs with direct routing (although I have tried it with NAT
as well, and I have the same problems) with the real servers having
different network routes (both the director and the real servers have 2
nics). It works, but the performance is awful.
Ping imes from the Director to the Realservers IP's are around 2000ms, bad
by any measure, let alone 2 machines connected to the same hub.
Has anyone had this issue crop up before?? I am going to assume that it is
a simple config issue that I have overlooked, but I can't be sure....
Here is the setup, IP's have been changed to protect the innocent.
Client
-----------------
| 192.168.0.50 |
-----------------
|
|
|
|
Director
-------------------------------------
| | | |
` eth0 eth1
| |
------------ -----------
|192.168.0.1| |172.16.0.1|
------------ -----------
|
eth0:0
-------------
(VIP) |192.168.0.10|
-------------
| |
--------------------------------------
|
|
|
|
Realserver1 Realserver2
| |
eth0 eth1 eth0 eth1
| | | |
------------ ----------- ------------ -----------
|192.168.0.55| |172.16.0.2| |192.168.0.56||172.16.0.3|
------------- ----------- ------------ -----------
| |
eth0:0 eth0:0
------------- ------------
|192.168.0.10| |192.168.0.10|
------------- ------------
|