Forum Discussion
Dixit_18200
Nimbostratus
Apr 26, 2009How to enable logs for Keep Alive
Hi Guys,
We are facing some problem with our nodes in pool. We have enabled health monitoras keep alive for html file. That means when ever the load balancer cannot fetch the html file for 5 seconds it will declare that node as node. Is there any way where in i can enable logs for this keep alive so that we will come to know what response we got from server while trying to fetch html file.
- dennypayne
Employee
Hi, - hoolio
Cirrostratus
As Denny says, it would be ideal to set the monitor up correctly. It can help to enable debug on the monitoring daemon, bigd, to do see the request and response send/received for the monitoring. You can enable debug from the command line using 'b db bigd.debug enable' and disable it using 'b db bigd.debug disable' . It does create very large output files (/var/log/bigd.debug). You could also use tcpdump and filter on the non-floating self IP address and the server IP address:port: - Dixit_18200
Nimbostratus
Hi Aron/Danny, - hoolio
Cirrostratus
Yes, tcpdump would show the server response. You can copy the output file from /var/tmp/ to a Windows host and then use Wiresharek to analyze it. - Dixit_18200
Nimbostratus
Thanks...but we have put keep alive html as health monitor, but in logs we are seeing node down on port 443 and 80. Do you know what might be the reason? - Dixit_18200
Nimbostratus
We have eight edge servers that hit our load balancer on port 8080. Is there any way we can filter these 8 edge servers and dump it in to one file? - hoolio
Cirrostratus
You can capture multiple server IP addresses by adding them to the tcpdump filters: - Dixit_18200
Nimbostratus
Hi Aaron, - hoolio
Cirrostratus
LTM can check the state of the pool members using a monitor. You could then use a fallback host on the HTTP profile or an iRule which redirects clients when a specific condition is seen (like no pool members available). For details on configuring monitors and the fallback host, try searching on AskF5 for http monitor and/or fallback host. The LTM config guide would be a good place to start. If the existing configuration options don't meet your requirements, you could look at using an iRule.
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