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:
http://forum.nginx.org/read.php?2,236972,236972#msg-236972

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

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,236972,237147#msg-237147

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 http://nginx.org/r/ip_hash:

: 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:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs