How work ip_hash and weight in nginx 1.2.7

sorry,my english is poor.

webserver: tomcat 6.0.23
When I tested on four tomcat servers, one server load is higher
always.How
to set up to make each server load is balanced.

Use weight to decide load distribution, iphash to decide the next should
be
assigned to which server.

Thanks!

Posted at Nginx Forum:

Nobody reply.
Tested,iphash and weight,support balance.
Over.

Posted at Nginx Forum:

On 09/03/13 16:51, moke110007 wrote:

Nobody reply.
Tested,iphash and weight,support balance.
Over.

Last time I used it, weight wasn’t supported on iphash so I just used
multiple entries to weight instead.

Steve

On Sat, Mar 09, 2013 at 04:56:56PM +1300, Steve H. wrote:

On 09/03/13 16:51, moke110007 wrote:

Nobody reply.
Tested,iphash and weight,support balance.
Over.

Last time I used it, weight wasn’t supported on iphash so I just used
multiple entries to weight instead.

Quote from Alphabetical index of directives

: Until versions 1.3.1 and 1.2.2 it was not possible to specify a
: weight for servers using the ip_hash load balancing method.

did you resolved your problems? i must admit, i did not understood
what your problems where.

moke110007 Wrote: