Forum Discussion
EBL_27513
Apr 30, 2012Nimbostratus
Assistance Requested - iRule causes virtual to hang upon LTM reboot
Hello,
I'm a relative newbie when it comes to writing iRules, and so wanted to see if anyone in the forum would have some time to help me with an issue I'm having. Any help would be much ap...
Michael_Yates
May 01, 2012Nimbostratus
Hi EBL,
You may want to change your methodology a little bit. You can configure LB re-select on the Pool (which should be synchronized across the HA Pair) by using the "Action On Service Down" option, which is set on the pool. Set this option to "Reselect".
So if the node fails then the client will be sent to another working member of the pool.
If no pool members are available (because you have taken them all down for maintenance) then you can use the "active_members" option inside of an iRule to determine if there are any members available. If so then the client would proceed to another node because of the Action On Service Down option being set to Reselect. If not, then you could redirect them to a different pool (which would negate the persistence).
See the active_members iRule command.
Hope this helps.
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