Chapter 14. Backup and Restore

As Office Communications Server 2007 becomes a critical service for real-time communications within organizations, it is important to devise a backup and restore plan to ensure that communication remains available to the end users in case of a failure.

This chapter presents step-by-step guidance for planning your backup and restore deployments of Office Communications Server 2007. You can use the recommendations in this chapter for creating a backup and restoration plan tailored for your organization. Multiple tools and programs are available for backing up and restoring data, settings, and systems. This chapter focuses on the use of tools and programs provided with Office Communications Server 2007, as well as components available in Microsoft SQL Server 2005.

Planning for Backup and Restore

An essential component of effective backup and restore operations is establishment of a comprehensive and concise strategy. Typically, an organization's business priorities affect this strategy. Following is a list of some of these priorities:

  • Business continuity requirements These requirements are driven by the number of business-critical applications that rely on Office Communications Server 2007. If instant messaging (IM), Web conferencing, or Voice over IP (VoIP) is indispensable to continue your organization's business, you must account for it in your backup and restore plan. For instance, if instant messaging is critical to your organization, but Web conferencing is less critical at times of disaster, you can devise your backup and restore strategy accordingly by investing in restoring the components required for instant messaging before any other components.

  • Data completeness Office Communications Server 2007 stores three main types of data:

    • User data

    • Compliance-related data

    • Configuration data

    Depending on the need for completeness of this data, you can decide the frequency of backups. For instance, if you back up the user data every 24 hours, a user's contact list or buddy list will be accurate up to the last backup (which could be a day before the data loss).

  • Data criticality This typically applies to compliance-specific data. If your organization functions in a regulated industry and is mandated by regulations to maintain an up-to-date record of all communications, the data stored by Office Communications Server 2007 is very critical for your organization.

  • Cost constraints Besides the cost of physical hardware and any backup software costs, you might need to consider implicit costs. These costs typically include, but are not limited to, the cost of lost business (if applicable), cost of re-creating the deployment, administrative cost of backing up data, and so on.

Backup and Restore Requirements

The organization's business priorities should drive the backup and restore requirements. These requirements can be classified as follows:

  • Hardware and software requirements Specific hardware and software requirements should be determined based on the organization's needs. This includes not only the hardware to be used for backup storage and restoration of specific services, but also any software and network connectivity required to support backup and restoration.

  • Backup and restore tools The following tools can be used for backing up and restoring Office Communications Server environments:

    • LCSCmd.exe—The Office Communications Server command-line tool to export and import server settings

    • SQL Server Management Studio in SQL Server 2005—Used to back up the Enterprise pool and the Archiving and CDR Server databases

    • SQL Server Management Studio Express in SQL Server 2005 Express Edition—Used to back up databases on Standard Edition Servers

    • NTBackup—File system backup solution available in Microsoft Windows for backing up meeting content and meeting compliance logs

  • Administrative computer This is the computer that will perform the regular backups. This operation can be performed on an Office Communications Server or a separate administrative computer joined to Active Directory.

  • Recovery time Depending on the criticality of the system to the organization, the system must be restored within a maximum time period.

  • Backup location The backup location can be local or remote depending on security and availability requirements. The backup should be stored securely to prevent tampering and privacy risks. If storing the backup in a remote server, network bandwidth constraints and the impact on business use should be taken into consideration.

  • Disaster Recovery Site (if applicable) In the most extreme cases, loss of a complete site—because of either a total loss of power, a natural disaster, or other issues—can delay or prevent restoration of service at the original site. So use of a separate, secondary site might be a priority to meet the availability requirements of an organization.

Determining What Needs to Be Backed Up

Backup of an Office Communications Server 2007 deployment entails backing up settings and data. This section covers the requirements and options for backing up settings and data required for operation.

Backing Up Settings

Office Communications Server 2007 has three levels of settings:

  • Global-level settings, which apply to all computers in the forest

  • Pool-level settings, which apply to a pool on a Standard Edition server or to all servers in an Enterprise pool

  • Computer-level settings (also referred to as machine-level settings), which are specific to each computer running Office Communications Server 2007

Table 14-1 describes which of the three levels of settings must be backed up for each server role.

Table 14-1. Settings Requirements

Server Role

Settings Required

Standard Edition servers or front-end servers in Enterprise pools

Web Conferencing Servers (Enterprise Edition, expanded configuration only)

A/V Conferencing Servers (Enterprise Edition, expanded configuration only)

Global-level, pool-level, and computer-level settings:

Global-level, pool-level, and computer-level settings are backed up from the Standard Edition server or one front-end server so that only computer-level settings are backed up from other front-end servers, each Web Conferencing Server, each A/V Conferencing Server.

For restoration:

In the event of loss of the Active Directory Domain Services, restoration of all three levels is generally required.

In the event of an Enterprise pool loss (all front-end servers in an Enterprise pool or the back-end server) or the loss of a Standard Edition server, restoration of pool-level and computer-level settings is generally required.

In the event of loss of an individual front-end Server, Web Conferencing Server, A/V Conferencing Server, or Archiving and CDR Server, restoration of computer-level settings is generally all that is required.

Web Components Servers (Enterprise Edition expanded configuration only)

Pool-level and computer-level settings:

Pool-level settings are backed up from the Standard Edition server or a front-end server so that only computer-level settings are backed up from each Web Components Server.

In the event of loss of a Web Components Server, restoration of computer-level settings is generally all that is required.

Mediation Servers

Forwarding proxy servers

Archiving and CDR Servers

Global-level and computer-level settings:

Global settings are backed up from the Standard Edition server or front-end server so that only computer-level settings are backed up from each Mediation Server, Archiving and CDR Server, and forward proxy server.

In the event of loss of a Mediation Server, Archiving and CDR Server, or forward proxy server, restoration of computer-level settings is generally all that is required.

Edge servers

Computer-level settings:

Computer-level settings are backed up from each edge server.

In the event of loss of an edge server, restoration of computer-level settings is all that is required.

If an Office Communications Server has multiple server roles installed, each server role setting must be backed up. The administrator should not assume that because the backup has been completed for a front-end server's settings the settings for the Conferencing Server have also been backed up.

Backing Up Pool and Global Settings

The LCSCmd.exe command-line tool can be used to back up global-level settings, pool-level settings, and computer-level settings. The LCSCmd.exe tool is automatically installed when Office Communications Server 2007 is installed. This tool is also available on any computer where Office Communications Server 2007 Admins tools are installed.

Backing up the settings needed to restore Office Communications Server 2007 requires backing up the following:

  • Global-level and pool-level settings. This requires the following:

    • For a Standard Edition server environment, back up these settings on only one Standard Edition server.

    • For an Enterprise pool, back up these settings on only one front-end server.

  • Computer-level (machine-level) settings. Back up these settings on each Office Communications Server 2007 server in your deployment.

Tables Table 14-2 and Table 14-3 describe the server roles in each configuration that requires backing up of computer-level settings. Table 14-2 also indicates which internal servers require backing up of computer-level settings.

Table 14-2. Internal Servers Requiring Backup of Computer-Level Settings

Servers

Standard Edition Server Environment

Enterprise Pool, Consolidated Configuration

Enterprise Pool, Expanded Configuration

Standard Edition Servers

  

Front-end Servers

 

Directors (optional)

 

Web Components Servers

  

Web Conferencing Servers

  

A/V Conferencing Servers

  

Archiving and CDR Servers

Mediation Servers

Forwarding proxy Servers

Note

Office Communications Server 2007 is not installed on back-end servers, so you do not need to back up settings for back-end servers.

Table 14-3 indicates which servers in the perimeter network require backing up of computer-level settings, if your deployment includes edge servers.

Table 14-3. Perimeter Network Servers Requiring Backup of Computer-Level Settings

Servers

Consolidated Edge Topology

Single-Site Edge Topology

Scaled Single-Site Edge Topology

Remote Site Edge Topology in a Multiple Site Topology

Access Edge Servers

Web Conferencing Edge Servers

A/V Edge Servers

Note

Office Communications Server 2007 is not installed on reverse proxy servers, so you do not need to back up settings for reverse proxy servers.

To export settings, use the LCSCmd.exe command-line tool and the following procedure. Complete this procedure for each server in your deployment, if you are exporting machine-level settings.

To export global and pool-level settings, do the following:

  1. Log on to a Standard Edition server or a front-end server in an Enterprise pool, or to a separate computer on which Office Communications Server 2007 administrative tools have been installed (such as a management console), with an account that has RTCUniversalReadOnlyAdmins or equivalent user rights, as well as write permissions for the folder to which settings are to be backed up.

  2. Open a command prompt. Click Start, click Run, type cmd, and then click OK.

  3. At the command prompt, change to the directory containing the LCSCmd.exe tool (by default, <drive>:Program FilesCommon FilesMicrosoft Office Communications Server 2007).

  4. To export both levels of settings (global and pool), do one of the following:

    • To export global-level and pool-level settings in an Enterprise pool to a single configuration file (.xml file), type the following command:

      lcscmd /config /action:export /level:global,pool /configfile:
      <drive>:<path><filename>.xml /poolname:[name of pool for which settings are to
      be exported]
    • To export global-level and pool-level settings for a Standard Edition server to a single configuration file (.xml file), type the following command:

      lcscmd /config /action:export /level:global,pool /
      configfile:<drive>:<path><filename>.xml /poolname [name of Standard Edition
      server, which is used for the pool name]

    For the drive, specify a separate, removable media or mapped drive to a separate location in a secure location. For example, for an Enterprise pool, type the following:

    lcscmd /config /action:export /level:global,pool /
    configfile:C:BackupOCS1Serversettings.xml /poolname:ocspool1

    If you prefer to back up each of the two levels of settings to a separate configuration file (xml file), run the command two times, with the following modifications:

    • For the /level attribute, specify only one of the two setting levels (global or pool) each time you run the command.

    • For the /configfile attribute, specify a different, unique file name for each level.

    To export the computer-level settings for a server, type the following command:

    lcscmd /config /action:export /level:machine /configfile:
    <drive>:<path><filename>.xml /fqdn:[FQDN of server from which settings are to be
    exported]

    For the drive, specify a separate, removable media or mapped drive to a separate location in a secure location—for example:

    lcscmd /config /action:export /level:machine /
    configfile:C:BackupOCS1Serversettings.xml /fqdn:ocspool1server1.contoso.com

    If running this command from the server being backed up (instead of a separate computer serving as a management console), you can omit the /fqdn attribute (for the fully qualified domain name [FQDN] of the server).

  5. After the command completes, open the configuration file you created and verify that it has both levels of settings (global and pool). If you backed up the two levels of settings to separate files, verify that each of the two files contains the level of settings that it should.

  6. To store a configuration file on a separate computer or in a secure location other than the location to which you backed it up (a computer or other location that can be accessed if you need to restore the settings), copy it from the backup location to the other computer or location.

  7. Verify that the backed-up configuration file is accessible for restoration purposes, including by standby servers if your organization is deploying separate, secondary sites for recovery in the event of site failure.

Backing Up Server Settings

To export the computer-level settings for a server, type the following command:

lcscmd /config /action:export /level:machine /configfile: <drive>:<path><filename>.xml /
fqdn:[FQDN of server from which settings are to be exported]

For the drive, specify a separate, removable media or mapped drive to a separate location in a secure location—for example:

lcscmd /config /action:export /level:machine /configfile:C:BackupOCS1Serversettings.xml /
fqdn:ocspool1server1.contoso.com

If running this command from the server being backed up (instead of a separate computer serving as a management console), you can omit the /fqdn attribute (for the FQDN of the server).

Backing Up Data

Office Communications Server 2007 stores data in databases and file shares. These databases and file shares reside on the following servers:

  • Standard Edition servers

  • Front-end servers in an Enterprise pool

  • Back-end servers in an Enterprise pool

  • Archiving and CDR Server

Additionally, domain information is stored in the Active Directory Domain Services. Restoration of service can require recovery and restoration of specific data or entire servers.

Table 14-4 describes the specific databases and file shares used by Office Communications Server 2007.

Table 14-4. Data Stored in Databases

Type of Data

Database

Database Location

Persistent user data (such as access control lists [ACLs], contacts, home server or pool data, and scheduled conferences); this includes user contact lists, as well as allow and block lists.

RTC

Standard Edition: SQL Server 2005 Express Edition

Enterprise Edition: SQL Server 2005 database on back-end server

Persistent Office Communications Server 2007 global-level, pool-level, and computer-level settings

RTCConfig

Standard Edition: SQL Server 2005 Express Edition

Enterprise Edition: SQL Server 2005 database on back-end server

Transient user data (such as endpoints and subscriptions, active conferencing servers, and transient conferencing states)

RTCDyn

Standard Edition: SQL Server 2005 Express Edition

Enterprise Edition: SQL Server 2005 database on back-end server

Archiving data and Call Detail Records (CDRs)

LCSLog (default name)

SQL Server database for archiving data and CDRs, which is typically deployed on a separate computer, the Archiving and CDR Server

Tables Table 14-5 and Table 14-6 describe the file shares used by Office Communications Server 2007 and where they are located.

Table 14-5. Data Stored in File Shares for Enterprise Edition

Type of Data

File Share

File Share Location

Meeting content (such as Microsoft Office PowerPoint presentations, Q&A logs, polling data, chat data, and uploaded content)

User-specified (UNC path)

Typically created on a separate computer, such as a file server. By default, it is on the front-end server. This file share is often on the same file share as the address book.

Meeting content metadata (XML data that describes the meeting content, such as the date and time that a presentation is uploaded)

User-specified (UNC path)

Typically created on a separate computer, such as a file server. By default, it is on the front-end server. This file share is often on the same file share as the address book.

Meeting content compliance log (XML data that records content upload activities, along with the uploaded meeting content)

User-specified (UNC path)

Typically created on a separate computer, such as a file server. By default, it is on the front-end server. This file share is often on the same file share as the address book.

Address book files

User-specified (UNC path)

Typically created on a separate computer, such as a file server. By default, it is on the front-end server. This file share is often on the same file share as meeting content.

Table 14-6. Data Stored in File Shares for Standard Edition

Type of Data

File Share

File Share Location

Meeting content (such as presentations based on the Microsoft Office PowerPoint presentation graphics program, Q&A logs, polling data, chat data, and uploaded content)

<drive>:Program FilesMicrosoft Office Communications Server 2007Web ComponentsData MCU WebWeb (default, created automatically during deployment, but can be changed using Microsoft Windows Management Instrumentation, or WMI)

Standard Edition server

Meeting content metadata (XML data that describes the meeting content, such as the date and time that a PowerPoint presentation is uploaded)

<drive>:Program FilesMicrosoft Office Communications Server 2007Web ComponentsData MCU WebNon-Web (default, created automatically during deployment, but can be changed using WMI)

Standard Edition server

Meeting content compliance log (XML data that records content upload activities, along with the uploaded meeting content)

User specified (UNC path)

Standard Edition server

Address book files

<drive>:Program FilesMicrosoft Office Communications Server 2007Web ComponentsAddress Book Files (default, created automatically during deployment, but can be changed using WMI)

Standard Edition server

Backing Up Databases

This section describes the tools and mechanisms that can be used to back up databases in Office Communications Server 2007. Table 14-7 describes database backup utilities.

Table 14-7. Database Backup Utilities

Data to Be Backed Up

Server or Component Requiring Backup

Database Backup Utility

RTC Database

Standard Edition server

Microsoft SQL Server Management Studio Express in SQL Server 2005 Express Edition, to back up the database on the Standard Edition server.

Enterprise Edition back-end database

SQL Server database backup utilities, such as Microsoft SQL Server Management Studio in SQL Server 2005, to back up the back-end database.

LCSLog database

Archiving and CDR Server

SQL Server 2005 database back-up utilities, as described previously in this table.

RTCConfig

Standard Edition and Enterprise Edition servers

Not applicable; database does not need to be backed up because restoring settings (using the LCSCmd.exe tool, as covered in the procedures in this chapter) restores the required global-level, pool-level, and computer-level settings.

RTCDyn database

Standard Edition and Enterprise Edition servers

Not applicable; transient information that does not need to be backed up.

For the Office Communications Servers that use SQL Server 2005 and SQL Server 2005 Express Edition, only full backups are supported. A full backup is optimal because the data stored by Office Communications Server is typically smaller than the transaction log files and is significantly smaller than those created by line of business (LOB) database applications. Follow the best practices recommended by SQL Server to back up the databases used by Office Communications Servers.

Backing Up File Shares

Backing up file shares requires backing up the following content:

  • Meeting data

  • Meeting metadata

  • Meeting compliance logs

Table 14-8 describes file system backup utilities.

Table 14-8. File System Backup Utilities

Data to Be Backed Up

Server or Component Requiring Backup

Backup Utility

Meeting content, metadata, and meeting compliance log file shares

Meeting content and compliance logs

File share tools and other backup tools, such as NTBackup.

Address book files

None

Not applicable; automatically generated by the User Replicator.

For the location of these files, see Table 14-5 (for Enterprise Edition) and Table 14-6 (for Standard Edition), which show the default locations. Verify that the backed-up file shares are accessible for restoration purposes, including by standby servers if your organization is deploying separate, secondary sites for recovery in the event of a site failure.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.188.172