Monday, September 15, 2014

Transition from Exchange Server 2003 to Exchange Server 2010

Transition from Exchange Server 2003 to Exchange Server 2010 – Part 1
=========================================================


Current Environment

Single Windows Server 2003 DC
Single Exchange Server 2003 (Member Server)
Single Windows Server 2008 R1 (Member Server 64 Bit)
Preparing the Environment for Exchange Server 2010 Deployment
To begin with we will first prepare the member server. Install all prerequisites as listed here.
Note : Please install the prerequisites based on the operating system listed in the Technet Article.
Preparing the Existing Exchange Environment and Active Directory
Login to Exchange Server 2003 and Confirm that the server is running with Latest Service Packs. Recommended is Service Pack 2. To do that Open ESM and Go to Administrative Groups >> Servers >> Select the Server and go to Properties.
image
Figure 1 : Service Pack 2
Exchange Organization should be in Native Mode. To confirm that on ESM right click on Exchange Org and go to properties.
image
Figure 2 : Operation Mode
Please note: Changing operation mode is a one way process. The changes cannot be reverted back under any circumstances. Please understand the business requirement before proceeding further.
=======================================================
Post confirming Exchange now its time to confirm Active Directory Functional Levels.
Login to Domain Controller and Open Active Directory Domains and Trust. Confirm Forest and Domain functional Level. Both should be Windows Server 2003 Functional Level.
image
Figure 3 : Domain Functional Level
image
Figure 4 : Forest Functional Level
Please Note : Changing both Forest and Domain Functional Level is a one way process. Please understand the business requirement thoroughly before proceeding further. The changes cannot be reverted back under any circumstances.
Now that we have our exchange and ADS ready to accept Exchange Server 2010. In part 2 will start preparing the forest and installation.



========================================================================



Transition from Exchange Server 2003 to Exchange Server 2010 – Part 2

In part 2 we will start with preparing the forest and then Installing Exchange Server 2010.
Since this is a mixed mode environment we have to run below commands.
image
Figure 1 : setup /pl
In figure 1 we are running the command from D drive. Ensure that you run the command from the drive where it holds the Exchange setup and other binary files.
image
Figure 2 : Setup /pl completed
Once it is completed. Run the below command to extend the forest schema.
image
Figure 3 : Setup /ps
image
Figure 4 : Setup /ps completed
Now Prepare AD
image
Figure 5 : Setup /p
image
Figure 6 : Setup /p completed
Post completion open Exchange System Manager and you will see the Exchange Administrative Group.
image
Figure 7 : Exchange Administrative Group
Now its time to install the core Exchange Server 2010 SP3 on Windows Server 2008 R2 SP1 64 Bit member server.
Navigate to the drive folder which holds Exchange Setup files. Double click on Setup.exe.
There are certain steps which is easy to follow so I have skipped them.
image
Figure 8 : Installation type
In figure 8 we will select typical
image
Figure 9 : Client Access server External Domain
In figure 9 you will enter the name for external client access. Example mail.xyz123.com
image
Figure 10 : Bridgehead Server
image
Figure 11 : CEIP
image
Figure 12 : Readiness Check Completed
image
Figure 13 : Setup Finished
image
Figure 14 : Exchange System Manager
In figure 14 we can see there are RG Connectors created automatically by the Setup. This connector is required for internal mail flow between Exchange Server 2003 and 2010. Also to replicate PF from 2003 to 2010.
Post installation just confirm the database path and log files path. By default they will be on the drive where setup was installed.
Create few test mailboxes and confirm mail flow is working to and fro.
In part 3 we will moving public folders and mailboxes. Post which we will be uninstalling Exchange Server 2003.


======================================================================


Transition from Exchange Server 2003 to Exchange Server 2010 – Part 3

Final part includes Moving mailboxes and Public folders and then decommissioning the last Exchange Server 2003 from the ORG.
Before replicating Public Folders please perform a complete database backup. Both online and offline copy.
Important : Never perform MoveAllReplicas operation. Although the option is available but it may turn to a catastrophe and you may end up losing data.
Go slow by adding replicas on each folders manually or you can follow the built in script available in Exchange Server 2010.
Run the below command to get the basic information. You have to run the command from Exchange Server 2010 Powershell window.
image
Figure 1 : Confirming PF replicas
To add the Public folder relicas follow the below commands.
image
Figure 2 : Setting the location
In figure 2 we have set the location for script folder, since it holds all the built in script.
Now run the below commands.
First to add the replicas on each folders.
  • AddReplicatoPFRecursive.ps1 –TopPublicFolder “\FolderName” -ServerToAdd NewServerName
Second confirm by running the below command.
  • Get-Publicfolder –recurse | fl name,replicas
Third Confirm if all folders are in sync. Post which remove replicas by running the following command.
  • RemoveReplicaFromPFRecursive.ps1 –TopPubicFolder “\FolderName” –Server toRemove servername
Or use this command to move replica

CD "C:\Program Files\Microsoft\Exchange Server\V14\Scripts\"
.\MoveAllReplicas.ps1 -Server "EX-2003.petenetlive.com" -NewServer "EX-2010.petenetlive.com"

Now again confirm the PF replica status.
image
Figure 3 : Replica status
Confirm with test mailbox if all is accessible including FB data.
Post confirmation delete the PF store in Exchange Server 2003. Login to ESM and right click PF database and select Delete.
imageF
Figure 4 : Deleting the PF Store
image
Figure 5 : Selecting the new PF Store.
In Figure 5 we are associating the PF store with the PF hierarchy.
image
Figure 6 : Click Yes
image
Figure 7 : Removal Succeeded
image
Figure 8 : PF Database not visible in ESM
Now that PF is replicated and PF database is removed completed. Its time to move the mailboxes.
Login to Exchange Server 2010 and open EMC. Navigate to Mailbox under Recipient Configuration.
image
Figure 9 : Move Mailbox
image
Figure 10 : Options
image
Figure 11 : Completion
Now Move OAB. To do that Navigate to Organization Configuration and select Mailbox > In the right hand pane select “Offline Address Book” tab.
image
Figure 12 : OAB
Right click the default OAB and select move.
image
Figure 13 : Move
In figure 13 select Browse
image
Figure 14 : Select Mailbox Server
image
Figure 15 : Move Completed
image
Figure 16 : Finish
Enable distribution mechanism. In 2010 we can have both PF and Web based.
image
Figure 16 : Changing the distribution.
Now its time to create connectors for sending and receiving emails from Internet.
Go to Organization Configuration and Select Hub Transport. In the right pane Select Send Connectors Tab
image
Figure 17 : Default Send Connectors
Click on New Send Connector on the Actions Pane.
image
Figure 18 : New Send Connector Wizard
image
Figure 19 : Address Space
image
Figure 20 : Network Settings
image
Figure 21 : Source Server
image
Figure 22 : Completion
Now its time to configure Default Receive Connector
Go to Server Configuration and Select Hub Transport
image
Figure 23 : Default Receive Connector Properties.
Under permission groups. Select as shown above.
Post which now its time to Decommission Exchange Server 2003. Before removing the server there are certain checks needs to be performed.
  • Delete the RGC from Exchange Server 2010 Shell by running “Get-RoutingGroupConnector | Remove-RoutingGroupConnector”
  • Delete both Domain Rus and Enterprise Rus. This can be done from ADSIEDIT.
image
Figure 24 : Delete Domain RUS and Enterprise RUS
Now we are at the final stage of Removing Exchange Server 2003.
Login to Exchange Server 2003 and Go to Control Panel. Add remove programs.
Select Microsoft Exchange.
image
Figure 25 : Wizard will open
image
Figure 26 : Component Selection
image
Figure 27 : Remove
image
Figure 28 : Summary
image
Figure 29 : Locate the Setup Disk or Setup file (mandatory)
image
Figure 30 : Successful
Transition Completed
===================================================================


Original Link to the article in MS exchange Team
http://msexchangeteam.in/transition-from-exchange-server-2003-to-exchange-server-2010-part-3/