向 Service Manager 資料倉儲註冊以啟用報告功能Register with the Service Manager data warehouse to enable reporting

重要

此版本的 Service Manager 已達到終止支援,建議您 升級至 Service Manager 2019This version of Service Manager has reached the end of support, we recommend you to upgrade to Service Manager 2019.

在您部署 Service Manager 管理伺服器和資料倉儲管理伺服器之後,您必須執行資料倉儲註冊嚮導,才能讓報告運作。After you have deployed the Service Manager management servers and data warehouse management servers, for reporting to function you must run the Data Warehouse Registration Wizard. 此嚮導會向資料倉儲管理群組註冊 Service Manager 管理群組。This wizard registers the Service Manager management group with the data warehouse management group. 它也會將 Service Manager 管理伺服器的管理元件部署到資料倉儲管理伺服器。It also deploys management packs from the Service Manager management server to the data warehouse management server.

管理組件部署程序可能需要花費幾個小時才能完成。The management pack deployment process can take several hours to complete. 最佳作法在這段時間內不要關閉任何 Service Manager 電腦,或停止任何 Service Manager 服務。It is a best practice not to turn off any Service Manager computers or stop any Service Manager services during this time. 在此註冊程式期間,您可以繼續使用 Service Manager 主控台來執行您想要的任何 Service Manager 功能。During this registration process, you can continue to use the Service Manager console to perform any Service Manager functions that you want.

為確保報表資料可以使用,請使用下列主題中的程序登錄資料倉儲和部署管理組件。To ensure that reporting data will be available, use the procedures in the following topics to register the data warehouse and deploy the management packs.

執行資料倉儲註冊嚮導Run the Data Warehouse Registration wizard

您可以使用 System Center-Service Manager 中的下列步驟,使用「資料倉儲註冊嚮導」向 Service Manager 資料倉儲註冊。You can use the following steps in System Center - Service Manager to use the Data Warehouse Registration Wizard to register with the Service Manager data warehouse.

執行資料倉儲登錄精靈To run the Data Warehouse Registration wizard

  1. 使用屬於 Service Manager 和資料倉儲管理系統管理員群組成員的帳戶,登入裝載 Service Manager 主控台的電腦。By using an account that is a member of the Service Manager and data warehouse management administrators group, log on to the computer that hosts the Service Manager console.

  2. 在 Service Manager 主控台中,選取 [ 管理]。In the Service Manager console, select Administration.

  3. 在 [系統管理] **** 窗格中展開 [系統管理] ****。In the Administration pane, expand Administration.

  4. 在 [系統 管理 ] 視圖的 [ 使用 Service Manager 的資料倉儲註冊 ] 區域中,按一下 [ 向 Service Manager 資料倉儲註冊]。In the Administration view, in the Register with Service Manager's Data Warehouse area, click Register with Service Manager Data Warehouse.

  5. 在資料倉儲登錄精靈的 [開始之前] **** 頁面上,按 [下一步] ****。In the Data Warehouse Registration wizard, on the Before You Begin page, click Next.

  6. 在 [資料倉儲] 頁面的 [伺服器名稱] 方塊中,輸入fully qualified domain name ( ) 裝載資料倉儲管理伺服器之電腦的完整功能變數名稱 FQDN,然後按一下 [測試連接]。On the Data Warehouse page, in the Server name box, type the fully qualified domain name (FQDN) of the computer hosting the data warehouse management server, and then click Test Connection. 如果測試不成功,請按 [下一步] ****。If the test is successful, click Next.

  7. 在 [認證] **** 頁面上,您可以接受 [執行身分帳戶] **** 清單中的預設項目,然後按 [下一步] ****,或是輸入您自己選擇之使用者或群組的認證。On the Credentials page, you can accept the default entry in the Run as account list, and then click Next, or you can enter credentials from a user or group of your own choosing.

    重要

    您指定的帳號將會被指派 Service Manager 管理伺服器上的系統管理認證,而且會被授與 Service Manager 資料庫的讀取權限。The account that you specify will be assigned administrative credentials on the Service Manager management server, and it will be granted Read permission on the Service Manager database. 當您向資料倉儲註冊時,可以在其他 Service Manager 管理群組中指定不同的認證。You can specify different credentials from other Service Manager management groups when you are registering with the data warehouse.

  8. 在 [摘要] **** 頁面上,按一下 [建立] ****。On the Summary page, click Create.

  9. 在 [完成] **** 頁面上,當顯示 [資料倉儲登錄成功] **** 時,按一下 [關閉] ****。On the Completion page, when The data warehouse registration succeeded appears, click Close.

  10. 畫面上會出現對話方塊,說明報表部署程序尚未完成。A dialog box states that the report deployment process is not finished. 這是預期的行為。This is to be expected. 請在 [System Center Service Manager] **** 對話方塊中,按一下 [確定] ****。On the System Center Service Manager dialog box, click OK.

  11. 在幾分鐘後,在關閉資料倉儲註冊嚮導之後,[ 資料倉儲 ] 按鈕便會新增至 Service Manager 主控台。In a few minutes, after you close the Data Warehouse Registration Wizard, the Data Warehouse button will be added to the Service Manager console. 在 Service Manager 主控台中,按一下 Service Manager 主控台按鈕右下角的箭號,然後按一下 [顯示更多按鈕]****。In the Service Manager console, click the arrow at the lower right corner of the Service Manager console buttons, and then click Show More Buttons.

    Windows PowerShell 您可以使用 Windows   PowerShell 命令來完成這項工作。Windows PowerShell You can use a Windows PowerShell command to complete this task. 如需如何使用 Windows   PowerShell 向資料倉儲註冊 Service Manager 管理群組的相關資訊,請參閱 新增 - get-scdwmgmtgroupFor information about how to use Windows PowerShell to register Service Manager management groups with the data warehouse, see Add-SCDWMgmtGroup.

判斷資料倉儲註冊何時完成Determine when Data Warehouse registration is complete

Service Manager 中的資料倉儲註冊過程中,會匯入數個管理元件。Several management packs are imported during the data warehouse registration process in Service Manager. 匯入所有管理元件之後,就會完成資料倉儲註冊。Data warehouse registration is complete when all of the management packs have been imported. 您必須使用下列程式來判斷該程式何時完成。You will have to determine when that process is complete by using the following procedure.

判斷管理組件部署完成的時間To determine when management pack deployment has completed

  1. 啟動 Service Manager 主控台。Start the Service Manager console.

  2. 在 Service Manager 主控台中,選取 [ 資料倉儲]。In the Service Manager console, select Data Warehouse.

  3. 展開 [資料倉儲] **** 窗格中的 [資料倉儲] ****,然後按一下 [資料倉儲作業] ****。In the Data Warehouse pane, expand Data Warehouse, and then click Data Warehouse Jobs.

  4. 在 [資料倉儲作業]**** 窗格中,按一下 [MPSyncJob]****。In the Data Warehouse Jobs pane, click MPSyncJob.

  5. 在 [ MPSyncJob 詳細資料] 窗格的 [ 同步處理工作詳細資料 ] 清單中,向右移動以查看 [ 狀態 ] 資料行,然後按一下 [ 狀態 ],依字母順序排序 [狀態] 資料行。In the MPSyncJob details pane, in the Synchronization Job Details list, scroll to the right to view the Status column, and then click Status to alphabetically sort the status column.

  6. 捲動 [狀態]**** 清單。Scroll through the Status list. 當所有管理元件的狀態 相關聯 或匯 時,管理元件部署程式就會完成。The management pack deployment process is complete when the status for all of the management packs is Associated or Imported. 請確定 [狀態] 清單中沒有 [擱置關聯]**** 或 [失敗]**** 的狀態。Make sure that there is no status of either Pending Association or Failed in the status list. 在 [ 資料倉儲作業 ] 窗格中,當註冊程式完成時, MPSyncJob 的狀態 會從 [執行中] 變更為 [ 未啟動 ]。In the Data Warehouse Jobs pane, the status of the MPSyncJob will have changed from Running to Not Started when the registration process is complete. 這個管理組件部署程序最多可能需要兩個小時才能完成。This deployment process can take up to two hours to complete.

  7. 使用下列步驟定期重新整理 [ 資料倉儲工作 ] 窗格,以監視註冊程式的進度:Use the following steps to periodically refresh the Data Warehouse Job pane to monitor the progress of the registration process:

    1. 在 [ 工作] 窗格的 [資料倉儲作業] 底下 ,按一下 [ 重新整理]。In the Tasks pane, under Data Warehouse Jobs, click Refresh.

    2. 在 [資料倉儲作業]**** 窗格中,按一下 [MPSyncJob]****。In the Data Warehouse Jobs pane, click MPSyncJob.

    3. 在 [ MPSyncJob 詳細資料] 窗格的 [ 同步處理工作詳細資料 ] 清單中,向右移動以查看 [ 狀態 ] 資料行,然後按一下 [ 狀態 ],依字母順序排序 [狀態] 資料行。In the MPSyncJob details pane, in the Synchronization Job Details list, scroll to the right to view the Status column, and then click Status to alphabetically sort the status column.

  8. 當您在步驟6中判斷出管理元件之後 ( ) ,請確定 [ 資料倉儲作業 ] 窗格中出現下列五個數據倉儲作業:After the management packs have been deployed (as determined in step 6), make sure that the following five data warehouse jobs appear in the Data Warehouse Jobs pane:

    • 提取_<Service Manager management group name>Extract_<Service Manager management group name>

    • 提取_<data warehouse management group name>Extract_<data warehouse management group name>

    • Load.CommonLoad.Common

    • Transform.CommonTransform.Common

    • MPSyncJobMPSyncJob

    注意

    如果沒有出現這五個數據倉儲作業,請完成下列步驟:If these five data warehouse jobs do not appear, complete the following steps:

    a.a. 在 [資料倉儲作業]**** 窗格中,按一下 [MPSyncJob]****。In the Data Warehouse Jobs pane, click MPSyncJob.
    b.b. 在 [工作]**** 窗格的 [同步處理]**** 底下,按一下 [繼續]****。In the Tasks pane, under Synchronization, click Resume.
    c.c. 藉由重複步驟 4through 6 來判斷管理元件部署是否已完成。Determine whether management pack deployment is complete by repeating steps 4through 6.

後續步驟Next steps