Wednesday, October 13, 2010

Moving Exchange 2007 To new hardware

 

 

Moving Exchange 2007 To new hardware

       
  clip_image001[20]   clip_image002[20]

No white papers available for migration

Task Specifications

o Each Exchange role needs to be moved Individually

o Roles on present server Mailbox , hub transport , Client access , UM

o Roles that need to be transferred Mailbox , hub transport , Client access

o domain doesn’t want to use UM on new server

Specific instructions :

o Mailboxes , GAL t o be moved to server

o Clients must be able t o connect to OWA and OL and use all features included.

o Task to be completed in ;Less than 10 hours

Steps Already Completed:

o Installed Exchange 2007 on target server.

Basic Steps

1. Check version of windows server and Exchange .At hand we have windows standard 2003 server x64

To check version go to Run and type WINVER

This is the same information one will get when he goes to properties of my computer .

Output looks like :

clip_image004[24]

2. Check Installed Exchange roles on the server

Open exchange management console and run the following command

Get-exchangeserver | FL name , server role

A simple value add here :

The | fl refers to format list and similarly |fl refers to format list

By specifying name , server role we can ask powershell to only give us only this \\\\\\information

Try typing only Get-exchangeserver | FL and you will wonder there is so much \\\\\\information related to ur mailbox.

image

This also shows the roles installed on the target server .

 

3. Backups are a must right before starting the migration.

Moving Client Access Role To Target server

According to Microsoft Technet

“The migration process for Client Access servers is primarily a manual process because ///////you cannot programmatically migrate configuration settings from one Client Access \\\\\\\server to another.”

The client access server stores the configuration in the following

a) Active Directory à to store configuration information related to the Availability service, Exchange ActiveSync, and Outlook Web Access virtual directories.

b) The Internet Information Services (IIS) metabase.xmlà information for Exchange ActiveSync, and for Autodiscover, and Exchange Web Services.

c) Web.config & applicationhost.config files and the Windows registry à used to store configuration data related to Outlook Web Access, IMAP, POP3, the Availability service, Exchange ActiveSync, and information that is used by Exchange Setup.

 

4. Confirmed that no custom configurations have been made.

Microsoft Suggests

“ExportCASConfig.ps1 can be used to export virtual directory information for Outlook Web Access, Exchange ActiveSync, Unified Messaging, Web services, offline address books, POP3, and IMAP4 . “

o Reference à http://msexchangeteam.com/archive/2007/11/14/447534.aspx

Ever wanted to export your CAS role settings?

o Download location à http://msexchangeteam.com/files/12/attachments/entry447497.aspx

 

5. Ran the Script ExportCASConfig.ps1 on source server .

Saved file to c:\ . Analyzed the file and found that no modifications or customizations have been made. Ran the script on Target server and compared to last one. Same settings on both servers.

Two XML files can also be compared using Microsoft WinDiff (Windiff.exe), which is included with both Windows Server 2003 and Windows Server 2008 .

Made copies of Web.config files for OWA .

Moving the HUB transport role to target server

As Hub transport server was already installed on target server , noted down the settings on source server for Exchange connectors (Send and receive ).

Following are the screen shots of the Properties of the Exchange connectors :

All Tabs for Default internet connector name default EXCHBACKUPS

o Properties of the Receive connector

Exchange Management console à Server Configuration à Hub Transport à Receive Connector

image

image

image

image

o Properties of the send connector

Exchange Management Console à Organization Configuration à Hub Transport à Send connector Tab

clip_image016[21]

clip_image018[21]

clip_image020[21]

image

o Screen Shot for Accepted domain

Exchange Management console à Organization Configuration à Hub Transportà accepted domain

image

image Ensured that we have same settings on Target server .

Moving Mailbox server role to new server

1. Moving The Offline Address Book generation to Target server

Followed the same Steps as recommended by Microsoft

To use the Exchange Management Console to move the OAB generation process to another server

  1. Start the Exchange Management Console.
  2. In the console tree, expand Organization Configuration, and then click Mailbox.
  3. In the result pane, click the Offline Address Book tab, and then select the OAB for which you want to move the generation to a new server.
  4. In the action pane, click Move. The Move Offline Address Book wizard appears.
  5. On the Move Offline Address Book page, click Browse to open the Select Mailbox Server dialog box.
  6. Select the server to which you want to move the OAB generation process, and then click OK.
  7. Click Move to move the OAB generation process to the new server.
  8. View the status of the move operation. The wizard will move the generation of your OAB to the new server and copy the existing files for the OAB to the new server.
  9. On the Completion page, confirm whether the OAB generation process was moved successfully. A status of Completed indicates that the wizard completed the task successfully. A status of Failed indicates that the task was not completed. If the task fails, review the summary for an explanation, and then click Back to make any configuration changes.
  10. Click Finish to complete the Move Offline Address Book wizard.

Refer à http://technet.microsoft.com/en-us/library/bb123917(EXCHG.80).aspx

A Screen shot of the process

image 

2.Moving the Public folders to new server

Before Moving any data disabled the Network scalability pack by disabling Receive side scaling & Offloading features on network cards as this will assist Data movement over the network .

Refer à http://support.microsoft.com/kb/948496

http://support.microsoft.com/kb/951037

Added Target server as Public folder replica for source server and vice versa

image

Ran the following Command to move the Public folders

.\MoveAllReplicas.ps1 -Server TESTBACKUP -NewServer TEST-EXCH

Saw that we have the replication working by

1. Running get-Publicfolderstatistics in exchange Powershell

2. Opened Queue viewer from Toolbox in exchange management console. we can see the Public folders moving from source to target

3.Moving mailboxes to source serve

o Created new database location on target server

o D:\exchange database

o Changed location for log files to d:\exchange database \logs

o Used move storage group task to move the log files

clip_image032[21]

o All files moved successfully to new location

o Used the Move Mailbox task option from Exchange management console

image

o o Moved all mailboxes successfully

o All data including user data and log files have been moved to Target server

o verified that all mailboxes connect to user

o verified all settings for CAS server role

o Under Server Configuration --> client access --> checked the configuration for all tabs

Missing Information --> URL'S for OWA not there

o added the URL's

o External URL for Active sync missing

o added that

o Checked OWA , able to login but cannot send and receive emails

o Internal email works fine

o Firewall may still be pointing to Old server , After making the changes the email flow works fine .

Conclusion –>

All roles and data migrated to target server .Exchange will be uninstalled from the source server in future .

1 comment:

  1. Hi, how may obtaing ExportCASConfig.ps1 script? because o cant found it.

    ReplyDelete