Welcome! Log In Create A New Profile

Advanced

load balancer - add nodes dynamically to upstream

Renjith T
July 24, 2011 01:52PM
For a particular use case, we are using nginx as a lb (with 'weight's
and 'fail_timeout's as mentioned in the wiki here -
http://library.linode.com/web-servers/nginx/configuration/front-end-proxy-and-software-load-balancing#sph_software-load-balancing
..
<http://library.linode.com/web-servers/nginx/configuration/front-end-proxy-and-software-load-balancing#sph_software-load-balancing>)

This works great, but we want to add nodes to the lb dynamically ( i.e.
change the 'server' entries, by adding a new entry or delete stale
entries altogether).

On quick glance, there is a http upstream module here, -
http://wiki.nginx.org/NginxHttpUpstreamModule , that discusses those
options used in the lb application.

* Is there an api to add server entries / delete entries managed by the
upstream module dynamically ?

* If the answer to the previous question is no, then can we
** patch upstream module to provide so or
** start writing a separate module similar to 'upstream' , that will
provide the api to do so ?

Any other suggestions for dynamically managing the list of servers in
upstream. Thanks.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

load balancer - add nodes dynamically to upstream

Renjith T July 24, 2011 01:52PM

Re: load balancer - add nodes dynamically to upstream

SplitIce July 25, 2011 12:34AM

Re: load balancer - add nodes dynamically to upstream

SplitIce July 25, 2011 12:38AM

Re: load balancer - add nodes dynamically to upstream

wilhelmn March 08, 2012 06:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 198
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready