Reporting Services SharePoint 服務和服務應用程式Reporting Services SharePoint Service and Service Applications

Reporting ServicesReporting Services SharePoint 模式是以 SharePoint 服務架構為基礎進行架構,並且利用 SharePoint 服務和一對多服務應用程式。SharePoint mode is architected on the SharePoint service architecture and utilizes a SharePoint service and one to many service applications. 建立服務應用程式可讓服務變成可用,並產生服務應用程式資料庫。Creating a service application makes the service available and generates the service application database. 您可以建立多個 Reporting Services 服務應用程式,但是一個服務應用程式就足以應付大部分的部署狀況。You can create multiple Reporting Services service applications but one service application is sufficient for most deployment scenarios.

本主題涵蓋下列資訊:This topic covers the following information:

建立 Reporting Services 服務應用程式Creating a Reporting Services Service Application

您可以使用 SharePoint 管理中心或 PowerShell 指令碼建立 Reporting ServicesReporting Services 服務應用程式。You can use SharePoint Central Administration or PowerShell scripts to create the Reporting ServicesReporting Services services applications. 如需使用 SharePoint 管理中心的詳細資訊,請參閱安裝適用於 SharePoint 2010 的 Reporting Services SharePoint 模式中的<建立 Reporting Services 服務應用程式>一節。For more information on using SharePoint Central Administration, see the "Create a Reporting Services Service Application" section in Install Reporting Services SharePoint Mode for SharePoint 2010. 如需建立服務應用程式的範例 PowerShell 指令碼,請參閱本主題稍後的<PowerShell>一節。See the PowerShell section later in this topic for a sample PowerShell script for creating service applications.

修改服務應用程式與 Proxy 群組的關聯Modify the Associations of the Service Application with a proxy group

建立服務應用程式的 [新增] 頁面包含 [Web 應用程式關聯] 區段。The New page for creating a services application contains the section Web Application Association. 此區段可讓您在建立服務應用程式時產生關聯。The section allows you to associate your service application as you create it. 使用下列步驟變更關聯並將客戶組態指派至服務應用程式。Use the following steps to change the association and assign a customer configuration to the service application. 您也可以使用相同的一般程序將 Proxy 加入至預設群組,而不是將服務應用程式的關聯變更為自訂群組。The same general process can also be used to add the proxy to the default group rather than changing the association of the service application to a custom group.

  1. 在 [SharePoint 管理中心] 的 [應用程式管理] 中,按一下 [設定服務應用程式關聯]In SharePoint Central Administration, in the Application Management, click Configure Service Application Associations.

  2. 在 [服務應用程式關聯] 頁面上,將檢視切換至 [服務應用程式]On the Service application Associations page, change the view to Service Applications.

  3. 尋找並按一下新的 Reporting ServicesReporting Services 服務應用程式的名稱。Find and click the name of your new Reporting ServicesReporting Services Service application. 您也可以按一下應用程式 Proxy 群組名稱 default ,將 Proxy 加入至預設群組,而不要完成下列步驟。You could also click the application proxy group name default to add the proxy to default group rather than completing the following steps.

  4. [編輯下列連線群組] 選取方塊中選取 [自訂]Select Custom in the selection box Edit the following group of connections.

  5. 核取您的 Proxy 的方塊,然後按一下 [確定]Check the box for your proxy and click Ok.

編輯服務應用程式屬性Edit Service Application Properties

您可以再次開啟服務應用程式的屬性頁來修改屬性。You can reopen the property page of the service application to modify the properties.

  1. 在 [SharePoint 管理中心] 的 [應用程式管理] 群組中,按一下 [管理服務應用程式]In SharePoint Central Administration, in the Application Management group, click Manage service applications.

  2. 按一下類型資料行選取整個資料列,藉此選取服務應用程式。Select the service application by clicking the type column to select the entire row. 如果您按一下應用程式的名稱,則會開啟服務的 [管理] 選項頁面,而不是開啟服務應用程式的屬性。If you click the name of the application it, the Management options page for the service opens instead of opening the properties of the service application.

  3. 在 [服務應用程式] 功能區中,按一下 [內容]In the Service Applications ribbon, click Properties.

使用 PowerShell 建立 Reporting Services 服務應用程式To create a Reporting Services Service Application using PowerShell

您可以使用 PowerShell 建立服務應用程式和 Proxy。You can use PowerShell to create the Service application and proxy. 下方範例是假設您知道要設定服務應用程式使用哪個應用程式集區。The sample below assumes that you know what application pool you want to configure the service application to use.

  1. 將應用程式集區名稱的應用程式集區物件加入至要傳遞到 [新增] 動作的變數中。Add the application pool object of your application pool name to a variable that is passed into the New action.

    $appPoolName = Get-SPServiceApplicationPool "<application pool name>"  
    
  2. 使用您提供的名稱與應用程式集區名稱建立服務應用程式。Create the service application with a name and application pool name you provide.

    New-SPRSServiceApplication -Name 'MyServiceApplication' -ApplicationPool $appPoolName -DatabaseName 'MyServiceApplicationDatabase' -DatabaseServer '<Server Name>'  
    
  3. 取得新的服務應用程式物件,並且將物件以管道傳送至 Pipe 新 Proxy Cmdlet。Get the new service application object, and pipe the object into the Pipe the new proxy cmdlet.

    Get-SPRSServiceApplication -name MyServiceApplication | New-SPRSServiceApplicationProxy "MyServiceApplicationProxy"  
    
工作Task 連結Link
管理服務應用程式的設定。Manage the settings of your Service Application. 管理 Reporting Services SharePoint 服務應用程式Manage a Reporting Services SharePoint Service Application
備份和還原服務應用程式及相關元件,例如加密金鑰和 Proxy。Backup and restore the service application and related components such as encryption keys and proxy. 備份與還原 Reporting Services SharePoint 服務應用程式Backup and Restore Reporting Services SharePoint Service Applications