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?
11 Replies
- nik_65678
Nimbostratus
i'm not really sure if isessions are what i'm looking for, but i'll keep reading.
i finally managed to test the hack that i mentioned above.. it works great but is kinda ghetto.. i'll keep messing around.
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
