Forum: NGINX how work ip_hash and weight in nginx 1.2.7

Posted by moke110007 (Guest)
on 2013-03-06 04:51
(Received via mailing list)
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
Posted by moke110007 (Guest)
on 2013-03-09 04:52
(Received via mailing list)
Nobody reply.
Tested,iphash and weight,support balance.
Over.

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,236972,237147#msg-237147
Posted by Steve Holdoway (Guest)
on 2013-03-09 04:57
(Received via mailing list)
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
Posted by mex (Guest)
on 2013-03-09 09:49
(Received via mailing list)
did you resolved your problems? i must admit, i did not understood
what your problems where.



moke110007 Wrote:
Posted by Ruslan Ermilov (Guest)
on 2013-03-11 08:40
(Received via mailing list)
On Sat, Mar 09, 2013 at 04:56:56PM +1300, Steve Holdoway 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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.