Restoring Settings in Standard Edition Server Environments
Topic Last Modified: 2009-03-03
To restore service for a Standard Edition server, use the procedures and guidelines in this section to complete the following steps:
- Prepare for restoration of settings.
- Restore settings.
- Start services.
- Validate server functionality.
Repeat the procedures in the first two steps (that is, the preparation and restoration steps) as appropriate to restore each server in a Standard Edition server environment that requires restoration of settings, before continuing with the activation step.
Prepare for Restoration of Settings
Before restoring settings, you should ensure that servers are ready for restoration. To prepare for restoration of settings, use the following procedure.
To prepare for restoration of settings in a Standard Edition server environment
Set up hardware and software for each server that requires restoration, by completing the applicable procedures in Setting Up Server Platforms.
If required, restore databases by using the information in the “Restoring Databases” section in Restoring Data.
If required, restore files by using the information in the “Restoring File Shares” section in Restoring Data.
Verify that the configuration file (.xml file) that contains the most recently backed up settings is accessible from the computer that you will use to restore settings. This computer can be the server to be restored or a separate computer on which the Office Communications Server 2007 R2 administrative tools have been installed (such as a management console). If the configuration file is in a backup location that is not accessible, copy it from the backup location to an accessible location.
Restore Settings
To restore settings, you import the required settings, as appropriate to the lost service. In a Standard Edition server environment, this can include the following settings:
- Global-level settings. Restoration of global-level settings is only required in the event of loss of Active Directory Domain Services (AD DS). If you need to restore global-level settings, you only need to do so once, on a single Standard Edition server.
- Pool-level settings. Restoration of pool-level settings is only required in the event of loss of a Standard Edition server. If you need to restore pool-level settings, you only need to do so once, on the Standard Edition server.
- Computer-level (machine-level) settings. You must restore computer-level settings on each server that requires restoration. For details about the computer-level settings to be backed up and restored, see Settings.
To import the required settings, use the following procedures, as appropriate:
- To restore both global-level settings and pool-level settings or only pool-level settings, use the first procedure. If restoration of these settings is required, restore them before restoring any computer-level settings in the Standard Edition environment.
- To restore computer-level settings to a computer in a Standard Edition environment, use the other procedures in this section.
Note
For details about the use of the commands described in this section, see the Command-Line Reference documentation.
To import global-level and pool level settings in a Standard Edition server environment
Log on to the Standard Edition server to be restored or another computer on which the Office Communications Server 2007 R2 administrative tools have been installed, as a member of the RTCUniversalServerAdmins group or a group with equivalent user rights, and then stop all Office Communications Server 2007 R2 services (that is, all services that have "Office Communications Server" at the front of the name).
Ensure that the required configuration file (.xml file) is accessible.
Open a command prompt. Click Start, click Run, type cmd, and then click OK.
At the command prompt, change to the directory that contains the LCSCmd.exe tool (by default, <drive>:\Program Files\Common Files\Microsoft Office Communications Server 2007 R2).
Import settings by doing one of the following:
To restore both global-level and pool-level settings for a Standard Edition server (which is required in the event of loss of Active Directory Domain Services, plus the loss of all Standard Edition servers) from a configuration file that contains both levels of settings, type the following command:
lcscmd /config /action:import /level:global,pool /restore:true /configfile:<drive>:\<path>\<filename>.xml /poolname:[name of computer]
To restore only pool-level settings for a Standard Edition server (which is required in the event of loss of a Standard Edition server, but not Active Directory Domain Services) from a configuration file that contains the pool-level settings, type the following command:
lcscmd /config /action:import /level:pool /restore:true /configfile:<drive>:\<path>\<filename>.xml /poolname:[name of computer]
For either of these commands, for the drive, specify a separate, removable media or mapped drive to a separate location in a secure location. For example:
lcscmd /config /action:import /level:global,pool,machine /restore:true /configfile:C:\Backup\OCS1Serversettings.xml /poolname:ocsstandardedition1
If you are running the command from a Standard Edition server (instead of a separate computer that serves as a management console), you can omit the /poolname attribute. If you backed up global-level and pool-level settings to separate configuration files (.xml files) and need to restore both levels of settings, run the command once for each level of settings (global and pool) to be imported, with the following modifications:
- For the /level attribute, specify only one setting level (global or pool) each time you run the command.
- For the /configfile attribute, specify the name of the file to which the single level of settings was backed up.
After typing the command, to start importing settings, press ENTER.
After you import the settings, verify that the settings are appropriately applied by opening Office Communications Server 2007 R2 administrative tools, right-clicking the server name, clicking Properties, and then verifying that both levels of settings are correct.
To import computer-level settings on a computer in a Standard Edition server environment (except Group Chat or Communicator Web Access servers)
Log on to the server to which computer-level settings are to be restored or another computer on which Office Communications Server 2007 R2 administrative tools have been installed, as a member of the RTCUniversalServerAdmins group or a group with equivalent user rights, and then stop all Office Communications Server 2007 R2 services (that is, all services that have "Office Communications Server" at the front of the name).
Ensure that the required configuration file (.xml file) is available.
Open a command prompt. Click Start, click Run, type cmd, and then click OK.
At the command prompt, change to the directory that contains the LCSCmd.exe tool (by default, <drive>:\Program Files\Common Files\Microsoft Office Communications Server 2007 R2).
Import computer-level settings to the server by typing the following command:
lcscmd /config /action:import /level:machine /restore:true /configfile:<drive>:\<path>\<filename>.xml /fqdn:[FQDN of Standard Edition server to which settings are to be imported]
For the drive, specify a separate, removable media or mapped drive to a separate location in a secure location. For example:
lcscmd /config /action:import /level:machine /restore:true /configfile:C:\Backup\OCS1Serversettings.xml /fqdn:ocsstandardedition1.contoso.com
The /fqdn attribute is required only for restoration of a Standard Edition server, and only if you are running the command on a separate computer that serves as a management console.
After typing the command, to start importing settings, press ENTER.
After importing the settings, verify that the computer-level settings are appropriately applied by opening the Office Communications Server 2007 R2 snap-in, right-clicking the server name, clicking Properties, and then verifying that the settings are correct.
Repeat this procedure for each server in your deployment to which settings are to be restored.
To import computer-level settings for a Group Chat Server or Group Chat Compliance Server
Log on to the Group Chat Server or Group Chat Compliance Server to be restored, as appropriate, with an account that has RTCUniversalReadOnlyAdmins or equivalent user rights, as well as write permissions for the folder to which settings are to be restored.
Locate the ChannelService.exe.config file and copy it to the backup location.
To import the Communicator Web Access virtual server configuration
Log on to the computer that will host the new Communicator Web Access virtual server. You must be logged on as a member of the local Administrators group and the RTCUniversalServerAdmins group to import a virtual server configuration file.
On the Start menu, point to Administrative Tools, and then click Microsoft Office Communications Server 2007 R2, Communicator Web Access.
In the console tree, right-click the name of the computer that will host the imported virtual server and then click Import Configuration File.
In the Office Communicator Web Access Import Wizard, on the Welcome page, click Next.
On the Choose Source Location page, select the file to import. To do that, do one of the following:
- To import the default file, click Next.
- To import a different file, click Select to display the Open dialog box. In the Open dialog box, select the file to be imported and then click Open. On the Choose Source Location page, click Next.
On the The Import Wizard successfully imported the configuration settings page, click Finish.
Start Services
To complete restoration of service in the Standard Edition server environment, after restoring all required settings, start all applicable services in the following sequence:
- SQL Server 2005 Express Edition
- Office Communications Server Archiving Server service, if required
- Office Communications Server Front End Service
- Office Communications Server IM Conferencing Server service
- Office Communications Server Telephony Conferencing Server service
- Office Communications Server Web Conferencing Server service
- Office Communications Server A/V Conferencing Server service
- Office Communications Server Monitoring Service, if required
- Office Communications Server Mediation Server service, if required
- Office Communications Server Proxy Server service, if required
- Office Communications Server Access Edge Server service, if required
- Office Communications Server Web Conferencing Edge Server service, if required
- Office Communications Server A/V Edge Server service, if required
- Office Communications Server A/V Authentication Service, if required
- Office Communications Application Server Service, if required
- Group Chat Channel Service and Compliance Service, if required
- Application services (such as Response Group Service, Dial-in Conferencing service, and other applications deployed in your organization, if required)
Validate Server Functionality
After starting services, use the Validation Wizard to validate the individual server roles.
To validate server functionality
If you have re-created the Enterprise pool, run the Validation Wizard from the Office Communications 2007 R2 Server Deployment Wizard to validate the functionality of the pool and servers in the pool. As part of the validation task, you can validate each Enterprise pool server role that you restore, which includes the following:
- Front End Servers
- Web Conferencing Servers
- A/V Conferencing Servers
- Web Components Servers
- Optional server roles deployed in your organization
Next Steps
After you have completed the procedures in this section to restore settings in the Standard Edition server environment, do the following:
- Reassign users, if required. For details, see Reassigning Users.
- Restore domain information, if required. For details, see Restoring Domain Information.