Forum Discussion
alakata_2951
Nimbostratus
Jun 21, 2011Irule bassed on html
Hi, i have a monitor string that look into serveralive.html, if he recieve 1 than he send the request to the server on the pool, so if i want to do some working on the server all connection will go t...
hoolio
Cirrostratus
Jun 22, 2011I think I misunderstood what you were trying to do. I think you could do something like what you've described using an iRule which checks if the virtual server's default pool has no active members and selects a secondary pool in that case.
when CLIENT_ACCEPTED {
Save the name of the virtual server's default pool
before it is potentially changed by this iRule
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
Check if the virtual server pool is down
if {[active_members $default_pool] == 0 }{
Select an alternate pool
pool second_pool
}
}
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
