安装 Lync Server 2013 监控报告Installing Lync Server 2013 Monitoring Reports

 

上次修改的主题: 2015-02-27Topic Last Modified: 2015-02-27

Microsoft Lync Server 2013 监控报告为您提供了大量有关在组织中进行的通信会话质量和数量的信息。Microsoft Lync Server 2013 Monitoring Reports provide you with a wealth of information about the quality and quantity of the communication sessions that take place in your organization. 但是,在安装 Lync Server 2013 时不会自动安装监控报告;相反,您必须单独安装监控报告,并且仅在计算机上安装了 Lync Server 之后。However, Monitoring Reports are not automatically installed when you install Lync Server 2013; instead, you must install Monitoring Reports separately, and only after Lync Server has been installed on the computer.

备注

建议您在安装监控数据库的同一台计算机上安装监控报告。这可简化分配用于访问报告的权限的过程:在承载监控存储的计算机上安装监控报告意味着,您无需配置允许一台计算机上的数据库与另一台计算机上正在运行的 Reporting Services 进行交互的权限。It is recommended that you install Monitoring Reports on the same computer where the monitoring database is installed. This simplifies the process of assigning permissions for accessing the reports: installing Monitoring Reports on the computer that hosts the monitoring store means that you will not have to configure permissions that allow a database on one computer to interact with Reporting Services running on a second computer.

Lync Server 监控报告包括30多个报告,旨在提供有关会议、对等 IM 会话、用户注册、响应组应用程序等详细信息。Lync Server Monitoring Reports include over 30 reports designed to provide detailed information about conferences, peer-to-peer IM sessions, user registrations, the Response Group application, and much more. 对于2013版本,Lync Server 监控报告包含许多增强功能:For the 2013 version, Lync Server Monitoring Reports include a number of enhancements:

监控报告文档中提供了有关各个报告的详细信息。More information on the individual reports can be found in the Monitoring Reports documentation.

备注

Lync Server 2013 中包含另一个新报告-QoE 呼叫详细信息子报告。There is another new report – QoE Call Detail Subreport – included in Lync Server 2013. 但此报告主要供内部使用,且无法直接访问。However, this report is primarily for internal use, and is not intended to be directly accessed.

有两种安装 Lync Server 监视报告的方法:您可以使用 Lync Server 部署向导,也可以使用 Lync Server 2013 安装文件中附带的 Windows PowerShell 脚本。There are two ways to install Lync Server Monitoring Reports: you can use the Lync Server Deployment Wizard or you can use a Windows PowerShell script included with the Lync Server 2013 installation files. 无论您使用哪种方法安装此报告,都必须先确保:Regardless of the method you use to install the reports you must first make sure that you:

  • 具有向监控数据库中的用户帐户添加数据库角色的权限。Have the right to add a database role to a user account in the monitoring database.

  • 担当 SQL Server Reporting Services 中的内容管理器角色。此角色授予您将报告部署到 SQL Server Reporting Services 的权限。Hold the Content Manager role in SQL Server Reporting Services. This role gives you the right to deploy reports to SQL Server Reporting Services.

若要使用部署向导安装监控报告,请完成下列步骤:To install the Monitoring Reports by using the Deployment Wizard, complete the following steps:

  1. 依次单击 " 开始"、" 所有程序"、" Microsoft Lync server 2013",然后单击 " Lync server 部署向导"。Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Deployment Wizard.

  2. 在部署向导中,单击“部署监控报告”**** 以便启动部署监控报告向导。In the Deployment Wizard, click Deploy Monitoring Reports in order to start the Deploy Monitoring Reports wizard.

  3. 在部署监控报告向导中的“指定监控数据库”**** 页上,确保承载您的监控存储的计算机的完全限定域名显示在“监控数据库”**** 下拉列表中。(如果您具有多个监控存储,则需要从该下拉列表中选择适当的服务器。)确认“SQL Server Reporting Services (SSRS)实例”**** 框中显示了正确的 SQL Server 实例(例如,“atl-sql-001.litwareinc.com/archinst”****),然后单击“下一步”****。In the Deploy Monitoring Reports wizard, on the Specify Monitoring Database page, make sure that the fully qualified domain name of the computer hosting your monitoring store appears in the Monitoring database dropdown list. (If you have multiple monitoring stores you will need to select the appropriate server from the dropdown list.) Verify that the correct SQL Server instance appears in the SQL Server Reporting Services (SSRS) instance box (for example, atl-sql-001.litwareinc.com/archinst) and then click Next.

  4. 在 " 指定凭据 " 页上的 " 用户名 " 框中,键入访问监视报告时要使用的帐户的域名和用户名 (例如, litwareinc \ kenmyer) 。On the Specify Credentials page, in the User name box, type the domain name and user name of the account to be used when accessing the Monitoring Reports (for example, litwareinc\kenmyer). 如果 (域用户名中不使用此格式 \) 将发生错误。If you do not use this format (domain\user name) an error will occur.

    在“密码”**** 框中键入用户帐户密码,然后单击“下一步”****。Type the user account password in the Password box, and then click Next. 请注意,此帐户不需要任何特殊权限。Note that no special rights are required for this account. 安装程序完成时,将自动向该帐户授予所需的登录和数据库权限。The account will automatically be granted the required logon and database permissions when setup completes.

  5. 在“指定只读组”**** 页上,输入将为其授予对“用户”分组框中的 SQL Server Reporting Services 的只读访问权的安全组的名称。例如,若要授予对报告的只读管理员访问权,请输入“RTCUniversalReadOnlyAdmins”****。单击“下一步”****。On the Specify Read-Only Group page enter the name of a security group that will be granted read-only access to the SQL Server Reporting Services in the User group box. For example, to give read-only administrators access to the reports enter RTCUniversalReadOnlyAdmins. Click Next.

  6. 在“正在执行命令”**** 页上,单击“完成”****。On the Executing Commands page, click Finish.

还可以通过运行脚本 DeployReports.ps1 来从 Lync Server 命令行管理程序安装监控报告。此 Windows PowerShell 脚本可在 \ 安装 ReportingSetup 文件夹中的 Lync Server 安装介质上找到 \ 。Monitoring Reports can also be installed from the Lync Server Management Shell by running the script DeployReports.ps1; this Windows PowerShell script can be found on the Lync Server installation media in the \Setup\ReportingSetup folder. 若要使用 DeployReports.ps1 安装监控报告,请在命令行管理程序提示符处键入与以下内容类似的命令:To install Monitoring Reports using DeployReports.ps1, type a command similar to the following at the Management Shell prompt:

C:\Program Files\Microsoft Lync Server 2013\Deployment\Setup\DeployReports.ps1 -storedUserName "litwareinc\kenmyer" -storedPassword "p@ssw0rd" -readOnlyGroupName "RTCUniversalReadOnlyAdmins" -reportServerSqlInstance "atl-sql-001.litwareinc.com" -monitoringDatabaseId "MonitoringDatabase:atl-sql-001.litwareinc.com"

上面的命令中使用的参数如下表所示:The parameters used in the preceding command are described in the following table:

参数名称Parameter Name 必需Required 说明Description

storedUserNamestoredUserName

Yes

用于访问监控存储的用户帐户(格式为 domain\username);例如:User account (in the format domain\username) used to access the monitoring store; for example:

-storedUserName "litwareinc\kenmyer"

此帐户必须具有之前指定的 SQL Server 和 SQL Server Reporting Services 权限,否则脚本将失败。This account must have the previously-specified SQL Server and SQL Server Reporting Services permissions or the script will fail.

storedPasswordstoredPassword

Yes

用于访问监控存储的用户帐户的密码。Password for the user account used to access the monitoring store.

readOnlyGroupNamereadOnlyGroupName

No

将向其成员授予对监控报告的只读访问权的域或本地安全组。Domain or local security group whose members will be granted read-only access to the Monitoring Reports. 请注意,如果指定的组不存在,该脚本将失败。Note that the script will fail if the specified group does not exist. 如果您稍后决定撤消这些权限,或决定向其他用户或其他组授予访问权限,则可使用 SQL Service Reporting Services 报告管理器完成此操作。If you later decide to revoke these permissions, or if you decide to grant other users or other groups access permissions, you can do so using the SQL Service Reporting Services Report Manager.

reportSqlServerInstancereportSqlServerInstance

No

承载 Reporting Service 的 SQL Server 实例。必须使用报告服务器的完全限定域名来指定报告实例;例如:SQL Server instance that hosts the Reporting Service. The Reporting instance must be specified using the fully qualified domain name of the Report Server; for example:

-reportServerSqlInstance atl-sql-001.litwareinc.com

如果脚本中未包含此参数,则假定 Reporting Services 由承载监控数据库的同一 SQL Server 实例承载。If this parameter is not included the script will assume that the reporting services are hosted by the same SQL Server instance that hosts the monitoring database.

monitoringDatabaseIdmonitoringDatabaseId

No

监控数据库的服务标识。可以通过运行此命令返回监控数据库的标识:Service Identity for the monitoring database. You can return the Identities for your monitoring databases by running this command:

Get-CsService -MonitoringDatabase

安装监控报告之后,您必须使用 Set-CsReportingConfiguration cmdlet 配置用于访问这些报告的 URL。After the Monitoring Reports have been installed you must then use the Set-CsReportingConfiguration cmdlet to configure the URL used to access these reports. 可以通过运行以下 Windows PowerShell 命令,从 Lync Server 命令行管理程序执行此任务。This task can be carried out from the Lync Server Management Shell by running the following Windows PowerShell command. 请注意,建议(但不要求)您在配置报告 URL 时使用 HTTPS 协议:Note that it is recommended, but not required, that you use the HTTPS protocol when configuring the reporting URL:

Set-CsReportingConfiguration -Identity "MonitoringDatabase:atl-sql-001.litwareinc.com" -ReportingURL "https://atl-sql-001.litwareinc.com:443/Reports_ARCHINST"

在上面的命令中,ReportingUrl 属性应设置为 SQL Server 2008 R2 Reporting Services 所使用的报告管理器 URL。可以通过在已安装 SQL Server Reporting Services 的计算机上完成以下步骤来确定报告管理器 URL:In the preceding command, the ReportingUrl property should be set to the Report Manager URL used by SQL Server 2008 R2 Reporting Services. You can determine the Report Manager URL by completing the following steps on the computer where SQL Server Reporting Services has been installed:

  1. 依次单击“开始”、“所有程序”、“Microsoft SQL Server 2008 R2”、“配置工具”和“Reporting Services 配置管理器”。Click Start, click All Programs, click Microsoft SQL Server 2008 R2, click Configuration Tools, and then click Reporting Services Configuration Manager.

  2. 在“Reporting Services 配置连接”对话框中,确保“服务器名称”框中显示 Reporting Services 计算机的名称。从“报告服务器实例”下拉列表中选择 SQL Server 实例,然后单击“连接”。In the Reporting Services Configuration Connection dialog box, make sure that the name of the Reporting Services computer appears in the Server Name box. Select the SQL Server instance from the Report Server Instance dropdown list and then click Connect.

  3. 在“Reporting Services 配置管理器”中,单击“报告管理器 URL”。“报告管理器 URL”窗格中应显示一个或多个 URL。虽然可将其中的任一 URL 用作报告 URL,但再次建议 ReportingUrl 使用 HTTPS 协议。In Reporting Services Configuration Manager, click Report Manager URL. One or more URLs should appear in the Report Manager URL pane. Any of these URLs can be used as the Reporting URL although, again, it is recommended that the ReportingUrl use the HTTPS protocol.

如果已为监控数据库设置镜像数据库,则还必须将监控报告与镜像数据库相关联。If you have set up a mirror database for your monitoring database then you must also associate the Monitoring Reports with the mirror database. 有关详细信息,请参阅 在 Lync Server 2013 中将监控报告与镜像数据库相关联 的文章。See the article Associating Monitoring Reports with a mirror database in Lync Server 2013 for details.