Home

How to shutdown all server exchange in site DC that not effect DAG

%3CLINGO-SUB%20id%3D%22lingo-sub-525622%22%20slang%3D%22en-US%22%3EHow%20to%20shutdown%20all%20server%20exchange%20in%20site%20DC%20that%20not%20effect%20DAG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-525622%22%20slang%3D%22en-US%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3Bwe%20are%20planning%20for%20shutdown%20all%20server%20in%20DC%26nbsp%3B%2001%20to%20maintain%20electronic%20.%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20Current%20environment%20exchange%20server%20have%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20-%20Active%20directory%20%3A%20only%20one%20site%20in%20both%20DC%2001%20and%20DC%2002%20(can%20call%20DR)%20and%20both%20site%20has%20active%20directory%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20-%206%20server%20mailbox%20(CAS%2BMBX)%20in%20DC%20and%203%20server%26nbsp%3Bmailbox%20(CAS%2BMBX)%20in%20DR%20.%20all%20physical%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20-%20all%20mailbox%20database%20has%201%20copy%20in%203%20server%20in%20DR%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20-%20all%20server%20mailbox%20the%20same%20subnet%20in%20both%20site%20and%20the%20same%20site%20on%20active%20directory%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20-%20one%20CAS%20server%20(for%20ECP%20admin)%20is%20VM%20current%20in%20DC%20and%20can%20migrate%20to%20DR%20manual%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3Bplease%20help%20me%20the%20procedure%20how%20can%20shutdown%20all%206%20server%20that%20DAG%20can%20normal%20and%20all%20database%20mount%20in%20DR%3C%2FP%3E%3CP%3EBest%20Regards%2C%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-525622%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-527131%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20shutdown%20all%20server%20exchange%20in%20site%20DC%20that%20not%20effect%20DAG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-527131%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F234118%22%20target%3D%22_blank%22%3E%40Tien%20Ngo%20Thanh%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20best%20practice%20is%20that%20you%20have%202%20Active%20Directory%20Sites%20and%20in%20each%20AD%20Site%20you%20need%20to%20have%20at%20least%20a%20Global%20Catalog.%20If%20you%20have%20that%20you%20can%20shutdown%20on%20Datacenter%20and%20you%20you%20have%20Exchange%20with%20replica%20in%20place%20it%20will%20move%20that.%20You%20can%20also%20see%20the%20DAC%20mode%20on%20Exchange%20to%20see%20if%20is%20correct%20configuration%20within%20this%20scenario.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20you%20startup%20an%20Exchange%20environment%20you%20will%20need%20at%20least%20on%20Global%20Catalog%20up%20in%20the%20AD%20site%20that%20the%20exchange%20nodes%20resides.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-527263%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20shutdown%20all%20server%20exchange%20in%20site%20DC%20that%20not%20effect%20DAG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-527263%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3Ball%20active%20directory%20has%20global%20catalog%20enable%20.but%20current%20five%20role%20FSMO%20in%20DC%20%2C%20when%20shutdown%20i%20think%20i%20will%20change%20all%20FSMO%20to%20DR%20site%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BDAG%20configure%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BDatacenterActivationMode%20%3A%20DagOnly%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3BAllowCrossSiteRpcClientAccess%20%3A%20False%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BWitnessServer%20%3A%20cas01.test.com%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BWitnessDirectory%20%3A%20E%3A%5CDagWitnessDirectory%3C%2FP%3E%3CP%3EBest%20Regards%2C%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-528002%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20shutdown%20all%20server%20exchange%20in%20site%20DC%20that%20not%20effect%20DAG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-528002%22%20slang%3D%22en-US%22%3E%3CP%3Ehello%20tien.%20what%20version%20of%20exchange%20are%20you%20running%3F%20from%20what%20it%20sounds%20like%2C%20you%20will%20want%20to%20run%20something%20like%20stop-databaseavailabilitygroup%20DAG01%20-activedirectorysite%20%22DC01%22%2C%20which%20will%20put%20the%20DC01%20site%20servers%20in%20the%20stopped%20servers%20list%20when%20you%20run%20%22get-databaseavailabilitygroup%20DAG01%22.%20Then%20you%20run%20a%20restore-databaseavailabilitygroup%20DAG01%20to%20reform%20the%20DAG%20with%20only%20the%20DC02%20site%20servers%20in%20the%20dag.%20for%20more%20information%2C%20search%20for%20%22exchange%20datacenter%20switchover%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-528044%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20shutdown%20all%20server%20exchange%20in%20site%20DC%20that%20not%20effect%20DAG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-528044%22%20slang%3D%22en-US%22%3E%3CP%3ECurrent%20active%20directory%20is%20windows%202012%20r2%20and%20exchange%20is%202013%20CU20%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-528045%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20shutdown%20all%20server%20exchange%20in%20site%20DC%20that%20not%20effect%20DAG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-528045%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F234118%22%20target%3D%22_blank%22%3E%40Tien%20Ngo%20Thanh%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAbout%20DAC%2C%20please%20read%20this%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhigh-availability%2Fdatabase-availability-groups%2Fdac-mode%3Fview%3Dexchserver-2019%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhigh-availability%2Fdatabase-availability-groups%2Fdac-mode%3Fview%3Dexchserver-2019%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAllowCrossSiteRpcClientAccess%2C%20must%20be%20enabled.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAbout%20Witness%20you%20must%20have%20one%20per%20datacenter.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBest%20Regards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-528147%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20shutdown%20all%20server%20exchange%20in%20site%20DC%20that%20not%20effect%20DAG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-528147%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F50%22%20target%3D%22_blank%22%3E%40Nuno%20Silva%3C%2FA%3E%26nbsp%3B%3A%20with%20current%20exchange%20DAG%20both%20site%20the%20same%20subnet%20and%20the%20same%20site%20in%20Active%20Directory%20then%20should%20enable%26nbsp%3B%3CSPAN%3EAllowCrossSiteRpcClientAccess%26nbsp%3B%20%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eabout%20Witness%26nbsp%3B%20so%20i%20must%20install%20one%20more%20cas%20in%20DR%20and%20set%20alterwitness%20to%20CAS%20in%20DR%20%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eactual%20all%20server%20exchange%20the%20same%20site%20only%20difference%20about%20physical%20location%20because%20the%20same%20subnet%20.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-528205%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20shutdown%20all%20server%20exchange%20in%20site%20DC%20that%20not%20effect%20DAG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-528205%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F234118%22%20target%3D%22_blank%22%3E%40Tien%20Ngo%20Thanh%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20my%20first%20post%2C%20the%20best%20practice%20is%20to%20have%20separate%20AD%20sites%20and%20IP%20Addresses%20and%20have%20Global%20Catalogs%20on%20each%20site%20and%20have%20one%20mote%20Witness%20on%20DR.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%20regards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-532045%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20shutdown%20all%20server%20exchange%20in%20site%20DC%20that%20not%20effect%20DAG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-532045%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F50%22%20target%3D%22_blank%22%3E%40Nuno%20Silva%3C%2FA%3E%26nbsp%3B%3A%20but%20current%20my%20exchange%20in%20tow%20data%20center%20use%20the%20same%20subnet%20%2C%20and%20another%20server%20(not%20exchnage%20also%20use%20the%20same%20subnet%20as%20sharepoint...)%20should%20we%20can%20not%26nbsp%3B%26nbsp%3B%3CSPAN%3Eseparate%20AD%20sites%26nbsp%3B%20%2C%20and%20backbone%20between%20two%20high%20bandwidth%20.%20please%20recommend%20help%20me%20%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EMy%20DAG%20in%20DAC%20Mode%20enable%20and%20DAG%20the%20same%20subnet%20%2C%20the%20same%20site%20%2C%20only%20difference%20location%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-536582%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20shutdown%20all%20server%20exchange%20in%20site%20DC%20that%20not%20effect%20DAG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-536582%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F234118%22%20target%3D%22_blank%22%3E%40Tien%20Ngo%20Thanh%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20short%2C%20you%20need%20to%20remove%20all%20the%20dependencies%20before%20shutting%20down%20servers.%3C%2FP%3E%3CP%3E-%20Removing%20HA%20(DAG)%2C%20move%20all%20mailboxes%20to%20server%20that%20will%20be%20active%3C%2FP%3E%3CP%3E-%20Move%20all%20Frontend%20settings%20to%20server%20that%20will%20be%20active%3C%2FP%3E%3CP%3E-%20Make%20sure%20those%20servers%20are%20not%20meant%20to%20send%20out%20emails%20in%20sender%20connector%3C%2FP%3E%3CP%3E-%20No%20DNS%20records%20present%20for%20those%20servers%2C%20like%20webmail%2C%20mail%2C%20autodiscover.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EAkshay%3C%2FP%3E%3CP%3EExchange%20Admin%20-%20Apps4Rent%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-544338%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20shutdown%20all%20server%20exchange%20in%20site%20DC%20that%20not%20effect%20DAG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-544338%22%20slang%3D%22en-US%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20I%20just%20list%20some%20document%20and%20i%20think%20do%20that%20these%20step%20below%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20the%20first%20time%20remove%20member%20server%20in%20F5%20load%20balancing%20after%20that%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B1.%26nbsp%3BCheck%3C%2FP%3E%3CP%3EGet-MailboxDatabaseCopyStatus%20-Server%20MBXV01%3C%2FP%3E%3CP%3E2.%20Active%20All%20Database%20to%20site%20dr%3C%2FP%3E%3CP%3E3.%20Run%20Get-ClusterGroup%20%26nbsp%3Band%20%26nbsp%3B%26nbsp%3BMove-ClusterGroup%20%E2%80%93cluster%20DAG%20%E2%80%93name%20%E2%80%9CCluster%20Group%E2%80%9D%20%E2%80%93node%20MBXServerDR%3C%2FP%3E%3CP%3E4.%20After%20that%20you%20could%20run%20to%20check%3C%2FP%3E%3CP%3EGet-DatabaseAvailabilityGroup%20-Status%20-Identity%20DAG%20%7C%20fl%20name%2CprimaryActiveManager%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B5.%20Then%2C%20run%20Stop-DatabaseAvailabilityGroup%20-Identity%20DAG%20-MailboxServe%20MBX01%20(for%20all%20mailbox%20in%20DC)%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%206.%20Power%20off%20each%20of%20Exchange%20server%20in%20DC%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20Thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E
Tien Ngo Thanh
Regular Contributor

Hello

     we are planning for shutdown all server in DC  01 to maintain electronic .

      Current environment exchange server have

      - Active directory : only one site in both DC 01 and DC 02 (can call DR) and both site has active directory

      - 6 server mailbox (CAS+MBX) in DC and 3 server mailbox (CAS+MBX) in DR . all physical

      - all mailbox database has 1 copy in 3 server in DR

      - all server mailbox the same subnet in both site and the same site on active directory

      - one CAS server (for ECP admin) is VM current in DC and can migrate to DR manual 

       please help me the procedure how can shutdown all 6 server that DAG can normal and all database mount in DR

Best Regards,

Thanks

10 Replies

Hi @Tien Ngo Thanh,

 

The best practice is that you have 2 Active Directory Sites and in each AD Site you need to have at least a Global Catalog. If you have that you can shutdown on Datacenter and you you have Exchange with replica in place it will move that. You can also see the DAC mode on Exchange to see if is correct configuration within this scenario.

 

When you startup an Exchange environment you will need at least on Global Catalog up in the AD site that the exchange nodes resides.

Hi

     all active directory has global catalog enable .but current five role FSMO in DC , when shutdown i think i will change all FSMO to DR site

     DAG configure

     DatacenterActivationMode : DagOnly

      AllowCrossSiteRpcClientAccess : False

     WitnessServer : cas01.test.com

     WitnessDirectory : E:\DagWitnessDirectory

Best Regards,

Thanks

hello tien. what version of exchange are you running? from what it sounds like, you will want to run something like stop-databaseavailabilitygroup DAG01 -activedirectorysite "DC01", which will put the DC01 site servers in the stopped servers list when you run "get-databaseavailabilitygroup DAG01". Then you run a restore-databaseavailabilitygroup DAG01 to reform the DAG with only the DC02 site servers in the dag. for more information, search for "exchange datacenter switchover"

Current active directory is windows 2012 r2 and exchange is 2013 CU20

 

Hi @Tien Ngo Thanh,

 

About DAC, please read this https://docs.microsoft.com/en-us/exchange/high-availability/database-availability-groups/dac-mode?vi...

 

AllowCrossSiteRpcClientAccess, must be enabled.

 

About Witness you must have one per datacenter.

 

Best Regards,

 

 

 

@Nuno Silva : with current exchange DAG both site the same subnet and the same site in Active Directory then should enable AllowCrossSiteRpcClientAccess  ?

about Witness  so i must install one more cas in DR and set alterwitness to CAS in DR ?

actual all server exchange the same site only difference about physical location because the same subnet .

Hi @Tien Ngo Thanh,

 

As my first post, the best practice is to have separate AD sites and IP Addresses and have Global Catalogs on each site and have one mote Witness on DR.

 

Best regards

@Nuno Silva : but current my exchange in tow data center use the same subnet , and another server (not exchnage also use the same subnet as sharepoint...) should we can not  separate AD sites  , and backbone between two high bandwidth . please recommend help me ?

My DAG in DAC Mode enable and DAG the same subnet , the same site , only difference location

@Tien Ngo Thanh 

 

In short, you need to remove all the dependencies before shutting down servers.

- Removing HA (DAG), move all mailboxes to server that will be active

- Move all Frontend settings to server that will be active

- Make sure those servers are not meant to send out emails in sender connector

- No DNS records present for those servers, like webmail, mail, autodiscover.

 

Regards,

Akshay

Exchange Admin - Apps4Rent

Hello

    I just list some document and i think do that these step below

    the first time remove member server in F5 load balancing after that

       1. Check

Get-MailboxDatabaseCopyStatus -Server MBXV01

2. Active All Database to site dr

3. Run Get-ClusterGroup  and   Move-ClusterGroup –cluster DAG –name “Cluster Group” –node MBXServerDR

4. After that you could run to check

Get-DatabaseAvailabilityGroup -Status -Identity DAG | fl name,primaryActiveManager

         5. Then, run Stop-DatabaseAvailabilityGroup -Identity DAG -MailboxServe MBX01 (for all mailbox in DC)

         

          6. Power off each of Exchange server in DC 

        Thanks

Related Conversations
Windows Server 1809
Scott165 in Windows Server Insiders on
2 Replies
Outlook (365) Need Password - Issue
Muhammad Ali Khan in Office 365 on
20 Replies
Accessing a shared mailbox from a mobile device
Hexsysadmins in Office 365 on
14 Replies