We are facing issue with monitoring of nodes in one of our virtual server pool, however when we check on the server side we didn’t found any discrepancy on server port side. Due to this F5 keep flipping those servers out of pool and hence we are facing issue . Appreciate please do let us know and what are the fix for this in case any bug or hotfix. Please do let us know in case if you required any further information
It will be interesting to check the tcp dump. can you run a tcp dump on F5 by running tcpdum -ni “vlan/interface” dst host 10.64.32.16 and src host “F5 self IP” -w . It seems like tcp health check’s timeout is expiring before server responds. But then again maybe I am stating the obvious. Are the timers on tcp health check default? or were they fine tuned at any stage?
Hi Buddy, Your destination port in tcp dump is always changing. What is the port number on which pool members of this pool are listening? Can you run following commands from tmsh and provide the input 1) list /ltm monitor tcp 2) list /ltm pool “pool_name” I am assuming that you are using tcp monitor for your health check, but if you are using some other health check please change its name instead of tcp.
tcpdump -i 1.15 -ni vlan_internal host 10.64.32.16 and host 10.64.32.35
so you can see the response or lack there of coming back from your pool members. If they don’t respond within 16 seconds they will be marked down based on the timeout of 16 seconds in your default tcp monitor. Also, have you enabled monitor logging for one of your flapping pool members to see why its being marked down? Once you do that each pool member that has that enabled will have a log at /var/log/monitors/.
tcpdump -i 1.15 -ni vlan_internal host 10.64.32.16 and host 10.64.32.35
so you can see the response or lack there of coming back from your pool members. If they don’t respond within 16 seconds they will be marked down based on the timeout of 16 seconds in your default tcp monitor. Also, have you enabled monitor logging for one of your flapping pool members to see why its being marked down? Once you do that each pool member that has that enabled will have a log at /var/log/monitors/.
ls /var/log/monitors/. Please, don’t post a screen capture of packets, its impossible to read. If you want to share captures send them to a pcap file using -w /shared/tmp/name.pcap so you can analyse them off box. The monitor log will be very beneficial to try to isolate down why the monitor would be going down. To turn on monitor logging for a pool member, go into a pool, and click on a member. There should be a check box to enable monitor logging.
ls /var/log/monitors/. Please, don’t post a screen capture of packets, its impossible to read. If you want to share captures send them to a pcap file using -w /shared/tmp/name.pcap so you can analyse them off box. The monitor log will be very beneficial to try to isolate down why the monitor would be going down. To turn on monitor logging for a pool member, go into a pool, and click on a member. There should be a check box to enable monitor logging.
Hi Brad, thank you for still helping me,im newbie in F5.
Well apparently that wasn’t introduced until 11.5. Here is an article how to get the same info in previous verisions via the bigd log, DevCentral - An F5 Technical Community.
Hi Buddy, Looking at the tcpdump, your F5 is doing a TCP health check on different server ports. Normal behaviour would be that F5 will only try to connect to the port on which member server is listening on. So for example 10.64.32.16 is listening on port 44070, so health checks should only happen on port 44070. Can you confirm what monitor are you using to monitor the node 44070(may be problem is at node level)? If you are using TCP, then I can understand your problem. Please change it to icmp. You can find it out by typing list /ltm node 10.64.32.16 from tmsh