Forum Discussion
rluyster
Nimbostratus
May 05, 2008struggling with "action on service down"
We are running an appliction that is load-balanced over 2 servers. The problem that I am having is that due to the nature of this application, if one of the servers fails, it is impossible for them to move to the other server.
My thought was if a server drops from the pool, to redirect the users to a URL that would tell them of the problem, and inform them that they will need to restart the application.
My assumption is that I can make this happen with an i-rule and using LB_FAILED.
My first question is does this make sense, and the second question would be, which option would I use for the "action on service down".
Thanks
Rick
- Manuel_Gabaldon
Nimbostratus
Hi, - Deb_Allen_18Historic F5 AccountGreat suggestion, mgabaldon, to use persistence data with the LB::status command. For HTTP, you'd probably want to do that test for each request by leveraging the HTTP_REQUEST event.
- Deb_Allen_18Historic F5 AccountOne clarification, though:LB_FAILED only triggers when nobody is avalilable to handle your request. (link) It's the same thing with "action on service down". The purpose of the Action on Service option is to affect handling of connections in progress when a server goes down. See this tech tip for more: LTM: Action on Service Down (Click here)
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects