Forum Discussion
iRule - Check telnet sessions
We have a virtual server with 3 nodes, 2 of these nodes are licensed for 100 simultaneous telnet sessions and the third license has unlimited sessions.
We want to configure an irule that verifies that when nodes 1 and 2 have 98 active telnet sessions the F5 stops sending requests to it.
Do you have any similar irule?
7 Replies
- Samir_Jha_52506
Noctilucent
You can apply node level session limit. There is no option to call tmsh command via iRule.
- es_tac_132817
Nimbostratus
We have already tried with limit of session and it does not work to us since they do not match the sessions that appear in the F5 with the real sessions of the server. Can not create an iRule for this?
- Samir_Jha_52506
Noctilucent
Which F5 Version you are using? It should work as its option available on F5.
FYI
Local Traffic >> Pools >> Pool name >> Members >> member IP:port >> Connection Limit.
- es_tac_132817
Nimbostratus
The version is 11.6.1 HF2
- Jad_Tabbara__J1
Cirrostratus
Hello,
Have you tried with the "Connection Limit" setting on the Node/Pool Member ? Not sure if you are talking about the same setting in previous answer.
Regards
- dragonflymr
Cirrostratus
Hi,
I am not sure why Connection Limit on node should not work. According to build in help:
Specifies a maximum established connection limit for a pool member or node. When the current connections count reaches this number, the system does not send additional connections to that pool member or node.
Is above not true for you? So there is more connection on server side than on client side?
It's of course possible to call MGMT plane (tmsh commands) from iRule - just use iCall and probably iStats.
Piotr
Recent Discussions
Related Content
* 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