RSS

How to Move Exchange Server 2007 to New Hardware and Keep the Same Server Name

15 Dec

Moving Exchange Server 2003 to a new box without changing the name is already described in a Microsoft White Paper published on TechNet. Because in Exchange Server 2007 many things changed the procedures to move to a new hardware have also changed.

Backup:

  1. Backup the mailbox database.edb and pubic database.edb as well as mail.que files. It is highly recommended to have a full backup of these files to prevent any future complications.
  2. Power down the current Exchange server

Backing up Exchange Server 2007 depends on what server role is being backed up. Below is a list of role specific data that needs to be protected before moving ahead. Procedure documented here applies to a single server installed all the server roles.

Configure New Hardware:

  1. Use ADUC console to reset the Exchange Sever machine account.
  2. If you already have a Windows Server box to box to be brought on the network, join it into the network, change its name to your Exchange Server 2007 existing computer name and join into the domain.
  3. Configure IP Address for the new machine so that it uses a static IP that matches the IP in the DNS host record for the old server.
  4. Run Exchange setup. Using Start -> Run specify the path to Exchange Server 2007 Setup launcher, add the /recoverserver and /donotrestart switches. The complete command should look like the following:

Drive:\Setup /m:recoverserver /donotrestart

Once setup completes.

Move:

  1. Move the mail.que database back into the queue folder (this folder should be empty): c:\program files\Microsoft\Exchange Server\TransportRoles\data\queue
  2. Move the mailbox database into the production folder (this folder should also be empty): c:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group
  3. Move the Public database into the production folder (this folder should also be empty): c:\Program Files\Microsoft\Exchange Server\Mailbox\Second Storage Group
  4. Open the Exchange Management Console – obtain properties of the two stores and select the option that “This database can be overwritten by a restore”.
  5. Start all Exchange services.

Verify:

  1. Verify Send Connector configuration – you should have a * domain listed with a type = SMTP in order to send mail outbound.
  2. Verify Receive Connector configuration – In order to receive mail the connector needs to accept anonymous connections.
  3. If external SMTP domain is different than the internal domain you need to Verify the External SMTP Domain is added to the Accepted Domains list.

OPTIONAL:

Enable the Anti-Spam Agents for the Hub Transport role. To do so:

  1. Open Exchange Management shell and navigate to the scripts directory: c:\program files\Microsoft\Exchange Server\Scripts. Issue following command: .\install-AntispamAgents.ps1
  2. Restart the Exchange Transport Service (MSExchangeTransport).
  3. In Exchange Management console verify that the SPAM Agents are enabled on the Anti-Spam tab. This will be Organization Configuration – Hub Transport – Anti-Spam.
  4. Verify internal and external mail flow.

External Links:

If you have different server roles installed on different hardware following should be a good read;

Advertisements
 
Leave a comment

Posted by on December 15, 2009 in Exchange Server

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: