Forum Discussion
Chuck_Adkins_13
Nimbostratus
Nov 15, 2005priority LB - maybe better suited to iRule?
In this setup - as long as there are one priority 2 nodes available - traffic is directed to them. This is correct behavior. If all the priority 2 nodes are down, then traffic is directed to priority ...
Chuck_Adkins_13
Nimbostratus
Nov 16, 2005Thanks for the quick response.
I have setup the iRule - but am not getting the response I am seeking. When all the nodes are down in the main_pool (and nodes are up in secondary) my vip is down - doesnt serve content from from secondary.
iRule:
rule pool-failover {
when LB_FAILED {
if { [LB::server pool] eq "main_pool" and [active_members main_pool] == 0} {
pool secondary_pool
persist none
}
}
}
My VIP:
virtual www.domain.com-ssl {
destination 1.2.3.10:https
ip protocol tcp
profile rewrite-ssl tcp www.domain.com
persist cookie-insert
pool main_pool
rule pool-failover
}
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