Piranha load balancing, all requests from client end up with one real server, not load balancing
Herta Van den Eynde
herta.vandeneynde at gmail.com
Fri Jul 20 18:35:46 UTC 2007
On 20/07/07, Sanjay Mahapatra <sanzem at yahoo.com> wrote:
> Thanks Herta, Yes the client in on the same LAN.
>
> I am working on tallying the throughput via the loadbalancer,
> with what reaches the real servers. On the surface it appears that the
> traffic is going through the
>
> The content of lvs.cf is as under:
> virtual SanjaysTestCluster_SIP {
> active = 1
> address = 10.20.1.99 eth0:2
> vip_nmask = 255.255.240.0
> port = 5060
> expect = "OK"
> use_regex = 0
> send_program =
> "/usr/local/monitor_scripts/check_sip_server.sh %h"
> load_monitor = none
> scheduler = rr
> protocol = udp
> timeout = 6
> reentry = 15
> quiesce_server = 0
> server Engine_One {
> address = bluehost
> active = 1
> weight = 1
> }
> server Engine_Two {
> address = redhost
> active = 1
> weight = 1
> }
>
> Thanks
> Sanjay
>
> >>Hi
> Sanjay,
> >>
> >>Could you post your config file?
> >>
> >>This sounds like a test environment. Is the client on the same LAN as
> >>the real servers? In that case, did you verify that the packets pass
> >>through the load balancer?
>
> >>Kind regards,
>
> >>Herta
Part of your second sentence got lost somewhere.
You can easily check whether the packets pass through the load
balancer by executing "tcpdump host [client-hostname]" as root on the
load balancer. That will print all packets to and from the client.
Kind regards,
Herta
More information about the Piranha-list
mailing list