active/active LTM deployment on different subnet

Hi there,

I am thinking about active/active LTM deployment which each LTM is located on different data center and using different subnet. I mean not using GTM at all.

For example

data center A - subnet A

data center B - subnet B

I think if I create VIP on subnet C and D and then configure upstream router to route traffic of subnet C and D to appropriate data center e.g. dynamic route, static route, etc. If one of data center fails, upstream router will be notified and move traffic accordingly.

Is this possible? What do you think?

Has anyone used this configuration?

Thanks a lot!

Nitass

There are a number of reasons why you wouldn’t want to do this/wouldn’t work.. but I’ll touch on the most obvious.

Without any intelligent DNS, aka GTM, how would you handle DNS? With the boxes being on different subnets, your VIPs are going to be different… Active/Active really wasn’t designed to work like that..For something like that to work you would have to bridge the DC’s.. very bad… I can keep going here but you shouldn’t focus on this.

The recommended setup by F5 is Active/Standby. You will need two Boxes in each DC. There are a number of reasons why you would want this setup, redundancy, change control, etc. If you want global redundancy between DC’s you are going to need additional boxes/licenses for GTMs to control this.

I might be wrong. Anyway, I think VIP will not be changed. For example, VIP C is hosted on data center A and VIP D is hosted on data center B. In normal condition, upstream router will route C subnet to data center A (physical subnet A) and D subnet to data center B (physical subnet B). However, if data center A fails, VIP C will be moved to data center B and upstream router has to be modified somehow to route C subnet to data center B.

Is this possible? Please let me know if I missed anything here.

Much appreciate!

The high level answer to your question is Yes, but the devil is in the details.

The GTM is to Datacenter Load Balancing what the LTM is to Local Load Balancing. The GTM can do Active / Active Load Balancing based on whatever criteria you provide like Geographical Location.

However, the VIP’s are not “moved”, the traffic is redirected at the GTM Level based on Health Checks that the GTM does on the Local Datacenter LTM’s (much the same way that an LTM marks servers available or unavailable in a Pool).

I am seriously over simplifying the setup description, but it this is something you are interested in then you will need to do additional research. Keep in mind that the F5’s / BigIP’s do not do data concurrency for your applications (you have to do that on the back end) and that alone might kill the concept of Active / Active.

Remember in his first post he said no GTMs…

Two things will help us help you..

Can you please post a drawing of what your current setup is, stripping any private info..?

Can u also state what you’re looking to accomplish? Leave out how u think it is technically going to work..a high level analysis of what u have and what u want to accomplish will do..

Thanks!

Thanks you both!

Yes, this is no GTM.

Actually, it is just an idea I think it could be possible. Anyway, I have not had a chance to test it in lab (and it may not be applicable for testing since lab has limited resource). So, I would like to know if there is anybody having done it before or having something I missed.

I’m pretty sure we can safely say nobody is doing that :wink:

If you tell us what you’re trying to accomplish from a high level we can provide you with a viable solution.

Feeling a bit good that I am the first one. :smiley:

The situation is quite simple. Currently customer has 2 units 1 data center (I am not sure if they are active/standby or active/active). He is going to create additional data center and move half of existing system to the new data center. I assume he has network connectivity internally between the existing and the new data centers. Each data center has its own subnet.

Thanks a lot!

Hmm it may not be something to be proud of :wink: j/j

If you want to be remembered in good light with your customer, provide the best solution possible. I would recommend leaving that Pair alone. Purchase a new pair for the new DC and explore your options for implementing GTMs into the picture. Ideally, another pair per DC.

This will give your customer a robust highly available environment. It will provide a mechanism for change control, upgrades, etc..

When you try to engineer around a budget, you look like a hero for the short term with your client… The minute something goes wrong all of that goes out the window and now you’re a bad guy. If you’re having trouble making a case for the new gear, get your local SE involved. They will be more than happy to help out with justification and pricing.

Good Luck!

well noted with many thanks!

Sure thing bud.. You can never go wrong pushing for the best solution.. If they push back, make them formally accept the risk.. If it’s documented, 1 you cover your butt.. 2 they think twice about the risk and the big picture..

Definitely get you local SE involved. It’s what they are there for. It wont cost you anything and when it does come time to buy they can help you there as well..

HI Nitass,

I believe what you are asking is possible. I have lab tested something similar several years ago where I wanted to avoid using a GTM or like service and found that it would increase complexity across the board and it was not fully automated - some manual manipulation was required.

My lab setup was the following

Datacenter A

Circuit A

VIP A (Active)

VIP B (Dormant)

Servers A

Datacenter B

Circuit B

VIP B (Active)

VIP A (Dormant)

Server B

I ran BGP peering between Datacenter A and B (which used 2 different ISPs). I created VIP A and B on Datacenter A and the same in Datacenter B. However, only the VIPs that were being advertised in their respective ISPs were ever responding. I then created a route pools which custom health checked IP addresses on the upstream router (checking for latency and ICMP). Since ADCs in both data centers were connected to switch routers (Cisco 6509s), I created secondary addresses on the subnets (VIP A and B).

This worked well in the lab, however, I found one large issue. Because BGP was being used, fail over could take anywhere between 30 seconds to 5 minutes depending on your ISPs defaults. I even looked into beefing up BGP with PfR(Performance Routing). However, this required the ISP to support it and not all ISPs offer this type of configuration. I even looked at lowering the BGP timers - again the ISP had to support it on their end which is highly unlikely when you deviate from the known standards.

In conclusion, I decided against this approach because it simply could not guarantee consistent failover within a reasonable amount of time as well as the complexity in maintaining this configuration. Thus we decide that the GTM would provide the best solution overall.

I hope this helps

Bhattman

Hi Bhattman,

Thanks!

/Nitass

That’s the catch, even if u use a flavor of peering there is a lag in failover.. even if it’s internal and u can control it… still not the right way to do it..

Hi iRuleYou,

Thanks again! :slight_smile:

/Nitass

Hi Nitaas,

i am stucked with the same scenario as you were in that time. Only difference is that we have Seperate load Balancer pair for Second DC.

Clients has some sites on DC-1 and some applications hosted on DC-2. We can say this as Active-Active Data Center (in LB prospects). For GTM - We decided to play with Listener IPs (on both data center) on Public DNS for CNAME entry. for Eg:

Listener IP DC-1 : 10.10.10.1

Listener IP DC-2 : 10.20.20.1

Application -1 : www.xyz.com (at DC-2)

Application-2 : www.123.com (at DC-1)

We’ll do that CNAME entry/Delegation record entry on Public DNS with both DCs listener IPs for both the applications.

i.e. www.xyz.com 10.10.10.1

10.20.20.1

www.123.com 10.10.10.1

10.20.20.1

and Set the member order/ratio on for each application at respective DCs accordingly in GSLB wide IPs members.

→ 0 for application-1 at DC-2

→ 0 for application-2 at DC-1

Assuming Public DNS is performing Round Robin load balancing only.

highlighting the important point : VIP IP pool and Server IP pool would be different at these data centers.

Could you please help us to about the approach you adapted or Else pls sugget for other effective solution.

Sorry for delay. I am a bit busy lately. I do not remember what it ended up to be. :sweat_smile: It has been a while. Let me dig it and will let you know.