Forum Discussion
rpalacios_79340
Altostratus
Mar 26, 2010Load Balancing Method
Hello Guys,
I've been presented with an odd request at work. Let me start of by providing some basic description of our environment. We have two datacenters. Our primary DC is here in Santa Ana and our disaster recovery site is in Dallas.
Request:
The request I have to put two mysql servers behind the F5 in both DC's. That is simple enough, right? The catch is that what they would like to do is have the primary mysql server (Santa Ana) get all of the traffic unless it's unavailable and both sites would be configured so that the same mysql server gets all of the traffic from both sites.
I think what they are looking for is multi-site processing. They actually don't want it to do load balance, they want to use it to force both sites to use the same mysql server but still be able to failover if the sql server at one site fails.
Question:
The question I have is besides having 1 member of the mysql pool disabled at each site, is there another way to accomplish this request? iRules?
-rp
- The_Bhattman
Nimbostratus
Hi RP, - The_Bhattman
Nimbostratus
Hi RP, - Hamish
Cirrocumulus
You could run the LB's in a kind of reverse configuration from normal. - hoolio
Cirrostratus
For databases, you can use a simple "single node" persistence iRule. It allows you to fail over between the pool members but not switch back automatically when the previously down server comes back up. - rpalacios_79340
Altostratus
Thanks for all the replies, guys. I think I will explore Aaron's suggestion. Although, I was wondering if node a (primary node) comes back online, is there a way for the F5 to automatically start sending traffic to it instead of manually failing over to it. - hoolio
Cirrostratus
That's the default behavior if you use priority group activation and set one pool member to a higher priority. The iRule is useful when you want to avoid the automatic "fail back" as this can cause a second outage. - rpalacios_79340
Altostratus
Thanks, Aaron. I will go ahead and give it a try and see how it goes. Thanks to Bhattman
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