Forum Discussion
ejknight_293275
Nimbostratus
Jun 25, 2018Marking a pool member down and drain connection by looking for a file
I have a need to set up the following process:
1- Have LTM look for a specific file on a server
2- If that file is not present the following should happen-
1. Server be taken out of the rota...
Surgeon
Jun 26, 2018Ret. Employee
You can configure HTTP monitor with receive string similar to GET /path_to_file/file.name\r\n HTTP/1.1\r\nConnection: Close\r\n\r\n
This will force big-ip to download the file. If the file is too big and if download does not finish until timeout, the pool member will go down. On top of that, your network will be loaded
If you need just check if the file exists, you can create external monitor which can do a file listing for you since http by default has not such command.
LTM External Monitors: The Basics
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