Forum Discussion
Bret_McGinnis_1
Nimbostratus
Mar 07, 2006PVA and [LB::server pool]
I observed some interesting behavior when I start using PVA (l4fast). I have an iRule that monitors the active number of nodes in a pool. The iRule has code for LB_SELECTED and LB_FAILED. The iRule works fine when the PVA is not being used. When I turn on PVA the iRule works fine in the LB_SELECTED event but has a problem with the LB_FAILED event. [LB::server pool] returns no value. I turn off the PVA for this VIP and [LB::server pool] returns the correct value.
I'm running version 9.1.1
Regards
2 Replies
- Colin_Walker_12Historic F5 AccountCould you post a copy of the rule for us to take a look at?
When you say that the logging isn't working properly in the LB_FAILED event...what do you mean, exactly? Is the log entry being created and the value is blank, or is no log entry being created?
Thanks,
-Colin - Bret_McGinnis_1
Nimbostratus
Hi,
Here is an excerpt of the code form the LB_FAILED event
set pool [LB::server pool]
set act_nodes [active_members $pool]
With the PVA turned off $pool contains the name the pool that failed and of act_nodes contains the number of active nodes (0). If I turn on the PVA and retry the request pool contains "" and I get a TCL runtime error setting act_nodes (which I expect when pool is ""). I turn off the PVA and retry the request and it $pool contains the name of the pool that failed.
Regards,
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
