You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by FUNASAKI KENJI <of...@yahoo.co.jp> on 2010/07/06 12:59:02 UTC

[users@httpd] Apache Proxy Balancer lbset value

Hi, 
I have a question about Apache Proxy Balancer.

Is it possible to set lbset value into user's cookie ?


I saw following page,
http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html

and confirmed that I can set following parameters into
cookie.

- Exported Environment Variables
  * BALANCER_SESSION_STICKY
  * BALANCER_SESSION_ROUTE
  * BALANCER_NAME
  * BALANCER_WORKER_NAME
  * BALANCER_WORKER_ROUTE
  * BALANCER_ROUTE_CHANGED


Background:

I'd like to make backend APs to shutdown gracefully.
http://www.mail-archive.com/dev@httpd.apache.org/msg36909.html

Now, it is neccesary to inform AP's shutdown from Apache
proxy balancer to the APs. 


My senario:
  1. Using mod_header, set lbset=100 into user's cookie.
  2. backend AP get the value, and if lbset=100, the AP
understand its own shutdown.

Thanks and regards,
Kenji



--------------------------------------
2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/southafrica2010/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org