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
Thu Jul 19 19:14:11 UTC 2007


On 19/07/07, Sanjay Mahapatra <sanzem at yahoo.com> wrote:
>  Hello
>
>
> I have a pirahna load balancer set up with a virtual server /IP that routes
> UDP  protocol messages  to TWO real server host-ports.
>
> One host runs pirahna and two other hosts act as the  real servers in the is
> scenario, all three hosts run on Redhat EL 4 cluster.
>
>
> The network type is : Direct Routing, and there is no firewall involved
> between these hosts.
>
>
> The  LVS routing table shows both the routes while both real servers are
> healthy.
>
> Problem :
>
> Even though I have persistence turned off ( Persistence set to zero seconds
> ), it appears that all requests from the same client IP  get  routed to
> ONE of the real servers. I am unable to achieve load distribution between
> the two available real servers ( running an automated load test that
> originates from a single client IP )
>
> I used round robin at first and later used least connection based scheduling
> algorithm,  but in each case only one of the real servers appears to receive
> all messages from the same client.
>
>
> Is there something I am missing ?
>
> Thanks in advance.
>
> Sanjay Mahapatra

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




More information about the Piranha-list mailing list