Forum Discussion
Kevin_M_182964
Nimbostratus
Feb 10, 2015Can health monitor maintain TCP connection?
Can a TCP health monitor check be configured such that the load balancer maintains a persistent TCP connection with the pool members? I have a send string for a TCP health check, but our development...
Kevin_K_51432
Feb 10, 2015Historic F5 Account
Oops, I didn't see the "in conjunction". Well, it may be worth considering if this can be used in conjunction with an ICMP (or ping) monitor?
I'll be sure to update this if something more fitting shows up.
Thanks, Kevin
Kevin_K_51432
Feb 10, 2015Historic F5 Account
I did set this up to answer the question "so there are no responses to check to mark it as up again" and have found that the response to the client is the object parsed by the iRule (not the monitor traffic) and the pool member becomes down. Then the monitor comes around and marks it back up until another client request is parsed and marks the member down again.
Note: I set the iRule to trigger on 200 OK to make this easier.
Client connection results:
HTTP/1.1 200 OK
Date: Tue, 10 Feb 2015 22:00:48 GMT
Server: Apache/2.2.22 (Ubuntu)
MISS
MISS
HTTP/1.1 200 OK
Date: Tue, 10 Feb 2015 22:00:48 GMT
Server: Apache/2.2.22 (Ubuntu)
MISS
MISS
------------------------------------------------------------------
What is logged to /var/log/ltm:
notice mcpd[6987]: 01071681:5: SNMP_TRAP: Virtual /Common/me2 has become available
err tmm[10521]: 01010221:3: Pool /Common/test1 now has available members
err tmm[10521]: 01010028:3: No members available for pool /Common/test1
notice mcpd[6987]: 01070638:5: Pool /Common/test1 member /Common/10.12.23.27:80 monitor status iRule down. [ /Common/gateway_icmp: up ] [ was up for 0hr:0min:0sec ]
notice mcpd[6987]: 01071682:5: SNMP_TRAP: Virtual /Common/me2 has become unavailable
notice mcpd[6987]: 01070727:5: Pool /Common/test1 member /Common/10.12.23.27:80 monitor status up. [ /Common/gateway_icmp: up ] [ was iRule down for 0hr:0min:1sec ]
notice mcpd[6987]: 01071681:5: SNMP_TRAP: Virtual /Common/me2 has become available
err tmm[10521]: 01010221:3: Pool /Common/test1 now has available members
err tmm[10521]: 01010028:3: No members available for pool /Common/test1
notice mcpd[6987]: 01070638:5: Pool /Common/test1 member /Common/10.12.23.27:80 monitor status iRule down. [ /Common/gateway_icmp: up ] [ was up for 0hr:0min:0sec ]
notice mcpd[6987]: 01071682:5: SNMP_TRAP: Virtual /Common/me2 has become unavailable
notice mcpd[6987]: 01070727:5: Pool /Common/test1 member /Common/10.12.23.27:80 monitor status up. [ /Common/gateway_icmp: up ] [ was iRule down for 0hr:0min:1sec ]
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