Restoring an Enterprise Edition Back End Server
Topic Last Modified: 2011-07-18
If an Enterprise Edition Back End Server fails, follow the procedures in this section. If the Central Management store fails, see Restoring the Central Management Store. If an Enterprise Edition member server that is not the Back End Server fails, see Restoring an Enterprise Edition Member Server.
Before you restore user data, you need to verify that user replication is complete. If user replication is not complete, Dbimpexp.exe will fail. The following procedures describe how to restore a Back End Server and how to verify that user replication is complete.
Tip
We recommend that you take an image copy of the system before you start restoration so that you can use this image as a rollback point in case something goes wrong during restoration. You might want to take the image copy after you install the operating system and SQL Server, and restore or re-enroll the certificates.
To restore an Enterprise Edition Back End Server
Start with a clean or new server that has the same fully qualified domain name (FQDN) as the failed computer, install the operating system, and then restore or re-enroll the certificates.
Note
Follow your organization's server deployment procedures to perform this step.
From a user account that is a member of the RTCUniversalServerAdmins group, log on to the server you are restoring.
Install SQL Server 2008 R2, SQL Server 2008, or SQL Server 2005, keeping the instance names the same as before the failure.
Note
Depending on your deployment, the Back End Server might include multiple collocated or separate databases. Follow the same procedure to install SQL Server that you used originally to deploy the server, including SQL Server permissions and logins.
After you install SQL Server, perform the following:
Start Topology Builder: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Topology Builder.
Click Download Topology from existing deployment, and then click OK.
Select the topology, and then click Save. Click Yes to confirm your selection.
Right-click the Lync Server 2010 node, and then click Publish Topology.
Follow the Publish the Topology wizard. On the Create databases page, select the databases you want to recreate.
Note
Only stand-alone databases are displayed on the Create databases page.
Follow the rest of the wizard, and then click Finish.
Tip
Instead of running Topology Builder, you can use the Install-CsDatabase cmdlet to create each database. For details, see the Lync Server Management Shell documentation.
Restore user data by performing the following:
Copy BackupUsers.xml from $Backup\ to a local directory.
Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.
Verify that at least one Front End Server in the pool is running and that the User Replicator process has completed a full synchronization cycle. The following procedure describes how to verify that user replication is complete.
Note
The initial synchronization might take some time to complete. If you run Dbimpexp.exe before the synchronization is complete, the command will fail.
To restore the user data, at the command line, type:
Dbimpexp.exe /hrxmlfile:<path and file name of backed up Rtc database> /sqlserver:<SQL Server FQDN>\<instance name> /import /restype:all
For example:
Dbimpexp.exe /hrxmlfile:D\BackupUsers.xml /sqlserver:sql.contoso.com\rtc /import /restype:all
If you deployed Response Group on this pool, restore the Response Group configuration data. For details, see Restoring Response Group Settings.
If you are restoring a Back End Server that included Archiving or Monitoring databases, restore the Archiving or Monitoring data by using a SQL Server tool, such as SQL Server Management Studio. For details, see Restoring Monitoring or Archiving Data.
To verify user replication has completed
Log on to the computer as a member of the RTCUniversalServerAdmins group.
Click the Start menu, and then click Run.
Enter eventvwr.exe and then click OK.
In Event Viewer, click Applications and Services logs to expand it, and then select Lync Server.
In the Actions pane click Filter Current Log.
From the Event sources list, click LS User Replicator.
In <All Event IDs> enter 30024 and then click OK.
In the filtered events list, on the General tab, look for an entry that states user replication has completed successfully.