Forum Discussion
Jonas_Karlsson1
Feb 15, 2005Historic F5 Account
Checking node status from iRules
Hi,
As far as I can see from documentation available and posts to this forum there is no way to check the status of a node from within an iRule. Correct?
Cheers
...
unRuleY_95363
Feb 16, 2005Historic F5 Account
Yes, Brian, you are correct on this. When a persist entry is used, it is first checked to see whether the resulting pool member is still active. If it is not still active, the persist entry will be replaced after the connection is re-load-balanced. This sounds like it should handle the scenario.
If they are interested in more specifically controlling the node that gets selected in the event the node is down, you could write a rule that would first do the persist lookup and node select, then if the connection failed to that node (because the node is down), you could pick the new node using whatever mechanism you want (in the LB_FAILED rule event). (I should also add that when the node in the persist entry is down, the LB_FAILED event is not triggered - it's treated more like there was no persist entry to begin with).
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
