On Sun, Sep 01, 2002 at 12:50:04PM -0400, Joseph Mack wrote:
:are you sure you're connecting via the director and not directly to
:the realservers. eg do you see new entries with ipvsadm on the director
:when you connect from the client.
Yes, but I have noticed some extreme weirdness.
one atempted http connection results in ipvsadm listing 6 active
connections to one realserver1 and 5 active connections to
realserver2. The second attempt at connecting adds 6 connects to RS2
and 5 to RS1.
the content is a very simple "you are connected to realserver1" page
no graphics or other external references, so to the webserver it
should only look like one hit.
:> [jon@director lvs]$ ip route
:> 128.52.37.21 dev eth0 scope link src 128.52.37.21
:> 128.52.37.0/24 dev eth0 proto kernel scope link src 128.52.37.173
:> default via 128.52.37.10 dev eth0
:>
:> [jon@realserver0 jon]$ ip route
:> 128.52.37.21 dev lo scope link src 128.52.37.21
:> 128.52.37.0/24 dev eth0 proto kernel scope link src 128.52.37.4
:> default via 128.52.37.10 dev eth0
:>
:> [jon@realserver1 jon]$ ip route
:> 128.52.37.21 dev lo scope link src 128.52.37.21
:> 128.52.37.0/24 dev eth0 proto kernel scope link src 128.52.37.253
:> default via 128.52.37.10 dev eth0
:>
:> note 128.52.37.21 is VIP, 128.52.37.173 is DIP. This seems to be what
:> I expect
:
:ah. the default route for the realservers for LVS-DR should _not_ be the DIP.
:It should anything else, like the client.
the default route is 128.52.37.10 which is an ExtremeNetworks
BlackDiamond switch (or at least it should be, wouldn't be the first
time I looked an obvious mistake in the eye for a week before someone
pointed it out...)
so my plan:
+----------+
| |
| Router | 128.52.37.10
| |
+------+---+
|
|
|
+----------+ |
| | | DIP eth0 128.52.37.173/24
| Director |---+ VIP eth0:21 128.52.37.21/32
| | |
+----------+ |
|
|
+---------+---------+
| |
| |
+----+-----+ +-----+----+
|Realserver| |Realserver|
| | | |
| | | |
+----------+ +----------+
RIP eth0:
128.52.37.4/24 128.52.37.253/24
VIP lo:21 (hidden)
128.52.37.21/32
Thanks,
-Jon
|