Forum Discussion
John_Heyer_1508
Cirrostratus
Apr 08, 2016Checking if Virtual Server disabled within iRule
Within an iRule, is there a way to check if a virtual server is disabled?
My goal is to display a pretty maintenance page if a virtual server is administratively disabled (as opposed to down)....
crodriguez
Apr 08, 2016Ret. Employee
Additional find: With 11.5 and the REST-based iControl, you can issue a side-band call to the (icrd) REST interface to perform just about any TMSH functions you want, including perhaps checking the status of those pool members to see if they are offline (due to monitor) or manually disabled. Net upshot is that a virtual server needs to be enabled in order for any iRules associated with it to trigger. Manually disabling a virtual server "disables" execution of any associated iRules except for existing open connections.
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