Forum Discussion
Larry_G_54476
Nimbostratus
Nov 29, 2011F5 Load Balancer VIP pointing to 2 groups of SMTP servers
I have a F5 Load Balancers.
I want to create a global vip.
The vip should load balance traffic to 4 SMTP servers in group A.
The F5 should chekc the health of the 4 SMTP servers in group A.
If the health check fails and all 4 SMTP servers in group A are not available, I would like the F5 to direct SMTP traffic through the VIP to 4 OTHER SMTP servers (group B).
The F5 would continue to direct traffic to group B servers until the group A servers come back up.
Can the F5 do this?
Thanks
Larry
2 Replies
- Helen_Johnson_1Historic F5 AccountHi Larry,
To answer your question, the F5 can do this.
In order to have this work the way you want it to, you'll want to monitor both groups, or pools in F5 lingo. Then you'd need an iRule that sends all traffic to the servers in group A, until all 4 are marked down, then send traffic to group B. The forums for iRules can be found here: http://devcentral.f5.com/Forums/tabid/1082223/asg/50/showtab/groupforums/aff/5/Default.aspx
By default, the BIG-IP will continue to monitor all pool members and report when they're back up and ready to accept traffic. As a result, the VIP will send traffic to the servers in group A once it sees them as back online.
Please let us know if you have further questions.
Cheers,
Helen - Helen_Johnson_1Historic F5 AccountHi Larry,
I thought of something else after I hit submit...
Instead of using iRules, another way to accomplish your goal would be to do priority group activation. Put the members of both groups A and B into a pool, and assign the members that are in group A a higher priority group than those in group B. For more information, go to chapter 4 of the LTM manual: https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/LTM_config_guide_943/ltm_pools.html?sr=18269610
I hope this is a more elegant solution for you.
Cheers,
Helen
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
