You can modify the config and perform a server reload, thats how I do it.<br><br><br><div class="gmail_quote">On Mon, Jul 25, 2011 at 3:51 AM, Renjith T <span dir="ltr"><<a href="mailto:renjith.tom85@gmail.com">renjith.tom85@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">
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 - <br>
<a href="http://library.linode.com/web-servers/nginx/configuration/front-end-proxy-and-software-load-balancing#sph_software-load-balancing" target="_blank">http://library.linode.com/web-servers/nginx/configuration/front-end-proxy-and-software-load-balancing#sph_software-load-balancing
.</a>)<br>
<br>
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). <br>
<br>
On quick glance, there is a http upstream module here, -
<a href="http://wiki.nginx.org/NginxHttpUpstreamModule" target="_blank">http://wiki.nginx.org/NginxHttpUpstreamModule</a>
, that discusses those options used in the lb application. <br>
<br>
* Is there an api to add server entries / delete entries managed by
the upstream module dynamically ? <br>
<br>
* If the answer to the previous question is no, then can we <br>
** patch upstream module to provide so or <br>
** start writing a separate module similar to 'upstream' , that
will provide the api to do so ? <br>
<br>
Any other suggestions for dynamically managing the list of servers
in upstream. Thanks. <br>
<br>
</div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://thewarezscene.org" target="_blank">Warez Scene</a> <a href="http://www.nexusddl.com" target="_blank">Free Rapidshare Downloads</a><br><br>