ENTERPRISE

Exchange Server 2007: Recover a Non-Mailbox Role

1/19/2011 8:59:11 AM
Problem : There are other server types to be concerned about, such as the Client Access server, the Hub and Edge Transport servers, and the Unified Messaging servers. How do we prepare for a disaster involving these important servers?

Solution : A variety of ways to restore servers exist; however, Exchange makes the procedure much easier with many of the server roles because the primary configuration data is stored in AD.

So, imagine a server has crashed with one of the four roles internal to your network (MB, CAS, HT, or UM). You can restore the roles themselves (let’s not worry about MB at this point; we’ve covered quite a bit already regarding the restoration of the databases) by running the setup /m:RecoverServer command.

Perhaps you’ve purchased a whole new server and want that server role back up and running, or let’s say you have another server that is running a different role and you want to put the role back on that server. You can do this thanks to the AD connection.

To start with, you need to reset the computer account within AD. Then the new server can join up without a conflict with the older configuration data. To do this, perform the following:

1.
Select Start, Administrative Tools, and then Active Directory Users and Computers.

2.
Locate the computer object for the failed server.

3.
Right-click the server and choose Reset Account.

With the new server, you need to configure the same number of disk drives as the original and assign the disks with the same drive letters. After you have everything in place, install Windows Server and make sure the name is the same as the failed server and join the domain.

When you go to install Exchange, type setup.com /m:recoverserver, which will ask AD to restore the roles and settings that are stored to this server.

Keep in mind that customized settings and files on the server (depending on the type of server it was, such as UM, CAS, and so on) might require manual restoration.

Server Restore Points to Remember

Each server role still has pieces you might want to be aware of and ensure the recovery of in the event of a problem. For example:

  • Client Access Server— Has IIS services running that require you to back up and restore the IIS metabase data. Microsoft offers direction to back up the data and a script to restore it at: http://technet.microsoft.com/en-us/library/bb124359(EXCHG.80).aspx.

  • Unified Messaging— Some of the audio recordings that are associated with the UM server may be located in AD (such as the recorded name). If the UM server was the prompt publishing point for a dial plan, those files might be missing. If it wasn’t the publishing point, those files might be intact.

  • Hub Transport Server— You might want to alter the procedure with these. Instead type setup.com /m:RecoverServer /DoNotStartTransport. The reasoning is that you do not want to have the server come to life and begin sending messages here and there. Ensure the configuration is correct before you start up the transport service.

Edge Transport Recovery

The data is not held in AD logically, so these require a bit of manual intervention to recover. You need to export the configuration of the server. Microsoft provides a script to do this.

To use the script, perform the following:

1.
On the Edge Transport server, open the EMS.

2.
Navigate to the scripts folder, which is usually located where you installed Exchange. The standard location you are looking for is C:\Program Files\Microsoft\Exchange Server\Scripts.

3.
Type ./ExportEdgeConfig.ps1 -cloneConfigData: “DriveLetter:\EdgeBackupFile.xml” and then press Enter.

4.
After you see the confirmation message, you can locate and move that file to another server for backup.

5.
If you need to restore an Edge Transport server that has crashed—whether with a new server or new disk—install Server and all the service packs and hotfixes.

6.
Install Exchange normally as an Edge Transport server. Use the same server name.

7.
Run the ImportEdgeConfig.ps1 script. This creates an answer file based upon the .xml file you created earlier. You might need to edit the answer file to ensure you have the proper data, log paths, Send connector information, and so forth.

8.
Run the ImportEdgeConfig.ps1 script again, but this time it will restore the server using the answer file you adjusted and bring your server back to its original configuration.

9.
After you finish, run the EdgeSync process between a Hub Transport server and your newly restored Edge Transport server to restore communications between the two.

Other  
  •  Installing Microsoft SharePoint Server 2010
  •  Examining SharePoint Installation Prerequisites
  •  Examining Real-World SharePoint 2010 Deployments
  •  Installing Exchange Server 2010 : Post-setup configuration (part 2) - Add a certificate to the Client Access Server role
  •  Installing Exchange Server 2010 : Post-setup configuration (part 1)
  •  Exchange Server 2007: Design and Deploy Disaster Recovery Settings - Use Dial-Tone Restores
  •  Exchange Server 2007: Design and Deploy Disaster Recovery Settings - Work with Recovery Storage Groups
  •  Exchange Server 2007: Design and Deploy Disaster Recovery Settings - Implement Database Portability
  •  Sharepoint 2007: Specify Your Colleagues
  •  Sharepoint 2007: Modify the Links in the SharePoint Sites Web Part
  •  Sharepoint 2007: Get Started with Your Personal Site
  •  Sharepoint 2007: Create a Personal Site
  •  Exchange Server 2007 : Backup and Recover Data (part 2) - Backup and Recovery with Server 2008
  •  Exchange Server 2007 : Backup and Recover Data (part 1) - Backup and Recovery with Server 2003
  •  Exchange Server 2007 : Design and Deploy Disaster Recovery Settings - Recover Deleted Items and Mailboxes
  •  Exchange Server 2007 : Design and Deploy Disaster Recovery Settings - Design for Disaster
  •  Architecting a SharePoint 2010 Deployment : Choosing the Right Hardware for SharePoint
  •  Architecting a SharePoint 2010 Deployment : Understanding the Reasons for Deploying Multiple Farms
  •  Understanding the SharePoint Server Roles
  •  Installing Exchange Server 2010 : Installing the Edge Transport Server
  •  
    Top 10
    Using Windows Phone 7 Technologies : Retrieving Accelerometer Data (part 1)
    Designing a Windows Server 2008 R2 Active Directory : Understanding the Empty-Root Domain Model
    SharePoint 2010 : Security - Claims Based Authentication
    Azure Programming Considerations
    SQL Server 2008 : Advanced Stored Procedure Programming and Optimization - Installing and Using .NET CLR Stored Procedures
    Exchange Server 2010 : Implementing Client Access and Hub Transport Servers - Understanding the Hub Transport Server
    Internet Security and Acceleration Server 2004 : Additional Configuration Tasks
    SQL Server 2008 : Explaining XML - XML Indexes
    Algorithms for Compiler Design: THE LR PARSER
    Registry ACLs
    Most View
    Windows Phone 7 Development : Wiring Up Events to an Application Bar ( part 1) - Reacting to Add Button Events
    MySQL Server Monitoring (part 2) - MySQL Administrator
    Backing Up the Exchange Server 2010 Environment : Understanding the Importance of Backups & Establishing Service Level Agreements
    Programming .NET Security : Cryptography Explained (part 1) - Confidentiality
    SharePoint 2010 : PerformancePoint Services (part 1) - PerformancePoint Central Administration Settings
    EXAMPLES for Syntax-Directed Definitions and Translations
    Beginning Android 3 : The Input Method Framework - Fitting In
    Windows 7 : Windows Driver Foundation Architecture (part 2) - Integrated I/O Queuing and Cancellation
    SQL Server : Exception Handling
    .NET Enterprise Services Technologies : SQL Server
    SQL Server 2008 : Managing Query Performance - Optimizing for Specific Parameter Values
    Understanding the SharePoint Server Roles
    Documenting an Exchange Server 2010 Environment : Benefits of Documentation
    Shell-Spawning Shellcode
    Windows Azure : Processing with worker roles - A simple worker role service
    Upgrading to Windows Server 2003 : Architectural Changes Since Windows NT 4.0
    New IIS 7 Features
    Android Permissions Review
    Finite Automata and Regular Expressions
    Windows Server 2008 R2 and Windows 7 : Overview of Branchcache & Planning to Deploy Branchcache