Forum Discussion
ant8344_5401
Nimbostratus
Jul 31, 2012Marking a VIP down via an iRule
We have an Exchange cluster that monitors 2 Exchange F5 VIPs (1 F5 VIP in location X, 1 in location Y). Each of those VIPs has an iRule applied to them, that looks through various conditions...
Michael_Yates
Nimbostratus
Jul 31, 2012Hi ant8344,
The easiest way to accomplish what you are looking to do is to create another monitor to apply to the server pool and then require that all Health Checks be successful in order for the server to be considered alive.
In your case you could so something like Enable TCP Print Services (which runs on port 515) on the servers. Then create a TCP Monitor for that port and apply it to the pool.
So when you want to take a server down for maintenance you stop the TCP Print Services on the server causing the device to fail the health check and be marked down.
Run your maintenance normally and start the service when you are done.
You can do this with an iRule, but I have found that this type of method is more reliable and preferable. If you are still interested in an iRule approach look here:
disable pool member with an irule
Hope this helps.
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