# Dynamic set upstream severs weight?

**URL:** <https://www.ruby-forum.com/t/dynamic-set-upstream-severs-weight/225289>\
**Category:** NGINX\
**Created:** [December 27, 2012, 3:21pm UTC](https://www.ruby-forum.com/t/dynamic-set-upstream-severs-weight/225289 "2012-12-27T15:21:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [December 27, 2012, 3:21pm UTC](https://www.ruby-forum.com/t/dynamic-set-upstream-severs-weight/225289/1 "2012-12-27T15:21:48Z")

</div>

Hi

Is it possible to change server weight or take them offline  
without modifying the config and reload?

We want to change server weight from a script that monitor backend load  
average, is it possible?

p.s. something like Feedbackd for LVS.

---

<div class="post-metadata">

**Author:** ![howard\_chen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/bbce88/32.png) [@howard\_chen](https://www.ruby-forum.com/u/howard_chen)\
**Post date:** [January 4, 2013, 6:18am UTC](https://www.ruby-forum.com/t/dynamic-set-upstream-severs-weight/225289/2 "2013-01-04T06:18:36Z")

</div>

No, it can’t. if you want to make them offline without reload, you could  
use my upstream check module:

> **[GitHub - yaoweibin/nginx\_upstream\_check\_module: Health checks upstreams for...](https://github.com/yaoweibin/nginx_upstream_check_module)**
>
> Health checks upstreams for nginx. Contribute to yaoweibin/nginx\_upstream\_check\_module development by creating an account on GitHub.

2012/12/27 howard chen [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
