[ULTRAMONKEY-USERS] streamlined HA LB cluster, debian etch
Jacqueline Buros
jburos at perfuse.org
Tue Dec 18 11:47:22 EST 2007
Hi ..
I have a 2 identical linux machines, each running debian etch, each with
one NIC (eth1).
Goal is to have both act as the "real servers", and for one to be the
linux director with other as fallback. I would like for server loads to
be balanced between both real servers, no matter which is the active
linux-director.
I have set up heartbeat + ldirectord as described here :
http://www.ultramonkey.org/2.0.1/topologies/sl-ha-lb-overview.html
Everything seems to work beautifully -- except, my packets are never
forwarded to the localhost (except as fallback if I take the other
realserver down).
The output of my ipvsadm looks like this:
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP <virtual_ip>:www wlc
-> <ip_of_ldirector>:www Local 0 0 0
-> host2:www Route 1 0 0
I have read elsewhere that the linux packets will not be forwarded to
localhost by default. Also, my checktype is "negotiate", and if I try to
get the test.html page from the ldirector (as either
http://localhost/test.html or http://<ip_of_ldirector>/test.html, the
connection times out.
Can someone suggest how I might set up the connection so that the load
is balanced between the realserver on the active linux director as well
as that on the backup??
Many thanks in advance --
Jacki
More information about the Ultramonkey-users
mailing list