How to Upgrade Exchange 2007 to Exchange 2010 SP2 ------------------------------------------------------------------------------ 1. Active Directory prerequisites and healthcheck --------------------------------------------------- - Schema master (x86 or x64): Windows Server 2003 SP2 Standard or Enterprise, or Windows Server 2008 Standard or Enterprise, or Windows Server 2008 R2 Standard or Enterprise. - Global catalog (x86 or x64): In each AD site where you plan to install Exchange 2010, you must have GC running - Windows Server 2003 SP2 Standard or Enterprise, or Windows Server 2008 Standard or Enterprise, or Windows Server 2008 R2 Standard or Enterprise. - Domain Controller (x86 or x64): In each AD site where you plan to install Exchange 2010, you must have writable DC running - Windows Server 2003 SP2 Standard or Enterprise, or Windows Server 2008 Standard or Enterprise, or Windows Server 2008 R2 Standard or Enterprise. - Active Directory Forest: Forest functional level must be at least Windows Server 2003 forest functional mode netdom query fsmo 2. Active Directory Health Check Commands: ------------------------------------------ Start with updating Support Tools package (if you are using a Windows Server 2003 OS) with Windows Server 2003 Service Pack 2 32-bit Support Tools. You need both files - suptools.msi and support.cab: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=96a35011-fd83-419d-939b-9a772ea2df90&displaylang=en dcdiag /test:DNS /e /v /f:dcdiag.log nslookup gc._msdcs repadmin /syncall /AeP repadmin /replsum /bysrc /bydest /sort:delta If you get errors you can find more details in: repadmin /showrepl * > showrepl.log or in csv formatted option: repadmin /showrepl * /csv > showrepl.csv 3. Exchange 2007 ------------- - 3.1 Exchange 2007 Server(s) must be running SP3 Get-ExchangeServer | select AdminDisplayVersion 3.2 Document IP Addresses/Domains (if present) under SMTP Relay Restrictions - they have to be re-created manually later 3.3 Check Database Size #Mailbox Database size: Get-MailboxDatabase -Server E-2k7 | ForEach {Get-ChildItem $_.EdbFilePath | Format-List Name,Length} #converting the size in MB Get-MailboxDatabase -Server E-2k7 | ForEach {Get-ChildItem $_.EdbFilePath | Format-List Name,{$_.Length/1MB}} #Public Folder database size: Get-PublicFolderDatabase -Server E-2k7 | ForEach {Get-ChildItem $_.EdbFilePath | Format-List Name,Length} #converting the size in MB Get-PublicFolderDatabase -Server E-2k7 | ForEach {Get-ChildItem $_.EdbFilePath | Format-List Name,{$_.Length/1MB}} 3.4 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" 3.5 Run Exchange Pre-Deployment Analyzer: http://www.microsoft.com/en-us/download/details.aspx?id=11636 4. Install required features and software: 4.1 Install .NET Framework 3.5.1 feature 4.2 Install Remote Server Administration Tools for AD DS (add feature at the same time with .NEt Framework) - restart required!!! 4.3 Install Microsoft Office 2010 Filter Pack - the x64 version (FilterPack64bit.exe)!!! http://www.microsoft.com/en-us/download/details.aspx?id=17062 4.4 Install Service Pack 1 for Microsoft Office Filter Pack 2010 (KB2460041) x64 version: http://www.microsoft.com/en-us/download/details.aspx?id=26604 5. Prepare Active Directory Schema Setup /PrepareAD # The "PrepareAD" prepares the local domain too. Only if you have multiple domains, you need: Setup /PrepareDomain #in child domain #or Setup /PrepareAllDomains 5. Run Exchange Pre-Deployment Analyzer: http://www.microsoft.com/en-us/download/details.aspx?id=11636 6. Validating Exchange 2010 installation 6.1 Check ExchangeSetup.log with Get-SetupLog cmdlet cd $exscripts #List errors .\Get-SetupLog –tree:$false –error:$false | Where { $_.status –eq "Error" } | select datetime, depth, description, status #generate HTML report with errors in ExchangeSetupLogs directory .\Get-SetupLog –tree:$false –error:$false | Where { $_.status –eq "Error" } | select datetime, depth, description, status | ConvertTo-HTML | Out-File C:\ExchangeSetupLogs\Errors_Report.htm 7. Rename E10 Mailbox DB. Relocate Exchange Db and Logs to separate disks . 8. Create E10 Public Folder DB. Note: The account which you use for Exchange 2010 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 :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::