load balancer - add nodes dynamically to upstream
SplitIce
mat999 at gmail.com
Mon Jul 25 04:32:22 UTC 2011
You can modify the config and perform a server reload, thats how I do it.
On Mon, Jul 25, 2011 at 3:51 AM, Renjith T <renjith.tom85 at gmail.com> wrote:
> 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>
--
Warez Scene <http://thewarezscene.org> Free Rapidshare
Downloads<http://www.nexusddl.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20110725/9a9e3c0c/attachment.html>
More information about the nginx
mailing list