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
You can disable pool member instances without it impacting other instances. In other words, two different pools - but same pool members - for each virtual server (let's call them "test" and "prod" respectively). Manually disable the pool member's in the pool associated with the "prod" virtual server; the members in the pool associated with the "test" virtual server are not impacted and still show available in that pool. This effectively disables the "prod" virtual server without preventing it from accepting connections, and allows your iRule to work its magic. Your "test" virtual server is not impacted.
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