connection table
3 TopicsUse iRules to query number of active connections against a node
I am currently trying to automate a lot of the "out of the box" behaviour available on the BIG-IP using iRules which is, to say the least, quite a task. The reason for doing this is that we have an environment using DNS hostnames instead of IP addresses and because of that, we cannot configure nodes as pool members since this hard codes the node IP address as the pool member. I know there are other options like using iCall and GTM, but there's a whole lot of history and I'm trying to make the background short. In a nutshell, I am trying to program the Least Connections (Member) load balancing algorithm using iRules, and resolving each hostname to an IP address as part of the HTTP_REQUEST event. Not pretty, I know. My question is simple, but I'm not sure if the answer will be. I need a way to code the least connections algorithm. In order for that to work, I need to programatically query the number of active connections (for a virtual server and specific port...not including connections made from other virtual servers or other ports) against specific nodes. I know this can be done using the TM shell by looking at the connection table, but I need it to be wrapped up in code that can be put inside an iRule. Is there any way at all to do this using iRules?673Views0likes9CommentsSync of TCP connection table
Hello, I am new to F5 but was able to configure two F5 LTM as active standby pair. I am running BIG-IP 11.4.1 Build 690.0 Hotfix HF10. Connection and Persistence mirroring is enabled and working for new incoming connections. My problem is that in case of a reboot of one of the machines the active F5 is not copying its whole connection table to the passive (rebooted) one. Only the new TCP connections are mirrored to the standy F5. Is this working as intended? or is there an option I missed during configuration? Thanks for your help.499Views0likes3Commentstmsh LTM connection table
When hitting a https VS I see two entries in the connection table. Can someone explain why there are 2 entries, one on :443 and one on :0 ??? I am troubleshooting a problem and would like like to know what the ::.0 connections mean and if it is an issue. tmcgover@ma-npweb-bip3600a(Active)(tmos) show sys connection cs-server-addr 198.204.13.19 Sys::Connections 198.204.15.125:53837 198.204.13.19:443 10.88.186.106:80 tcp 0 198.204.15.125:53836 198.204.13.19:443 ::.0 tcp 1 DETAILS: tmcgover@ma-npweb-bip3600a(Active)(tmos) show sys connection cs-server-addr 198.204.13.19 all-properties Sys::Connections 198.204.15.125:1609 - 198.204.13.19:443 - ::.0 TMM 0 Type any Protocol tcp Idle Time 1 Idle Timeout 300 Unit ID 1 Lasthop QA-Web-Ext-184 00:00:5e:00:01:25 Virtual Path 198.204.13.19:443 ClientSide ServerSide Client Addr 198.204.15.125:1609 ::.0 Server Addr 198.204.13.19:443 ::.0 Bits In 29.4K 0 Bits Out 38.2K 0 Packets In 15 0 Packets Out 11 0 198.204.15.125:1995 - 198.204.13.19:443 - 10.88.186.106:80 TMM 0 Type any Protocol tcp Idle Time 13 Idle Timeout 300 Unit ID 1 Lasthop QA-Web-Ext-184 00:00:5e:00:01:25 Virtual Path 198.204.13.19:443 ClientSide ServerSide Client Addr 198.204.15.125:1995 198.204.15.125:1996 Server Addr 198.204.13.19:443 10.88.186.106:80 Bits In 15.5K 5.3K Bits Out 6.9K 11.2K Packets In 9 5 Packets Out 5 6367Views0likes4Comments