Forum Discussion
serge_faller_83
Altostratus
Jun 30, 2005Which NODE info. are available (status, numbers ...) ?
I want to target a particular node in my irule, and I have some questions.
Can I use particular "statement command" ?
. Number of node = can I know the number (N) of node in the pool ? ...
unRuleY_95363
Jun 30, 2005Historic F5 Account
We do not currently have a command that would accomplish what you are seeking. You could initialize a Tcl list with the pool members in RULE_INIT and then reference them by index. Of course, that's somewhat of a mgmt hassle. I will consider adding a command that will return the list of members (and perhaps their status). The problem with using an index on active members is that depending on which member might drop out, your indexed references would get changed around.
Also, I would suggest you use the command "pool member " instead of the node command, as this keeps the reference of which pool the node is within. The node command simply uses the speficied address/port regardless of whether it's in a pool or not.
In the next release, we've already added some commands called LB::status, LB::up, LB::down which will help with determining and controlling pool member status.
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