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.
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.
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.
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..
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.
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.
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.
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..
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.
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..
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: