Forum Discussion
failover HTTP request to specificied IP:port
Greetings,
I currently have an iRule that will failover an http request to a secondary "failover" pool if there are no available members in the current pool. The failover pool simply contains a single vip address that is hosted on a different load balancer (that happens to be serving the same content).
I'm looking for a way to eliminate the need for a secondary failover pool. The pool is necessary in the current iRule design because I am using the "pool" command. However, within the iRule I can determine (or hardcode) the failover destination. I could not find an iRule command that will let me simply forward the request to a given ip/port, without an intermediary pool. Note that I'm not looking for "redirect", I want the traffic to flow through the original LB, through the original connection.
3 Replies
- giltjr
Nimbostratus
Have you looked into priority groups? Within a single pool you can define one group of servers as priority group 2 and your "failover" server in priority group 1. Then define the pool so that the priority group 1 server is only selected when there are no priority group 2 members active.
- Robert_Landrito
Nimbostratus
I think the answer is the fairly obvious "node" command. I didn't realize I could direct traffic to an arbitrary node (I assumed that the node had to be defined on the LB).
- MallariYap_1963
Nimbostratus
none in the priority groups?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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