2024年2月21日发(作者:)

System Center Service Manager 2010 SP1 灾难恢复指南

Microsoft Corporation

发布日期:2010 年 12 月 1 日

作者

John Downing

适用于

System Center Service Manager 2010 SP1

反馈

请将有关此文档的建议和意见发送到 scsmdocs@

本文档按“原样”提供。本文档中描述的信息和视图(包括 URL 和其他 Internet 网站引用)如有变更,恕不另行通知。使用本文档的风险需要您自己承担。

文中描述的某些示例仅供说明并且属于虚构,并无意联系或暗示任何真实对象。

本文档未提供对任何 Microsoft 产品中的任何知识产权的任何合法权利。您可以复制本文档供内部参考之用,也可以修改本文档供内部参考之用。

© 2010 Microsoft Corporation。保留所有权利。

Microsoft、ActiveX、SharePoint、SQL Server、Windows、Windows Server 和 Windows Vista 是

Microsoft 公司集团的商标。

所有其他商标均为其各自所有者的财产。

修订历史记录

发布日期 更改

2010 年 4 月 16 日

2010 年 4 月 29 日

本指南的原始发行版

更正

 更正了产品名称

2010 年 10 月 25 日

添加了有关如何启动 SQL Server 脚本向导以捕获 SQL Server 登录和对象级别权限的部分。

内容

System Center Service Manager 2010 SP1 灾难恢复指南 ........................................................................... 5

本节内容 .................................................................................................................................................... 5

Disaster Recovery 5

Service Manager Management Server ........................................................................................................ 5

Data Warehouse Management Server ......................................................................................................... 6

Service Manager Databases ........................................................................................................................ 6

Self-Service Portal ...................................................................................................................................... 6

Prepare for Service Manager SP1 7

本节内容 .................................................................................................................................................... 7

Deployment Strategy for Service Manager 2010 SP1 .................................................................................... 7

Backing Up Service Manager 2010 SP1 Management Servers ...................................................................... 8

In This Section ............................................................................................................................................ 8

在 Service Manager 2010 中备份和还原加密密钥 ...................................................................................... 8

Backing Up Service Manager 2010 SP1 Databases ....................................................................................... 9

In This Section ...........................................................................................................................................10

如何启动 SQL Server 脚本向导 ..................................................................................................................10

How to Start the SQL Server 2008 R2 Script Wizard ...................................................................................12

Backing Up Unsealed Management Packs in Service Manager 2010 SP1 ....................................................13

本节内容 ...................................................................................................................................................13

How to Back Up Unsealed Management Packs ............................................................................................14

Implement Service Manager SP1 Disaster Recovery ....................................................................................14

本节内容 ...................................................................................................................................................14

Service Manager 2010 中的数据库恢复 ......................................................................................................15

本部分中的内容 .......................................................................................................................................15

Service Manager 2010 中的灾难恢复 ..........................................................................................................15

管理服务器灾难恢复 ...............................................................................................................................16

部署策略 ...................................................................................................................................................16

升级附加的 Service Manager 管理服务器 ..............................................................................................16

本部分中的内容 .......................................................................................................................................16

如何还原 Service Manager 加密密钥 ..........................................................................................................17

如何恢复 Service Manager 管理服务器 ......................................................................................................18

如何恢复数据仓库管理服务器 ...................................................................................................................18

如何提升 Service Manager 管理服务器 ......................................................................................................20

Import Unsealed Management Packs in Service Manager 2010 SP1 ............................................................21

In This Section ...........................................................................................................................................21

How to Import Management Packs ...............................................................................................................21

System Center Service Manager 2010 SP1 灾难恢复指南

灾难恢复指南描述如何备份和还原加密密钥,如何还原发生故障的 Service Manager 和数据仓库管理服务器,以及如何还原数据库。

本节内容

在 Service Manager 2010 中备份和还原加密密钥

描述如何备份和还原加密密钥。

Service Manager 2010 中的灾难恢复

描述如何恢复承载 Service Manager 和数据仓库管理服务器的计算机。

Service Manager 2010 中的数据库恢复

描述如何恢复承载 Service Manager 数据库的计算机。

Disaster Recovery Scenarios Overview

This topic provides an overview of the disaster recovery processes for each of the major parts of a

smlongsp1 installation.

Service Manager Management Server

You can take two approaches to restore a failed Service Manager management server. You can replace the

management server, or you can promote an additional management server to the primary role if an

additional management server exists. The option to replace it or promote it depends largely on your

timeframe. If you can quickly bring up another computer, then you might choose that option; otherwise,

you can promote an additional management server to the primary role and then add another management

server later.

Promoting an additional management server involves the following procedures:

1. Promote an additional Service Manager management server. For more information, see 如何提升

Service Manager 管理服务器 in this guide.

5

2. When a replacement server is available, install an additional Service Manager management server. For

more information, see "How to Install an Additional Management Server" in the System Center

Service Manager 2010 SP1 Deployment Guide (/fwlink/?LinkId=198071).

If promoting an additional Service Manager management server is not an option, you have to install a

replacement management server. Installing a replacement Service Manager management server involves

the following procedures:

1. Start with a new computer that has the same computer name as the computer that failed.

2. Restore the encryption key that you saved from the original Service Manager management server. For

more information, see 如何还原 Service Manager 加密密钥 in this guide.

3. Install a Service Manager management server. For more information, see "Service Manager 2010 SP1

Deployment Scenarios" in the System Center Service Manager 2010 SP1 Deployment Guide

(/fwlink/?LinkId=198071).

Data Warehouse Management Server

There is only one recovery scenario possible for the data warehouse management server; you must install a

new data warehouse management server on a computer with the same computer name as the computer that

failed. Installing a replacement data warehouse management server involves the following procedures:

1. Start with a new computer that has the same computer name as the computer that failed.

2. Restore the encryption key that you saved from the original data warehouse management server. For

more information, see 如何还原 Service Manager 加密密钥 in this guide.

3. Install a data warehouse management server. For more information, see "Service Manager 2010 SP1

Deployment Scenarios" in the System Center Service Manager 2010 SP1 Deployment Guide

(/fwlink/?LinkId=198071).

Service Manager Databases

Recovery procedures are the same for both the Service Manager database and the data warehouse database.

You use a computer with the same name, and then you restore the Microsoft SQL Server databases by

using the same instance as the original. Recovery of a Service Manager database and a data warehouse

database involves the following procedures:

1. Start with a new computer that has the same computer name and with the same SQL Server instance as

the computer that failed.

2. Restore the SQL Server database or databases. For more information, see Service Manager 2010 中的数据库恢复 in this guide.

Self-Service Portal

Disaster recovery for a failed 自助服务门户 is simple. The computer name is not critical on the

replacement server. Install 自助服务门户 on the replacement computer, and then create a new encryption

key. For more information, see "Self-Service Portal Deployment Scenarios" in the System Center Service

Manager 2010 SP1 Deployment Guide (/fwlink/?LinkId=198071).

6

Prepare for Service Manager SP1 Disaster

Recovery

This section describes the steps you must take before problems occur. The steps you take to recover from a

disaster are predicated on having completed the steps outlined here. In general, preparing your Service

Manager environment for disaster recovery involves the following:

1. Deploying smshortsp1 with management servers and databases on separate computers.

2. Backing up the encryption keys on the management servers and 自助服务门户.

3. Backing up the SQL databases.

4. Backing up your unsealed management packs.

本节内容

Deployment Strategy for Service Manager 2010 SP1

Describes the deployment strategy you must use to prepare for disaster recovery.

Backing Up Service Manager 2010 SP1 Management Servers

Describes the steps you can take to back up Service Manager management servers.

Backing Up Service Manager 2010 SP1 Databases

Describes the steps you can take to back up Service Manager databases.

Backing Up Unsealed Management Packs in Service Manager 2010 SP1

Describes the steps you can take to back up unsealed management packs.

Deployment Strategy for Service Manager 2010

SP1

As a best practice, deploy your management servers and associated databases on separate computers.

Isolating the management servers and databases provides for a successful recovery operation. You must

have a functioning database to restore a failed management server. Recovery of a management server is

impossible if the management server and the associated database are on the same physical computer and

that computer fails. For more information, see the topic "Installing Service Manager on Four Computers" in

7

the System Center Service Manager 2010 SP1 Deployment Guide

(/fwlink/?LinkId=198071).

Backing Up Service Manager 2010 SP1

Management Servers

When smshortsp1 is deployed, an encryption key is created and stored in the registry on the management

servers and 自助服务门户. The matching encryption key is created on the associated databases. In addition,

the computer name of the management server and 自助服务门户 is stored on the associated databases. The

encryption keys for the Service Manager management server and 自助服务门户 are stored in the Service

Manager database. The matching encryption key for the data warehouse management server is stored in the

DWStagingAndConfig database. By backing up the SQL Server databases, you have backed up the

encryption key.

Regardless of whether you encounter a software or hardware failure of a management server or 自助服务门户, your recovery process centers around restoring a computer that has the same computer name. The

following overview outlines the steps to follow to recover from a management server failure.

1. Restore the encryption keys before you run Setup and install the new management servers.

2. Install the new management server on a computer that has the same name as the original.

3. When you install the management server, you have to select Use an existing database and then

specify the name of the computer hosting the associated database.

In This Section

在 Service Manager 2010 中备份和还原加密密钥

Describes how to back up the Service Manager encryption key.

在 Service Manager 2010 中备份和还原加密密钥

部署了 Service Manager 之后,会创建加密密钥,以便能够加密 Service Manager 管理服务器、数据仓库管理服务器、自助服务门户及其关联的数据库之间的数据。在完成 Service Manager 安装之后,灾难恢复策略立即由备份加密密钥的用户决定。备份加密密钥并将其存储在安全位置之后,可以在

Service Manager 和数据仓库管理服务器上从软件或硬件故障中恢复。使用加密密钥备份或还原向导备份和还原管理服务器和自助服务门户上的加密密钥。此向导位于 Service Manager 安装媒体上的

ToolsSecureStorageBackup 文件夹中。

注意

在此版本中,此向导包含对 Operations Manager 的引用。此问题将在将来的版本中解决。

8

备份加密密钥

1. 使用本身是管理员组成员的帐户登录到承载 Service Manager 管理服务器或数据仓库管理服务器的计算机。

2. 在 Windows 资源管理器中,打开安装媒体上的 ToolsSecureStorageBackup 文件夹。

3. 双击“”文件以启动加密密钥备份或还原向导。

4. 在“简介”页上,单击“下一步”。

5. 在“备份或还原?”页上,选择“备份加密密钥”,然后单击“下一步”。

6. 在“提供位置”页上,键入加密密钥的路径和文件名。例如,如果想要为 MyServer 服务器上的 Backup 文件夹共享中的加密密钥指定文件名 ,请键入

,然后单击“下一步”。

7. 在“提供密码”页上的“密码”框中,键入至少包含八个字符的密码。在“确认密码”框中,重新键入相同密码,然后单击“下一步”。

注意

如果丢失或忘记了密码,则无法找回密码。

8. 在收到“安全存储备份完成”消息之后,单击“完成”。

还原加密密钥

1. 使用本身是管理员组成员的帐户登录到承载 Service Manager 管理服务器或数据仓库管理服务器的计算机。

2. 在 Windows 资源管理器中,打开安装媒体上的 ToolsSecureStorageBackup 文件夹。

3. 双击“”文件以启动加密密钥备份或还原向导。

4. 在“简介”页上,单击“下一步”。

5. 在“备份或还原?”页上,选择“还原加密密钥”,然后单击“下一步”。

6. 在“提供位置”页上,键入加密密钥的路径和文件名。例如,如果想要为保存在 MyServer 服务器上的 Backup 文件夹共享中的加密密钥指定文件名 ,请键入

,然后单击“下一步”。

7. 在“提供密码”页上的“密码”框中,键入用于备份加密密钥的密码。在“确认密码”框中,重新键入相同密码,然后单击“下一步”。

8. 在收到“安全存储密钥还原完成”消息之后,单击“完成”。

Backing Up Service Manager 2010 SP1 Databases

There are up to five databases in a smlongsp1 environment:

ServiceManager

DWDataMart

DWRepository

9

DWStagingAndConfig

ReportServer

The first four databases in this list need to connect and exchange data with the Service Manager and data

warehouse management servers. Data is encrypted during these exchanges. On the management servers, the

encryption keys are backed up and restored as necessary as explained in this guide. For more information

about the encryption keys on the management servers, see Backing Up Service Manager 2010 SP1

Management Servers. For the servers hosting a database, the encryption keys are stored in the databases

themselves.

If a computer hosting a database fails, all that is needed is the ability to restore the databases (which include

the encryption keys) to a computer with the same name as the original computer. Your disaster recovery

strategy for the Service Manager databases should be based on general SQL Server 2008 disaster recovery

procedures. For more information, see SQL Server 2008 Books Online: Planning for Disaster Recovery

(/fwlink/?LinkId=131016).

As part of your disaster recovery preparation, you will need to run a script to capture the Security log to

preserve user role information for each database. After you deploy Service Manager and if necessary, run

the Data Warehouse Registration Wizard. You will use the SQL Server Script Wizard to create a script that

captures SQL Server logon and object level permissions. Then, if you need to restore a new server for the

Service Manager databases, you can use this script to recreate the necessary logon and object level

permissions needed. The wizard used to generate scripts in SQL Server 2008 differs from the wizard in

SQL Server 2008 R2. Instructions for both SQL Server 2008 and SQL Server 2008 R2 are presented in this

guide.

In This Section

如何启动 SQL Server 脚本向导

Describes how generate a script to capture SQL Server 2008 logon and object level permissions.

How to Start the SQL Server 2008 R2 Script Wizard

Describes how generate a script to capture SQL Server 2008 R2 logon and object level

permissions.

如何启动 SQL Server 脚本向导

在灾难恢复准备步骤中使用以下过程生成脚本,以捕获 SQL Server 登录名和对象级别权限。您需要在承载 Service Manager 和数据仓库数据库的计算机上以及承载 SQL Server Reporting Services

(SSRS) 的计算机上执行此过程:

DWDataMart

10

DWRepository

DWStagingAndConfig

ServiceManager

ReportServer

启动 SQL Server 脚本向导

1. 使用具有管理员权限的帐户登录到承载 Service Manager 数据库的计算机。

2. 在 Windows 桌面上,单击“开始”,指向“程序”,再指向“Microsoft SQL Server 2008”,然后单击“SQL Server Management Studio”。

3. 在“连接到服务器”对话框中,执行以下步骤:

a. 在“服务器类型”列表中,选择“数据库引擎”。

b. 在“服务器名称”列表中,选择 Server Manager 数据库的服务器和实例。例如,选择“computerINSTANCE1”。

c. 在“身份验证”列表中,选择“Windows 身份验证”,再单击“连接”。

4. 在“对象浏览器”窗格中,展开“数据库”。

5. 右键单击数据库名称,指向“任务”,然后单击“生成脚本”。对于本示例,右键单击“ServiceManager”,指向“任务”,然后单击“生成脚本”。

6. 在“脚本向导”对话框中,执行以下步骤:

a. 在“欢迎使用生成 SQL Server 脚本向导”页上,单击“下一步”。

b. 在“选择数据库”页上,选择要为其生成脚本的数据库。在本示例中,选择“ServiceManager”,然后单击“下一步”。

c. 在“选择脚本选项”页上,将所有 True/False 项都设置为“False”。在“常规”区域中,将“编写登录脚本”和“编写对象级别权限脚本”设置为“True”,然后单击“下一步”。

d. 在“选择对象类型”页上,单击“全选”,然后单击“下一步”。

e. 在“选择程序集”页上,单击“全选”,然后单击“下一步”。

f. 在“选择数据库角色”页上,单击“全选”,然后单击“下一步”。

g. 在“选择架构”页上,单击“全选”,然后单击“下一步”。

h. 在“选择存储过程”页上,单击“全选”,然后单击“下一步”。

i.

j.

l.

在“选择表”页上,单击“全选”,然后单击“下一步”。

在“选择用户定义表类型”页上,单击“全选”,然后单击“下一步”。

在“选择用户”页上,单击“全选”,然后单击“下一步”。

k. 在“选择用户定义函数”页上,单击“全选”,然后单击“下一步”。

m. 在“选择视图”页上,单击“全选”,然后单击“下一步”。

n. 在“选择 XML 架构集合”页上,单击“全选”,然后单击“下一步”。

o. 在“选择全文目录”页上,单击“全选”,然后单击“下一步”。

p. 在“输出选项”页上,选择“将脚本保存到文件”,在“文件名”文本框中,输入脚本的位置和文件名(例如,键入 C:),然后单击“下一步”。

q. 在“脚本向导摘要”页上,单击“完成”。

11

r. 在“生成脚本进度”页上,确保显示“成功”,然后单击“关闭”。

7. 保存刚才在单独的物理计算机上创建的脚本文件,通常将其与 Service Manager 加密密钥保存在同一位置。

8. 对这三个数据仓库数据库中的每一个以及 SSRS 运行此相同的过程。

9. 如果需要还原数据库,请使用这些脚本将权限还原到新服务器。

How to Start the SQL Server 2008 R2 Script

Wizard

Use the following procedure as part of your disaster recovery preparation steps to generate a script to

capture SQL Server logon and object level permissions. You need to perform this procedure on the

computers hosting your Service Manager and data warehouse databases and on the computer hosting SQL

Server Reporting Services (SSRS):

DWDataMart

DWRepository

DWStagingAndConfig

ServiceManager

ReportServer

To start the SQL Server Script wizard

1. Using an account with Administrator privileges, log on to the computer hosting the Service

Manager or data warehouse database.

2. On the Windows desktop, click Start, point to Programs, point to Microsoft SQL Server 2008

R2, and then click SQL Server Management Studio.

3. In the Connect to Server dialog box, follow these steps:

a. In the Server Type list, select Database Engine.

b. In the Server Name list, select the server and the instance for your Server Manager database.

For example, select computerINSTANCE1.

c. In the Authentication list, select Windows Authentication, and then click Connect.

4. In the Object Explorer pane, expand Databases.

5. Right-click the database name, point to Tasks, and then click Generate Scripts. For this example,

right-click ServiceManager, point to Tasks, and then click Generate Scripts.

6. In the Generate and Publish Scripts wizard, perform the following steps:

a. On the Introduction page, click Next.

b. On the Choose Objects page, select Select specific database objects, and then click Select

All.

c. In the database objects list, expand Tables.

12

d. Clear the check box for the following tables:

_Collation

_Locale

_MTD_ConverisonLog

e. Scroll up to the top of the list and collapse Tables.

f. Expand Stored Procedures.

g. Clear the check box for the following stored procedures:

i.

j.

_DTS_ConvertToUnicode

_DTS_CreateClonedTable

_DTS_InsertSQL

_DTS_ValidateConversion

h. Click Next.

On the Set Scripting Options page, select Save scripts, select Save to file, select Single file,

specify a file location in the File name box, and then click Next.

On the Summary page, click Next.

k. When the script is complete, on the Save or Publish Scripts page, click Finish.

7. If you need to restore a database, use this script to set permissions.

Backing Up Unsealed Management Packs in

Service Manager 2010 SP1

Part of the disaster recovery plan for your Service Manager management server involves backing up your

unsealed management packs. The following procedures discuss how to back up your unsealed management

packs.

本节内容

How to Back Up Unsealed Management Packs

Describes how to back up your unsealed management packs.

13

How to Back Up Unsealed Management Packs

Use Windows PowerShell to identify and copy your unsealed management packs to a folder on your hard

disk drive. Once they have been copied, save these management packs so that, as part of your disaster

recovery plan, you can later import these management packs.

To back up unsealed management packs

1. On the computer hosting the Service Manager management server, create a folder on the hard disk

drive where you will store the backup copy of the management packs. For example, create the

folder C:mpbackup.

2. On the Windows desktop, click Start, point to Programs, point to Windows PowerShell 1.0,

right-click Windows PowerShell, and then click Run as administrator.

3. At the Windows PowerShell command prompt, enter the following commands:

Add-PSSnapIn SMCmdletSnapIn

Get-SCSMManagementPack|where-object {! $_.Sealed}|Export-SCSMManagementPack -Directory C:mpbackup

4. Save the unsealed management packs on a separate physical computer.

Implement Service Manager SP1 Disaster

Recovery

This section of the guide describes the steps you must take to recover from a disaster, including information

about how to recover Service Manager databases, management servers, and unsealed management packs.

本节内容

Service Manager 2010 中的数据库恢复

Describes the steps you can take to recover Service Manager databases.

Service Manager 2010 中的灾难恢复

Describes the steps you can take to recover Service Manager management servers

Import Unsealed Management Packs in Service Manager 2010 SP1

Describes the steps you can take to import unsealed management packs.

14

Service Manager 2010 中的数据库恢复

System Center Service Manager 2010 环境中最多有五个数据库:

ServiceManager

DWDataMart

DWRepository

DWStagingAndConfig

ReportServer

此列表中的前四个数据库需要与 Service Manager 和数据仓库管理服务器进行连接并与其交换数据。数据在这些交换过程中被加密。必要时在管理服务器上备份和还原加密密钥,这在本指南中已进行了说明。对于承载数据库的服务器,加密密钥存储在数据库自身中。

在灾难恢复准备过程中,您将需要运行脚本来捕获安全日志,以保存每个数据库的用户角色信息。在部署 Service Manager 之后,如果需要,请运行数据仓库注册向导,您将使用 SQL Server 脚本向导创建一个脚本来捕获 SQL Server 登录名和对象级别权限。以后如果需要针对 Service Manager 数据库还原新服务器,则可以使用此脚本重新创建所需的登录名和对象级别权限。

如果承载数据库的计算机发生故障,那么只要能够将数据库(包含加密密钥)还原到与原计算机同名的计算机上即可。Service Manager 数据库的灾难恢复策略应该基于一般的 SQL Server 2008 灾难恢复过程。有关详细信息,请参阅 SQL Server 2008 联机丛书:灾难恢复计划

(/fwlink/?LinkId=131016)。请记住,如果要还原数据库,则必须为新计算机提供与原计算机相同的名称。

本部分中的内容

如何启动 SQL Server 脚本向导

描述如何启动 SQL Server 脚本向导来捕获用户角色信息。

Service Manager 2010 中的灾难恢复

System Center Service Manager 2010 环境中针对可能的软件和设备故障的恢复计划需要一个部署策略,该策略可将 Service Manager 和数据仓库管理服务器与承载其各自数据库的计算机分开。在安装过程中,必须在管理服务器和自助服务门户上备份加密密钥。还必须备份 Service Manager 数据库。在本指南中,所讨论的与管理服务器有关的过程也适用于自助服务门户。

15

管理服务器灾难恢复

在部署 System Center Service Manager 2010 时,会在管理服务器和关联的数据库上创建一个加密密钥。此外,管理服务器的计算机名称存储在关联的数据库上。在 Service Manager 和数据仓库管理服务器的情况下,加密密钥存储在注册表中。对于数据库,匹配的 Service Manager 管理服务器加密密钥存储在 Service Manager 数据库中;对于数据仓库管理服务器,匹配的加密密钥存储在

DWStagingAndConfig 数据库中。有关备份管理服务器上的加密密钥的详细信息,请参阅 System

Center 部署指南 (/fwlink/?LinkId=129134) 中的“通过备份加密密钥完成部署”。在承载数据库的计算机上,密钥存储在数据库中。如果备份了 SQL Server 数据库,也就备份了加密密钥。

此外,在部署了管理服务器及其关联的数据库之后,管理服务器的计算机名称会记录在关联的数据库中。

无论您是否遇到管理服务器的软件或硬件故障,恢复过程均以还原具有相同计算机名称的计算机为中心。以下概要略述了从管理服务器故障中恢复所需执行的步骤。

1. 在运行安装程序并安装新管理服务器之前还原加密密钥。

2. 在与原计算机同名的计算机上安装新管理服务器。

3. 安装管理服务器时,必须选择“使用现有数据库”,然后指定承载关联数据库的计算机的名称。

部署策略

作为一种最佳做法,请在不同的计算机上部署管理服务器和关联的数据库。通过分隔管理服务器和数据库,能为成功执行恢复操作做好准备。您需要用一个正常运行的数据库来还原发生故障的管理服务器。如果管理服务器和关联的数据库在同一台物理计算机上并且该计算机发生了故障,则无法进行恢复。

数据库灾难恢复计划以 SQL Server 灾难恢复过程为主要内容。有关详细信息,请参阅 SQL Server

联机丛书中的灾难恢复计划 (/fwlink/?LinkId=131016)。

升级附加的 Service Manager 管理服务器

首次运行了安装程序后,您就安装了初始 Service Manager 管理服务器并定义了该安装的管理组。在 Service Manager 环境中处理所有工作流的服务器正是此初始管理服务器。附加的 Service

Manager 管理服务器可用于对 Service Manager 控制台连接执行负载平衡。此外,可以提升一个附加的 Service Manager 管理服务器,以使其承担失败的初始 Service Manager 管理服务器的角色。有关详细信息,请参阅 System Center Service Manager 2010 部署指南

(/fwlink/?LinkId=129134) 中的“部署附加的 Service Manager 管理服务器”。

本部分中的内容

如何恢复 Service Manager 管理服务器

描述如何恢复 Service Manager 管理服务器。

16

如何恢复数据仓库管理服务器

描述如何恢复数据仓库管理服务器。

如何提升 Service Manager 管理服务器

描述如何提升辅助的 Service Manager 管理服务器。

如何还原 Service Manager 加密密钥

描述如何还原 Service Manager 加密密钥。

如何还原 Service Manager 加密密钥

使用以下过程在运行 之前还原加密密钥以还原 Service Manager 部件。

还原加密密钥

1. 使用本身是管理员组成员的帐户登录到将承载您尝试恢复的 Service Manager 部件的计算机。例如,登录到将承载 Service Manager 管理服务器、数据仓库管理服务器或自助服务门户的计算机。

2. 在 Windows 资源管理器中,打开安装媒体上的 ToolsSecureStorageBackup 文件夹。

3. 双击“”文件以启动加密密钥备份或还原向导。

注意

在本版本中,此向导包含对 Operations Manager 的引用。此问题将在将来的版本中解决。

4. 在“简介”页面上,单击“下一步”。

5. 在“备份或还原?”页面上,选择“还原加密密钥”,然后单击“下一步”。

6. 在“提供位置”页面上,键入加密密钥的路径和文件名。例如,如果想要指定文件名

作为 MyServer 服务器上的 Backup 文件夹共享中的加密密钥,请键入

,然后单击“下一步”。

7. 在“提供密码”页面上的“密码”框中,键入用于备份加密密钥的密码。在“确认密码”框中,重新输入相同密码,然后单击“下一步”。

8. 在收到“安全存储密钥还原完成”消息后,单击“完成”。

17

如何恢复 Service Manager 管理服务器

使用以下过程重新安装 Service Manager 管理服务器。

注意

开始此过程之前必须还原加密密钥。有关详细信息,请参阅如何还原 Service Manager 加密密钥。

恢复 Service Manager 管理服务器

1. 使用具有管理员权限的帐户登录到将承载新 Service Manager 管理服务器的计算机。

2. 在 Service Manager 安装媒体上,双击“”文件。

3. 在“Microsoft System Center Service Manager 2010”页上,单击“安装 Service Manager 管理服务器”。

4. 在“产品注册”页面上的文本框中键入信息。如果合适的话,请单击“我已阅读、了解并同意许可协议的条款”,然后单击“下一步”。

5. 在“安装位置”页上,确认有足够的可用磁盘空间,然后单击“下一步”。如有必要,请单击“浏览”以更改想要在其中安装 Service Manager 管理服务器的位置。

6. 在“系统检查结果”页上,确保通过了先决条件检查,或者虽然出现警告但至少通过了检查,然后单击“下一步”。

7. 在“配置 Service Manager 数据库”页面上,执行以下步骤:

a. 在“数据库服务器”框中,键入承载 Service Manager 数据库的计算机的名称,然后按 Tab

键。

b. 选择“使用现有数据库”。

c. 单击“数据库”列表,选择 Service Manager 数据库的数据库名称(默认名称为“ServiceManager”),然后单击“下一步”。

8. 在“配置 Service Manager 管理组”上,确保已经填充了“管理组名称”和“管理组管理员”字段。然后单击“下一步”。

9. 在“为 Service Manager 服务配置帐户”页上,单击“域帐户”,指定该帐户的用户名、密码和域,然后单击“测试凭据”。确保您收到以下消息:“凭据已被接受。”然后单击“下一步”。

10. 在“帮助改进 System Center”页面上,指明用于参与客户体验改善计划和错误报告的首选项。有关详细信息,请单击“告诉我有关此计划的更多信息”,然后单击“下一步”。

11. 在“安装摘要”页上,单击“安装”。

12. 在“安装程序成功完成”页上,单击“关闭”。

如何恢复数据仓库管理服务器

使用以下过程重新安装数据仓库管理服务器。

18

注意

开始此过程之前必须还原加密密钥。有关详细信息,请参阅如何还原 Service Manager 加密密钥。

恢复数据仓库管理服务器

1. 使用具有管理员权限的帐户登录到将承载新数据仓库管理服务器的计算机。

2. 在 Service Manager 安装媒体上,双击“”文件。

3. 在“Microsoft System Center Service Manager 2010”页上,单击“安装 Service Manager 数据仓库管理服务器”。

4. 在“产品注册”页面上的框中键入信息。如果合适的话,请单击“我已阅读、了解并同意许可协议的条款”,然后单击“下一步”。

5. 在“安装位置”页上,确认有足够的可用磁盘空间,然后单击“下一步”。如有必要,请单击“浏览”以更改想要在其中安装 Service Manager 管理服务器的位置。

6. 在“系统检查结果”页上,确保通过了先决条件检查,或者虽然出现警告但至少通过了检查,然后单击“下一步”。

7. 在“配置数据仓库数据库”页上,执行以下步骤:

a. 在“选择数据库以更改其默认属性”区域中,选择“暂存和配置”。

b. 在“数据库服务器”框中,键入承载数据仓库数据库的计算机的名称,然后按 Tab 键。

c. 选择“使用现有数据库”。

d. 单击“数据库”列表,选择暂存和配置数据库的数据库名称(默认名称为“DWStagingAndConfig”),然后单击“下一步”。

8. 在“配置数据仓库管理组”页面上,确保已经填充了“管理组名称”和“管理组管理员”字段。然后单击“下一步”。

9. 在“为数据仓库配置报表服务器”页面上的“报表服务器”文本框中,键入承载 SSRS 的计算机的计算机名称,然后单击“下一步”。

注意

您必须对报表服务器使用原始的 URL。

10. 在“为 Service Manager 服务配置帐户”页上,单击“域帐户”,指定该帐户的用户名、密码和域,然后单击“测试凭据”。确保您收到以下消息:“凭据已被接受。”然后单击“下一步”。

11. 在“配置报表帐户”页上,指定该帐户的用户名、密码和域,然后单击“测试凭据”。在收到“凭据已被接受”消息后,单击“下一步”。

12. 在“帮助改进 System Center”页面上,指明用于参与客户体验改善计划和错误报告的首选项。有关详细信息,请单击“告诉我有关此计划的更多信息”,然后单击“下一步”。

13. 在“使用 Microsoft Update 帮助保持您的计算机安全和最新”页上,指明用于通过 Microsoft

Update 检查 Service Manager 更新的首选项,然后单击“下一步”。

14. 在“安装摘要”页上,单击“安装”。

15. 在“安装程序成功完成”页上,单击“关闭”。

19

如何提升 Service Manager 管理服务器

使用此过程提升辅助的 Service Manager 管理服务器。

对辅助管理服务器执行以下步骤:

1. 关闭 Service Manager 控制台。

2. 在 Windows 桌面上,单击“开始”,然后单击“运行”。

3. 在“运行”对话框内的“打开”文本字段中,键入 ,然后单击“确定”。

4. 在“服务”窗口内的“服务(本地)”窗格中,找到以下三项服务,并对每项服务单击“停止”:

System Center Data Access 服务

System Center Management

System Center Management Configuration

5. 使“服务”窗口处于打开状态。

6. 打开 Windows 资源管理器。找到“Program FilesMicrosoft System CenterService Manager

2010”文件夹。

7. 在此文件夹中,删除“Health Service State”文件夹及其所有内容。

对 Service Manager 数据库执行以下步骤:

1. 在 Windows 桌面上,单击“开始”,指向“程序”,再指向“Microsoft SQL Server 2008”,然后单击“SQL Server Management Studio”。

2. 在“连接到数据库引擎”对话框中,执行以下步骤:

a. 在“服务器名称”框中,键入承载 ServiceManager 数据库的服务器的名称。

b. 在“身份验证”框中,选择“Windows 身份验证”。

c. 单击“连接”。

3. 在“对象资源管理器”窗格中,展开“数据库”,然后单击“ServiceManager”。

4. 在工具栏上,单击“新建查询”。

5. 在“”窗格(中心窗格)中,键入以下内容,其中 <服务器的 FQDN> 是您要升级的管理服务器的 FQDN:

EXEC p_PromoteActiveWorkflowServer '<服务器的 FQDN>'

6. 在工具栏上,单击“执行”。

7. 在“”窗格(中心窗格)的底部,确保显示“查询已成功执行”。

8. 退出 Microsoft SQL Server Management Studio。

对辅助管理服务器执行以下步骤

1. 在 Windows 桌面上,单击“开始”,然后单击“运行”。

2. 在“运行”对话框内的“打开”字段中,键入 ,然后单击“确定”。

3. 在“服务”窗口内的“服务(本地)”窗格中,找到以下三项服务,并对每项服务单击“启动”:

System Center Data Access 服务

20

System Center Management

System Center Management Configuration

您的辅助管理服务器现在是管理组的主要管理服务器。

Import Unsealed Management Packs in Service

Manager 2010 SP1

After you have restored your Service Manager management server, use the following procedure to import

your unsealed management packs.

In This Section

How to Import Management Packs

Describes how to import your backup copy of your unsealed management packs.

How to Import Management Packs

Use this procedure to import the unsealed management packs you earlier saved as part of your disaster

recovery procedures.

To import management packs

1. In the Service Manager 控制台, click Administration.

2. In the Administration pane, expand Administration, and then click Management Packs.

3. In the Tasks pane, under Management Packs, click Import.

4. In the Select Management Packs to Import window, under Favorite Links, specify the location

where you backed up your unsealed management packs, select the files, and then click Open.

5. In the Import Management Pack window, click Import.

21