Forum Discussion
alakata_2951
Nimbostratus
Jun 21, 2011Irule bassed on html
Hi, i have a monitor string that look into serveralive.html, if he recieve 1 than he send the request to the server on the pool, so if i want to do some working on the server all connection will go t...
hoolio
Cirrostratus
Jun 21, 2011Hi Alakata,
You could do this with a custom external monitor. But it's going to add extra overhead on LTM for a situation that you could probably prevent through operating procedures.
You can create a shell script to add the logic for marking a pool member down only if it's not the last member up using this template:
http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/TemplateForExternalLtmMonitors.html
You can check the number of active members in the pool using bigpipe or tmsh:
b pool MY_POOL | grep -c 'active,up'
And then return UP in the script if the number of active,up members is 1.
Aaron
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