Forum Discussion
Paul_E__144936
Nimbostratus
Feb 20, 2014Connection Draining based upon Health Monitoring?
I have an application that has a special URL which returns the server's health state, and I'm working with our load balancing team, who is configuring the F5 for me, and they are having trouble with ...
- Feb 20, 2014
There is an option called "recv disable" string which if received will disable the member.
From the monitor configuration monitor monwebserver { defaults from https recv disable "MAINTENANCE" recv "PASS" send "GET / HTTP/1.1\r\nHost: abc.com\r\nConnection: close\r\n\r\n } This will disable the member if MAINTENANCE is received and will enable it if PASS is received. when its disabled it will allow existing connections.
Mui_64918
Cirrus
Feb 21, 2014Yes that is correct. Sorry I missed a line break.
- Paul_E__144936Feb 21, 2014
Nimbostratus
Thanks again. I think I just found a mistake in my send statement. I put the full path in the Host, instead of just the Host name. Here's a corrected statement. Am I using the correct notation for the port number, or is there a different way I need to specify it? send "GET /HealthCheck.dll/Check HTTP/1.1\r\nHost: glcictkdap108.glr.local:11443\r\nConnection: close\r\n\r\n" which would interpret as: "GET /HealthCheck.dll/Check HTTP/1.1 Host: glcictkdap108.glr.local:11443 Connection: close "
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