# HG changeset patch # User Vladimir Homutov # Date 1376567663 -14400 # Node ID fa19bacf6e1e675680e85f676d9c9778b2b09907 # Parent 81717ad0a9c9ffd4b777590c09dc8426866fd40b Unified upstream server up/down state terminology. The "down" word is reserved for usage with the flag of the same name, that marks server as permanently unavailable. diff -r 81717ad0a9c9 -r fa19bacf6e1e xml/en/docs/http/ngx_http_upstream_module.xml --- a/xml/en/docs/http/ngx_http_upstream_module.xml Thu Aug 15 14:33:16 2013 +0400 +++ b/xml/en/docs/http/ngx_http_upstream_module.xml Thu Aug 15 15:54:23 2013 +0400 @@ -10,7 +10,7 @@ + rev="8">
@@ -149,7 +149,7 @@ sets the number of unsuccessful attempts to communicate with the server that should happen in the duration set by the fail_timeout -parameter to consider the server down for a duration also set by the +parameter to consider the server unavailable for a duration also set by the fail_timeout parameter. By default, the number of unsuccessful attempts is set to 1. The zero value disables the accounting of attempts. @@ -167,11 +167,11 @@ the time during which the specified number of unsuccessful attempts to -communicate with the server should happen to consider the server down; +communicate with the server should happen to consider the server unavailable; -and the period of time the server will be considered down. +and the period of time the server will be considered unavailable. @@ -184,7 +184,7 @@ from zero to a nominal value, when unhealthy server becomes healthy, or when the server becomes available after a period of time -it was considered down. +it was considered unavailable. Default value is zero, i.e. slow start is disabled. This functionality is available as part of our only. @@ -194,12 +194,12 @@ backup marks the server as a backup server. -It will be passed requests when the primary servers are down. +It will be passed requests when the primary servers are unavailable. down -marks the server as permanently down; used along with +marks the server as permanently unavailable; used along with the directive. @@ -257,7 +257,7 @@ The first three octets of the client IPv4 address, or the entire IPv6 address, are used as a hashing key. The method ensures that requests from the same client will always be -passed to the same server except when this server is considered down. +passed to the same server except when this server is unavailable. In the latter case client requests will be passed to another server. Most probably, it will always be the same server as well. @@ -936,7 +936,7 @@ To add a new primary server to the group, set its parameters to non-default values -and mark it as “down” by sending: +and mark it as “down”, send: http://127.0.0.1/upstream_conf?add=&upstream=appservers&server=127.0.0.1:8080&weight=2&max_fails=3&fail_timeout=3s&down=