Forum Discussion
Michael_Yates
Aug 25, 2011Nimbostratus
Hi dmenardSABA,
I think that what Hoolio is saying is that you don't have to hard code the pool name in the iRule. If you use [LB::server pool] that it will use the default pool assigned to the Virtual Server.
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
HTTP::redirect "http://209.196.27.42/"
}
}