Testing via the loopback interface...
gray at agora-net.com
Mon Aug 7 15:43:23 BST 2006
I have two lvs boxes. An active and a standby.
My real servers are separate boxes behind the lvs boxes and I run LVS-NAT.
The lvs boxes share a class-c. all the addresses are bound to the loop
back interface and a service address is routed to the class c.
Heartbeat just moves the service address. The class-c addresses are
bound to the loopback on both boxes all the time.
Here's my question: Why can't I test services on the standby box by
telneting/sshing/etc.. to the service addressses from the standby box?
I would think this would work. But I always get the local box (trying
this on both the active and standby gets me the same results). It
doesn't seem as though it ever hits the lvs rules.
Is there some way to run tests on the standby box?
John Gray gray at agora-net.com
AgoraNet, Inc. (302) 224-2475
314 E. Main Street, Suite 1 (302) 224-2552 (fax)
Newark, De 19711 http://www.agora-net.com
More information about the lvs-users