Forum Discussion
Guy_Goodenough_
Mar 12, 2014Nimbostratus
Maintenance iRule Question
I've read several posts on creating an iRule that addresses Maintenance for pools of servers. So I'm pretty much sorted when it comes to creating the iRule to redirect traffic to another server in th...
Kevin_Stewart
Mar 12, 2014Employee
Is the maintenance content on a different server? If so you'll also need to provide some command to tell it where to send the traffic.
when HTTP_REQUEST {
if { [active_members [LB::server pool]] < 1 } {
pool maint_pool
HTTP::uri "/"
HTTP:: header replace Host "maintenance.server"
}
}
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