How to Upgrade from Exchange 2007 to Exchange 2013 --------------------------------------------------- 1. Active Directory prerequisites ---------------------------------- • Domain Controller: In each AD site where you plan to install Exchange 2013, you must have a writable DC running at least Windows Server 2003 SP2 or later. • Global catalog: In each AD site where you plan to install Exchange 2013, you must have GC running at least Windows Server 2003 SP2 or later. • Schema master: Windows Server 2003 SP2 or later. • Active Directory Forest: Forest functional level must be Windows Server 2003 or higher. 2. Active Directory Health Check Commands: ------------------------------------------ #Check FSMO roles distribution: netdom query fsmo #Run DCDiag DNS test - separately, in verbose mode: dcdiag /test:DNS /v /e /f:dcdiag-DNS.log #(Optional) Run DNSLINT utility with /ad for AD replication tests: #Available at http://support.microsoft.com/kb/321045 #Note: Replace the IP with actual DC IP address dnslint /ad /s 192.168.1.10 /v #Run DCDIAG without DNS test(we add the debug switch /d for more details): dcdiag /v /d /skip:DNS /f:dcdiag.log 2 Exchange Prerequsistes: ----------------------- 2.1 Check Exchange 2007 version - Update Rollup 10 for Exchange 2007 SP3 or later is required on all Exchange 2007 servers in the organization, including Edge Transport servers NOTE: AdminDisplayVersion, ExchangeVersion, or the registry key HKLM\SOFTWARE\Microsoft\v8.0\\ConfiguredVersion do not reflect version/rollup number - you need to check the ExSetup.exe file version number GCM exsetup |%{$_.Fileversioninfo}  Exchange 2007 SP3  8.3.083.6  6/20/2010  Update Rollup 1  8.3.106.2  9/9/2010  Update Rollup 2  8.3.137.3  12/10/2010  Update Rollup 3  8.3.159.0  3/2/2011  Update Rollup 3-v2  8.3.159.2  3/30/2011  Update Rollup 4  8.3.192.1  7/7/2011  Update Rollup 5  8.3.213.1  9/21/2011  Update Rollup 6  8.3.245.2  1/25/2012  Update Rollup 7  8.3.264.0  4/16/2012  Update Rollup 8  8.3.279.3  8/13/2012  Update Rollup 8-v2  8.3.279.5  10/9/2012  Update Rollup 8-v3  8.3.279.6  11/13/2012  Update Rollup 9  8.3.297.2  12/10/2012  Update Rollup 10  8.3.298.3  2/11/2013  Update Rollup 11  8.3.327.1  8/13/2013 2.2 Update clients. Supported versions are: NOTE: These are min supported versions. Don't forget to install the latest Office SP/CU on the clients and avoid client connectivity issues after moving Mailboxes and Public Folders Outlook 2007 SP3 (12.0.6665.5000) Outlook 2010 SP1 (14.0.6126.5000) Outlook 2013 (15.0.4420.1017) Entourage 2008 for Mac, Web Services Edition Outlook for Mac 2011 2.3 Check and document custom receive connectors 2.4 Check and export transport rules (on E2k7) Export-TransportRuleCollection -FileName ExportedRules.xml 2.5 Make sure a default OAB is assigned to MBX DB 2.6 Check Database Size #Mailbox Database size: Get-MailboxDatabase -Server Ex-2k7 | ForEach {Get-ChildItem $_.EdbFilePath | Format-List Name,Length} #converting the size in MB Get-MailboxDatabase -Server Ex-2k7 | ForEach {Get-ChildItem $_.EdbFilePath | Format-List Name,{$_.Length/1MB}} #Public Folder database size: Get-PublicFolderDatabase -Server Ex-2k7 | ForEach {Get-ChildItem $_.EdbFilePath | Format-List Name,Length} #converting the size in MB Get-PublicFolderDatabase -Server Ex-2k7 | ForEach {Get-ChildItem $_.EdbFilePath | Format-List Name,{$_.Length/1MB}} 2.7 Check the size of individual mailboxes: Get-Mailbox | Get-MailboxStatistics | select-object DisplayName, {$_.TotalItemSize.Value.ToMB()} #Exporting the list of Mailboxes and their size to CSV Get-Mailbox | Get-MailboxStatistics | select-object DisplayName, {$_.TotalItemSize.Value.ToMB()} | export-csv -path "MBX-stats.csv" 2.8 Run Exchange Best Practices Analyzer 3. Prepare Active Directory and domains --------------------------------------- 3.1 Install RSAT-ADDS on the E-13 member server (Exchange 2013 prep. machine) ----------------------------------------------------------------------------- # Note: AD preparation will be performed on this machine, not on Schema Master DC Install-WindowsFeature RSAT-ADDS 3.2 Prepare the Schema: ----------------------- setup /IacceptExchangeServerLicenseTerms /PrepareSchema 3.3 Check the Schema Version (ms-Exch-Schema-Verision-Pt): ---------------------------------------------------------- #Exch.2013 RTM-15137 #Exch.2013 CU1-15254 #Exch.2013 CU2-15281 #Note: Replace "Your_Domain" and "Your_Domain_Suffix" with the relevant data repadmin /showattr * "CN=ms-Exch-Schema-Version-Pt,cn=schema,cn=configuration,dc=Your_Domain,dc=Your_Domain_Suffix" /atts:rangeUpper 3.4 Prepare Exchange Org and Root Domain: --------------------------------------------------- #Note: In a single-domain forest, this command will prepare the domain too setup /IacceptExchangeServerLicenseTerms /PrepareAD 3.5 ONLY!!! in a multi-domain forest - prepare the rest of the domains: ----------------------------------------------------------------------- (which will contain Exchange servers or users) setup /IacceptExchangeServerLicenseTerms /PrepareDomain #or you can prepare all domains simultaneously (must be Enterprise Admin): setup /IacceptExchangeServerLicenseTerms /PrepareAllDomains 3.3 Check the msExchProductId value for the created Exchange organization object -------------------------------------------------------------------------------- #Exch.2013 RTM - 15.00.0516.032 #Exch.2013 CU1 - 15.00.0620.029 #Exch.2013 CU2 - 15.00.0712.022 (this release contains PF perm. bug. STOP, and download a later release or CU. Then repeat the AD preparation process) #Exch.2013 CU2v2 - 15.00.0712.024 (version 2 of Exchange 2013 CU2) #Note: Replace "Your_Org", "Your_Domain" and "Your_Domain_Suffix" with the relevant data repadmin /showattr * "CN=Your_Org,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Your_Domain,DC=Your_Domain_Suffix" /atts:msExchProductId 4. Prepare the Exchange 2013 server: ------------------------------------ 4.1 Install required Windows components for MBX+CAS roles on Server 2012: ------------------------------------------------------------------------- # http://technet.microsoft.com/en-us/library/bb691354(v=exchg.150).aspx#WS2012MBX Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation 4.2 Install Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit: ---------------------------------------------------------------------------------- # http://www.microsoft.com/en-us/download/details.aspx?id=34992 4.3 Install Microsoft Office 2010 Filter Pack 64 bit: # http://www.microsoft.com/en-us/download/details.aspx?id=17062 4.4 Install Microsoft Office 2010 Filter Pack SP1 64 bit: # http://www.microsoft.com/en-us/download/details.aspx?id=26604 #NOTE: Restart Exchange 2013 server after installing required components and packages 4.5 Install Exchange 2013 5. Validate installation ------------------------- 5.1 Check status of Exchange 2013 and related services Get-ExchangeServer | FL Name,ServerRole,AdminDisplayVersion Test-ServiceHealth | FL Role,RequiredServicesRunning 5.2 Check the events generated by MSExchangeSetup 5.3 Create a mailbox on Exchange 2013 and check mailflow between Exchange 2007 and Exchange 2013 servers Note: • The account which you use for Exchange 2013 Setup wizard must be a member of Schema Admins Domain Admins and Enterprise Admins (to be able to prepare AD and the domain) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: http://www.netometer.com :: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::