Forum Discussion
Ramesh_Polarapu
Nimbostratus
May 10, 2008Load Balancer to forward the traffic when the Pool is down
In our setup we have a Virtual server MM1-Traffic and it has an iRule associated with it namely "Vantrix-v7.0". The purpose of this iRule is to differentiate the POST/GET in the HTTP requests and redi...
Ramesh_Polarapu
Nimbostratus
May 12, 2008Hi Aaron,
Thanks for your reply. Check the below details. I do not have any log in the F5 as they were cleared. I will try to redo the test by getting the permission from customer as it will effect the traffic.
iRule to differentiate POST/GET --- Vantrix-v7.0
when HTTP_REQUEST {
switch [HTTP::method] {
"GET" {
pool Van-Get
}
"POST" {
pool Van-Post
}
}
}
iRule to forward the traffic when Van-Get pool is down --- GET-Redirect
when CLIENT_ACCEPTED {
if { [active_members Van-Get] == 0 } {
pool MM1-Redirect
}
}
iRule to forward the traffic when Van-Post pool is down ---POST-Redirect
when CLIENT_ACCEPTED {
if { [active_members Van-Post] == 0 } {
pool MM1-Redirect
}
}
Regards
Ramesh
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