Forum Discussion
dkinsler_23191
Nimbostratus
Feb 15, 2010fallback to different VIP in Irule??
Hello All,
I have been looking for a way to do this but I have not been able to find it. I am trying to select a completely different VIP when all the pool members are down. I have found the code to do the fallback host, but I need the URL to not to change in the users browser. I want the LB to choose a different VIP, but not show it to the client. The VIP's will have different persistance requirements. Any ideas?
- hoolio
Cirrostratus
If you want to select a second VIP to handle the request when a new request is parsed and the default pool is down, you can use something like:when HTTP_REQUEST { Check if currently selected pool has no active members if {[active_members [LB::server pool]] == 0}{ Use the fallback VIP virtual fallback_vip } }
- L4L7_53191
Nimbostratus
Another, ultra lean and mean, option is to point your http profile to this virtual as a fallback host, which will have the same affect in many cases. - hoolio
Cirrostratus
The issue with using the fallback host option is it results in a 302 redirect with the new URL being sent to the client. The client will see this change. dkinsler wanted a method that would be transparent to the client.
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