迁移 Reporting Services 安装(SharePoint 模式)

如果您无法完成 Reporting Services SharePoint 模式环境的就地升级,则可以将报表项和配置从一个 SharePoint 环境迁移到另一个环境。 具体步骤可能会根据您正在从其迁移的版本而有所不同。 有关 SharePoint 模式的升级和迁移方案的详细信息,请参阅升级和迁移 Reporting Services。 有关迁移 本机模式部署的信息,请参阅迁移 Reporting Services 安装(本机模式)

SharePoint 2013 不支持就地升级。 但是支持数据库附加升级过程。 该行为不同于升级到 SharePoint 2010,在后者,客户可以在两个基本的升级方法(就地升级和数据库附加升级)之间进行选择。

如果您具有与 SharePoint 2010 相集成的 Reporting Services 安装,则不能就地升级 SharePoint 服务器。 不过,您可以将内容数据库和服务应用程序数据库从 SharePoint 2010 场迁移到 SharePoint 2013 场。 本主题概要介绍了完成数据库附加升级以及完成与 Reporting Services 相关的迁移所需的步骤。

提示提示

如果需要从本机模式部署迁移到 SharePoint,请参阅以下资源:

注意注意

有关升级 SharePoint 2013 的详细信息,请参阅下列文章:

本主题内容:

  • Migrate from SQL Server versions prior to SQL Server 2012

  • Migrate from a SQL Server 2012 deployment

  • Additional Resources

从 SQL Server 2012 之前的 Reporting Services 版本迁移

不能从一个 SharePoint 场迁移到另一个场,因为每个场都具有不同的标识符,例如站点 ID。

首先,通过安装 SharePoint 必备安装程序、SharePoint 服务器、SQL Server 2012 Reporting Services SharePoint 模式,创建新的 SharePoint 环境。 有关详细信息,请参阅安装 Reporting Services SharePoint 模式作为单服务器场

如果您想要将 SQL Server 2012 数据库引擎用于内容、配置或 Reporting Services 目录数据库以及 SharePoint 2010,则还必须安装 SharePoint 2010 Service Pack 1。

**Reporting Services 仅内容迁移:**不支持仅将 Reporting Services 目录数据库迁移到新的场,因为场中的数据库目录和其他项具有在新场中将不会被识别的关联的站点 ID。 如果您需要将内容移到新的场,则需要使用 rs.exe 之类的工具将内容复制到新的 SharePoint 安装。

**完全迁移:**如果将 SharePoint 内容数据库与 Reporting Services 目录数据库一起迁移到新的场中,则可以按照在本文中介绍的一系列备份和还原选项执行。 在某些情况下,您将需要使用与在备份阶段中使用的不同工具来用于还原阶段。 例如,您可以使用 Reporting Services 配置管理器从 Reporting Services 的之前版本备份加密密钥,但需要使用 SharePoint 管理中心或 PowerShell 将加密密钥还原到 SQL Server 2012 Reporting Services SharePoint 模式安装。

用于“返回首页”链接的箭头图标Top

您将在完成的迁移中看到的数据库

下表描述了与在您成功迁移了 Reporting Services SharePoint 安装后将具有的 Reporting Services 相关的 SQL Server 数据库。

数据库

示例名称

目录数据库

ReportingService_[服务应用程序 GUID] (*)

用户迁移。

Temp 数据库

ReportingService_[服务应用程序 GUID]TempDB (*)

用户迁移。

警报数据库

ReportingService_[服务应用程序n GUID]_Alerting

在创建 Reporting Services 服务应用程序时创建。

**(*)**该表中所示的示例名称遵循在您创建新的 SSRS 服务应用程序时 SSRS 使用的命名约定。 如果您在从不同的服务器进行迁移,则您的目录和 tempDB 将具有来自原始安装的名称。

用于“返回首页”链接的箭头图标Top

备份操作

本节介绍迁移所需的信息的类型以及用于完成备份的工具或过程。

SSRS SharePoint 迁移的基本关系图

对象

方法

说明

1

Reporting Services 加密密钥。

Rskeymgmt.exe 或 Reporting Services 配置管理器。 请参阅备份和还原 Reporting Services 加密密钥

  • 指出的工具可用于备份操作;但对于还原操作,您将使用 Reporting Services 服务应用程序管理页或 PowerShell。

2

SharePoint 内容数据库。

备份数据库和分离数据库。

请参阅确定升级方法 (SharePoint Server 2010) (https://technet.microsoft.com/en-us/library/cc263447.aspx) 中的“数据库附加升级”部分。

3

作为 Reporting Services 目录数据库的 SQL Server 数据库。

SQL Server 数据库备份和还原

或者

SQL Server 数据库分离和附加。

4

Reporting Services 配置文件。

简单文件复制。

如果您对文件进行了自定义,则仅需复制 rsreportserver.config。

文件默认位置的示例:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\Reporting

  • Rsreportserver.config

  • Rssvrpolicy.config

  • 针对报表服务器 ASP.NET 应用程序的 Web.config。

  • 针对 ASP.NET 的 Machine.config

用于“返回首页”链接的箭头图标Top

还原操作

本节介绍迁移所需的信息的类型以及用于完成还原的工具或过程。 您用于还原的工具可能会不同于用于备份的工具。

在您完成还原步骤前,需要安装和配置新的 SharePoint 2010 场和 Reporting Services SharePoint 模式。 有关 Reporting Services SharePoint 模式的基本安装的详细信息,请参阅安装 Reporting Services SharePoint 模式作为单服务器场

对象

方法

说明

1

将 SharePoint 内容数据库还原到新的场。

SharePoint“数据库附加升级”方法。

基本步骤:

  1. 在新的服务器上还原数据库。

  2. 通过指示 URL 将内容数据库附加到 Web 应用程序。

  3. Get-SPWebapplication 将列出所有 Web 应用程序和 URL。

请参阅确定升级方法 (SharePoint Server 2010) (https://technet.microsoft.com/en-us/library/cc263447.aspx) 中的“数据库附加升级”部分以及附加数据库和升级到 SharePoint Server 2010 (https://technet.microsoft.com/en-us/library/cc263299.aspx)

2

还原作为 Reporting Services 目录数据库 (ReportServer) 的 SQL Server 数据库。

SQL Database 库备份和还原。

或者

SQL Server 数据库分离和附加。

首次使用数据库时,Reporting Services 将根据需要更新数据库架构,以便数据库可用于 SQL Server 2012 环境。

有关使用 SharePoint 管理中心的详细信息,请参阅安装用于 SharePoint 2013 的 Reporting Services SharePoint 模式中的“步骤 3:创建 Reporting Services 服务应用程序”一节。

有关使用 PowerShell 的示例,请参阅 Reporting Services SharePoint 服务和服务应用程序(SharePoint 模式)中的“使用 PowerShell 创建 Reporting Services 服务应用程序”一节。

3

创建新的 Reporting Services 服务应用程序。

SharePoint 管理中心。

在您创建新的服务应用程序时,将其配置为使用您复制到的报表服务器数据库。

4

还原 Reporting Services 配置文件。

简单文件复制。

文件默认位置的示例:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\Reporting。

5

还原 Reporting Services 加密密钥。

使用 Reporting Services 服务应用程序“SystemSettings”页还原密钥备份文件。

或者

PowerShell。

请参阅管理 Reporting Services 服务应用程序主题中的“密钥管理”部分。

用于“返回首页”链接的箭头图标Top

附加配置

根据您配置以前 SharePoint 环境的方式,您可能需要完成以下一个或多个操作:

  1. 为 Reporting Services 服务应用程序配置 NTLM 身份验证。 有关详细信息,请参阅为 Reporting Services 服务应用程序配置电子邮件

  2. 配置或启用数据扩展插件。

    如果您的以前的 Reporting Services 安装使用了您在 rsreportserver.config 配置文件中手动配置的扩展插件,则需要使用 PowerShell 在 SQL Server 2012 环境中启用它们。 SQL Server 2012  Reporting Services 体系结构不在 rsreportserver.config 文件中存储扩展插件信息。

    有关使用 PowerShell 和 Cmdlet New-SPRSExtension 的详细信息,请参阅 PowerShell cmdlet(Reporting Services SharePoint 模式)

从 SQL Server 2012 部署迁移

在多服务器场中,用户可能会在不同计算机上分别具有内容数据库和目录数据库,在此情况下,您实际上仅需要将安装有 Reporting Services 服务的新服务器添加到 SharePoint 场中,然后从旧服务器上删除它。 应该不需要复制数据库。

备份操作

  1. 备份 Reporting Services 加密密钥。

  2. 在 SharePoint 管理中心中(或者使用 PowerShell)备份 Reporting Services 服务应用程序。 这还将备份 SharePoint 中的服务应用程序数据库。 请参阅主题备份和还原 Reporting Services 服务应用程序

  3. 如果您具有无人参与的执行帐户 (UEA) 和 Windows 身份验证,请记下凭据,以便在还原过程使用这些凭据。

用于“返回首页”链接的箭头图标Top

还原操作

  1. 使用 SharePoint 管理中心还原 Reporting Services 服务应用程序。 您也可以使用 PowerShell。

  2. 还原 Reporting Services 加密密钥。

    请参阅管理 Reporting Services 服务应用程序主题中的“密钥管理”部分。

  3. 对服务应用程序配置 UEA 和 Windows 凭据。

用于“返回首页”链接的箭头图标Top

其他资源

用于“返回首页”链接的箭头图标Top

请参阅

概念

升级和迁移 Reporting Services

迁移 Reporting Services 安装(本机模式)