Forum Discussion
Marco_Bayarena_
Altostratus
Apr 02, 2008Failover instead of Load Balancing Pool members?
Is it possible to configure a 2 member pool to have one member receive all the connections until it becomes unavailable then send the traffic to the other member?
I have two mail servers tha...
hoolio
Cirrostratus
Apr 03, 2008There is a nice example of single node load balancing in the iRules Codeshare:
Single Node Persistence (Click here)
The first connection will create a single universal persistence record with a key of "1". All subsequent connections will look up persistence using "1" as the key, resulting in truly universal persistence for all connections. (Use 1 or any constant value. 0 will have the same affect as using 1. One of my customers uses "persist uie [TCP::local_port]"
When one node fails, the other is persisted to by all comers. When the 2nd node fails, the 1st again becomes the preferred node for all, ad infinitum.
Doesn't offer the capability of manual resume after failure, or true designation of a "primary" and "secondary" instance (sometimes required for db applications), but it sure does solve the problem of "only use one node at a time, I don't care which one, please" (You can use priority to gravitate towards the top of a list...)
Aaron
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