Forum Discussion
Chris_Paulraj_1
Nimbostratus
Feb 14, 2007How do you implement failover only?
Instead of load balancing two nodes, we would like to treat them as primary and secondary nodes and we want the requests to failover to secondary, only when primary is not available. This needs to be implemented on HTTP, FTP & TCP profiles!
thanks
Chris
- JRahm
Admin
Define priorities on each pool member per the configuration guide. Note that there is an active bug on priorities, check solution to make sure your configuration isn't vulnerable: - Chris_Paulraj_1
Nimbostratus
Thank You, would this be a "fool proof" solution for failover only? I have set it to 1000:1 ratio, but would be more comfortable if there is an option to specify "backup" node? - JRahm
Admin
Don't confuse ratio with priority. Ratio means that the "backup" server will get every 1001th connection in a two server scenario with your numbers.pool my_pool { lb_mode fastest min active members 2 member 10.12.10.7:80 priority 1 member 10.12.10.8:80 priority 1 member 10.12.10.9:80 priority 1 member 10.12.10.4:80 priority 2 member 10.12.10.5:80 priority 2 member 10.12.10.6:80 priority 2 member 10.12.10.1:80 priority 3 member 10.12.10.2:80 priority 3 member 10.12.10.3:80 priority 3 } Figure 4.1 Sample
- Ralph_M_80263
Nimbostratus
Experience and other documents imply that priorities increase as the priority number increases, i.e., members of the priority 1 group would have the lowest priority and those of the priority 3 group the highest, just the opposit of the above description.
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