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 ?
-> to use irule on several configurations.
. Node adress = I dont wish to use the node adress @+port (ex.10.10.10200 80)
but just to indicate the element : node 1, or 2, or N (of the pool).
-> Allows a dynamic "irule".
. Status = How can I use LB_FAILED event for know status node ?
If the node is down, I'd like to be able to redirect towards an other node.
ps : Where could I find informations about the commands available and their use ?
("conf. guide for local traffic management" doesnt give details)
Thanks for tips and solutions.
- unRuleY_95363Historic F5 AccountWe 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.
- serge_faller_83
Altostratus
thanks for the answers. - unRuleY_95363Historic F5 AccountThe best thing you can do is use the [LB::server addr] command to determine whether the LB failed because of no available nodes, or because of a problem connecting to that node. If there were no available nodes, then the [LB::server addr] command would return the empty string, otherwise it would return the address of the node and could be used to imply that it attempted to connect and failed.
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