[ULTRAMONKEY-USERS] help with streamlined HA LB cluster config on debian etch

Denis denismpa at gmail.com
Wed Dec 19 00:12:14 EST 2007


Hi, Jackie!

I have one streamlined hl lb proxy workin well enough.

I ve seem that u haven't configured the weights of your servers. It
might be a problem.

Can u try configuring weights?

My ldirectord.cf looks like

virtual=172.16.8.77:3128
        real= 172.16.8.85:3128 gate 5
        real= 172.16.8.83:3128 gate 4
        real= 172.16.8.86:3128 gate 1

Here I have this differents weights because I got different links
speeds on each server.

But u can use wheights like 1 and 1. to have a half-half balancing.

Here goes a documment I've written about configuring my hl lb proxy
using Debian.

http://ha.linuxchix.org.br/proxy-ha.pdf

It's in portuguese, but u can get an idea.

anyway, if u need help understanding that, U can write me in pvt or by gtalk.

Cheers,

Denis Anjos.


2007/12/17, Jacqueline Buros <jburos at gmail.com>:
> 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
> _______________________________________________
> Ultramonkey-users mailing list
> Ultramonkey-users at vergenet.net
> http://lists.vergenet.net/listinfo/ultramonkey-users
>


-- 
Denis Anjos.
Cisco Certified Network Associate.
Universidade Federal do ABC
Santo André - SP - BR


More information about the Ultramonkey-users mailing list