SOLVED
Home

Exchange 2016 DAG design

%3CLINGO-SUB%20id%3D%22lingo-sub-184689%22%20slang%3D%22en-US%22%3EExchange%202016%20DAG%20design%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-184689%22%20slang%3D%22en-US%22%3EI%20have%20an%20on-prem%20Exchange%202016%20infrastructure%20consisting%20of%20an%208%20server%20DAG%20stretched%20over%202%20DCs%20using%20JBOD%20(RBOD)%20and%20AutoReseed%2C%20The%20DCs%20are%20linked%20by%20a%2010GB%20data%20line%20so%20actually%20it%20is%201%20logical%20(AD)%20site.%20Using%20the%20Exchange%20calculator%20I%20have%20deployed%2096%20DBs.%20Every%20DB%20has%206%20copies%2C%202%20of%20which%20are%20lagged%20(7%20days).%20The%20first%203%20copies%20of%20a%20database%20reside%20in%201%20DC%20the%20last%203%20copies%20in%20the%20other%20DC.%20The%20Exchange%20calculator%20scripts%20designated%20the%20database%20copies%20with%20activation%20preference%203%20(AP3)%20and%20AP6%20as%20being%20lagged%2C%20so%20each%20DC%20has%20a%20lagged%20copy.%20My%20question%3A%20During%20maintenance%2C%20the%20active%20databases%20(AP1)%20on%20a%20server%20are%20failed%20over%20to%20their%20respective%20copies%20with%20AP2%20on%20another%20server%20in%20the%20same%20DC.%20Suppose%20a%20disk%20failure%20happens%20on%20an%20activated%20DB%20copy%20with%20AP2%20-%20or%20the%20server%20has%20some%20kind%20of%20issue.%20It%20will%20then%20try%20to%20fail%20over%20to%20the%20copy%20with%20AP3%20-%20which%20is%20a%20lagged%20copy.%20This%20is%20not%20something%20I%20would%20like%20to%20happen.%20Therefore%2C%20what%20is%20the%20best%20way%20to%20prevent%20this%3F%20-%20Configure%20AP3%20and%20AP6%20with%20DatabaseCopyAutoActivationPolicy%3ABlocked%3F%20I%20wonder%20if%20this%20will%20result%20in%20an%20error%20or%20continue%20and%20activate%20AP4.%20-%20Change%20AP3%20to%20AP5%20and%20vice%20versa%3F%20-%20Any%20other%20suggestions%3F%20Sven%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-184689%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2016%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-186819%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%202016%20DAG%20design%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-186819%22%20slang%3D%22en-US%22%3E%3CP%3EThat%20article%20is%20exactly%20what%20I%20was%20looking%20for.%20It%20turns%20out%20I%20don't%20have%20to%20change%20anything.%20I%20assumed%20AP%20was%20the%20only%20parameter%20used%20in%20the%20decision%2C%20but%20now%20I've%20learned%20it%20is%20not.%3C%2FP%3E%3CP%3EThx!%3C%2FP%3E%3CP%3ESven%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-185868%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%202016%20DAG%20design%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-185868%22%20slang%3D%22en-US%22%3E%3CP%3ELagged%20copies%20shouldn't%20be%20blocked%2C%20as%20the%20DAG%20can%20them%20promote%20them%20to%20regular%20copies%20should%20disk%20space%20require%20this%20(play%20down)%20or%20other%20circumstances%20like%20the%20lagged%20copy%20requiring%20page%20patching%2C%20or%20the%20number%20of%20copies%20falls%20below%203.%20This%20can%20be%20controlled%20using%20the%20DAG's%20ReplayLagManagerEnabled%20switch.%20Regarding%20(automatic)%20activation%2C%20using%20the%20best%20copy%20and%20server%20selection%20process%2C%20the%20activation%20preference%20is%20more%20of%20a%20tie-breaker%20rather%20than%20an%20indication%20of%20preference%2C%20as%20it%20is%20used%20when%20more%20than%20one%20copy%20is%20determined%20eligible%26nbsp%3B%20for%20activation.%20The%20whole%20process%20is%20described%20in%20detail%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fdd776123(v%3Dexchg.160).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fdd776123(v%3Dexchg.160).aspx%3C%2FA%3E.%20If%20there%20is%20really%20a%20need%20to%20block%20lagged%20copies%20for%20activation%2C%20blocking%20them%20on%20server%20level%20or%20copy%20level%20is%20a%20possible%20option%3B%20I%20had%20a%20customer%20who%20-%20for%20all%20their%20reasons%20-%20wanted%20dedicated%20servers%20with%20lagged%20copies%2C%20and%20they%20put%20the%20AP%3D5%20and%20AP%3D6%20copies%20on%20those%2C%20and%20blocked%20activation%20on%20the%20server%20level%20.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-185863%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%202016%20DAG%20design%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-185863%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Sven%2C%20run%20this%20command%20against%20any%20database%20copy%20that%20you%20do%20NOT%20want%20to%20automatically%20mount%20in%20a%20fail%20over%20scenario%26nbsp%3BSuspend-MailboxDatabaseCopy%20%E2%80%93identity%20LAGDB%5CServer4%20%E2%80%93ActivationOnly%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20consider%20raising%20the%20activation%20preference%20to%20be%20the%20highest.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Sven Martin
New Contributor
I have an on-prem Exchange 2016 infrastructure consisting of an 8 server DAG stretched over 2 DCs using JBOD (RBOD) and AutoReseed, The DCs are linked by a 10GB data line so actually it is 1 logical (AD) site. Using the Exchange calculator I have deployed 96 DBs. Every DB has 6 copies, 2 of which are lagged (7 days). The first 3 copies of a database reside in 1 DC the last 3 copies in the other DC. The Exchange calculator scripts designated the database copies with activation preference 3 (AP3) and AP6 as being lagged, so each DC has a lagged copy. My question: During maintenance, the active databases (AP1) on a server are failed over to their respective copies with AP2 on another server in the same DC. Suppose a disk failure happens on an activated DB copy with AP2 - or the server has some kind of issue. It will then try to fail over to the copy with AP3 - which is a lagged copy. This is not something I would like to happen. Therefore, what is the best way to prevent this? - Configure AP3 and AP6 with DatabaseCopyAutoActivationPolicy:Blocked? I wonder if this will result in an error or continue and activate AP4. - Change AP3 to AP5 and vice versa? - Any other suggestions? Sven
3 Replies
Highlighted

Hi Sven, run this command against any database copy that you do NOT want to automatically mount in a fail over scenario Suspend-MailboxDatabaseCopy –identity LAGDB\Server4 –ActivationOnly

 

Also consider raising the activation preference to be the highest.

Highlighted
Solution

Lagged copies shouldn't be blocked, as the DAG can them promote them to regular copies should disk space require this (play down) or other circumstances like the lagged copy requiring page patching, or the number of copies falls below 3. This can be controlled using the DAG's ReplayLagManagerEnabled switch. Regarding (automatic) activation, using the best copy and server selection process, the activation preference is more of a tie-breaker rather than an indication of preference, as it is used when more than one copy is determined eligible  for activation. The whole process is described in detail here: https://technet.microsoft.com/en-us/library/dd776123(v=exchg.160).aspx. If there is really a need to block lagged copies for activation, blocking them on server level or copy level is a possible option; I had a customer who - for all their reasons - wanted dedicated servers with lagged copies, and they put the AP=5 and AP=6 copies on those, and blocked activation on the server level .

Highlighted

That article is exactly what I was looking for. It turns out I don't have to change anything. I assumed AP was the only parameter used in the decision, but now I've learned it is not.

Thx!

Sven

Related Conversations