Forum Discussion
Verbal_92765
Nimbostratus
Mar 12, 2012health monitor to remove nodes from pool with no drian
Hello All,
We are running an F5 big IP 3600 series in front of a Windows web farm.
We are using automated deployments to each web node. In order to remove web nodes from the pool when deploying, I have setup health monitor that checks for the content of an .htm file on each node.
Send String
GET /maintenance.htm\n\n
Receive String
good
Receive Disable String
maintenance
This works well apart from active connections are still allowed, this means files are always in use etc.
I do not wish to wait for connections to drain or expire when this health monitor kicks in.
I would simply like to remove all connections and disable the node.
Any ideas how I can change this health monitor to do just this?
Kind Regards
8 Replies
- nitass
Employee
have you tried "action on service down"?
LTM: Action on Service Down by Deb
https://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/179/LTM-Action-on-Service-Down.aspx - Verbal_92765
Nimbostratus
This is set to 'Reselect' at the moment, but still active connections are coming to the node that has been marked down by the monitor. - nitass
Employee
This is set to 'Reselect' at the moment, but still active connections are coming to the node that has been marked down by the monitor.how did you notice it? have you done tcpdump on bigip?
anyway, does "reject" make any difference? - Verbal_92765
Nimbostratus
the IIS logs on the web server were still showing active connections.
Will try reject - koenning_107182
Nimbostratus
reject should sort all client initiated connections.
Just to double check, the remaining ones are not server initiated connections?
Seen this before, but mostly with link controller customers.
regards,
Christian - Verbal_92765
Nimbostratus
i just tried reject and get the same thing - Verbal_92765
Nimbostratus
for example. If i stop the node on the command line with the command 'bigip node 192.168.0.x down' then there are no new connections. - hoolio
Cirrostratus
Do you have other pools with that IP:port combination? Disabling the node would mark the server down in all pools, whereas marking a pool member down only affects that pool.
If you want the node marked down if a specific service fails, you could create a new monitor with the alias port set to 80 and the action on service down set to reject. Add that monitor to the node address (not the pool) and retest.
Aaron
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
