安裝 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 Monitoring Reports 包含超過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 Monitoring Reports 包含許多增強功能: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.

注意

有另一個新的報告– QoE 通話詳細資料子報表–包含在 Lync Server 2013 中。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 執行個體顯示於 [SQL Server Reporting Services (SSRS) 執行個體] 方塊中 (例如 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 管理命令介面安裝監視報告;您可以在 [安裝 ReportingSetup] 資料夾中的 Lync Server 安裝媒體上找到這個 Windows PowerShell 腳本 \ \ 。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

用於存取監控存放區的使用者帳戶 (格式為網域\使用者名稱);例如: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 執行個體。必須使用 Report 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 之用,再一次申明,建議您採用使用 HTTPS 通訊協定的 ReportingUrl 。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.