Forum Discussion
nik_65678
Nimbostratus
Feb 02, 2010active/active sites.
we've always been a one datacenter shop but now we'll be running active active from different locations. i do have a scenario that i've been unable to solve without a pretty gross hack.
here's the old 1-datacenter setup:
servers running a web app die. load balancer says "hey, no nodes are up" and reroutes to a "downtime" page. pretty simple, right? this however becomes silly when you have two datacenters.. here's what happens with no changes:
servers running the webapp at datacenter 1 die and downtime page is returned. app at datacenter 2 is running so the app is returned. some users get the downtime page, others get a working page. problem!
the two f5 pair are able to talk to eachother and eachother's members privately. the only solution i've come up with so far is making two pools for every single app, one for the app servers in each datacenter. here's the rule i'd create on the f5 in datacenter 1:
if (dc1 pool == up) --> working app
if (dc1 pool != up) & (dc2 pool == up) --> reject connection
if (dc1 pool != up) & (dc2 pool != up) --> downtime page
the opposite would exist on datacenter 2. it seems like a semi-reasonable solution but is obviously a hack.
does anyone have experience with multiple site solutions along with downtime/failover apps?
- The_Bhattman
Nimbostratus
Hi Nik, - nik_65678
Nimbostratus
i'm not particularly familiar with the gtm device but from what i understand it's just a glorified dns server with application monitors. the one issue i have with using dns as a fail-over solution for this is regardless of the ttl updating records can take time.. often more time than i want to spend down. - hoolio
Cirrostratus
Hi Nik, - The_Bhattman
Nimbostratus
Another possible solution, if you are running v10 is to use iSessions. Here is an article about it http://devcentral.f5.com/weblogs/dmacvittie/archive/2009/04/29/v.10---introduction-to-isessions.aspx - nik_65678
Nimbostratus
i haven't really read much on isessions but i want these two datacenters to be symmetric, and if i understand isessions correctly it's more along the lines of master/slave. - hoolio
Cirrostratus
GTM would handle that logic nicely in the DNS resolution without worrying about disconnecting clients at the TCP layer. - The_Bhattman
Nimbostratus
Posted By Nik Ambrosch on 02/10/2010 10:15 AM
- hoolio
Cirrostratus
iSessions could be a very efficient solution for this scenario. Nice idea Bhattman. - nik_65678
Nimbostratus
i don't entirely understand the documentation that's kicking around for isessions - is there a good howto that you know of? - The_Bhattman
Nimbostratus
I haven't see one out there explicitly but I will ask around and see if there is one upcomming in a configuration/solutions guide.
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