Share via


如何使用 PowerPivot 檢視 Orchestrator 資料

 

發行︰ 2016年3月

適用於: System Center 2012 SP1 - Orchestrator、System Center 2012 - Orchestrator、System Center 2012 R2 Orchestrator

您可以使用Microsoft PowerPivot for Microsoft Excel 來建立 System Center 2012 - Orchestrator 的報表。 您可以設定 PowerPivot,以便將 Orchestrator Web Service 當作資料摘要、篩選來源資料表以取得您要使用的資料,以及將資料表匯入 PowerPivot 工作表。 PowerPivot 可讓您建立資料表之間的關聯性,以及處理符合需求的資料。 您可以使用 PowerPivot 的樞紐分析表功能,產生使用 PowerPivot 活頁簿所含任何資料的報表。

將 Orchestrator Web Service 連線到 PowerPivot for Excel

您必須安裝 PowerPivot for Excel 才能啟用產品。

PowerPivot for Excel 需要 Excel 2010 (64 位元或 32 位元)。

安裝 PowerPivot

  1. 遵照安裝 PowerPivot for Excel 所述的指示。

使用 PowerPivot 來設定 Orchestrator Web Service 的連線。Orchestrator 使用 PowerPivot 也適用的開放式資料通訊協定 (OData)。

System_CAPS_ICON_note.jpg 注意

PowerPivot 中的 OData 提供者不支援 Runbook [圖表] 方塊所含的資料。 嘗試新增 Runbook 圖表資料表將會失敗。

建立 Orchestrator 摘要的連線

  1. 開啟 Excel。

  2. 按一下功能區上方的 [PowerPivot] 索引標籤。

  3. 按一下功能區中的 [PowerPivot 視窗]。 [PowerPivot for Excel] 活頁簿隨即開啟。

  4. 按一下功能區中的 [從資料摘要]。 [資料表匯入精靈] 隨即開啟。

  5. 在 [資料摘要 URL] 方塊中輸入 Orchestrator Web 服務 URL。 此 Web Service URL位於 Orchestrator SQL Server 的連接埠 81 上, 例如 http://orchestrator:81/Orchestrator2012/Orchestrator.svc。

  6. 按一下 [測試連接]。

  7. 如果測試連線成功,請按一下 [確定] 並繼續進行下一個步驟。

    如果測試連線失敗,請執行以下作業:

    1. 按一下 [確定]。

    2. 按一下 [進階]。 [進階] 對話方塊隨即開啟。

    3. 在 [安全性] 區段中,將 [整合式安全性] 變更為 [基本]。

    4. 將 [保存安全性資訊] 變更為 [True]。

    5. 在適當的方塊中輸入 [使用者識別碼] 和 [密碼]。

    6. 按一下 [測試連接]。

    7. 按一下 [確定],然後再按一下 [確定]。

  8. 按一下 [下一步]。

  9. 選取要匯入的資料表的核取方塊。

  10. 若要篩選資料行,請選取資料表並按一下 [預覽和篩選]、清除任何方塊予以排除,然後按一下 [確定]。

  11. 按一下 [完成]。 資料隨即匯入。

  12. 按一下 [關閉]。

建立 Runbook 結果摘要

下列程序說明建立含所有 Runbook 和結果計數清單的樞紐分析表,並使其依執行 Runbook 執行個體之 Runbook 伺服器分組的步驟。

System_CAPS_ICON_note.jpg 注意

在此範例中,Orchestrator 資料庫必須包含至少一個 Runbook 所產生的結果,以供 PowerPivot 匯入資料表。

建立資料摘要的連線

  1. 開啟 Excel。

  2. 按一下功能區上方的 [PowerPivot] 索引標籤。

  3. 按一下功能區中的 [PowerPivot 視窗]。 [PowerPivot for Excel] 活頁簿隨即開啟。

  4. 按一下功能區中的 [從資料摘要]。 [資料表匯入] 精靈隨即開啟。

  5. 在 [資料摘要 URL] 方塊中輸入 Orchestrator Web 服務 URL。

  6. 按一下 [下一步]。

  7. 選取 [Runbooks]、[RunbookInstances] 及 [RunbookServers] 等資料表的核取方塊。

  8. 按一下 [完成]。 資料隨即匯入。

  9. 按一下 [關閉]。

在 PowerPivot 中建立關聯性

  1. 在 [PowerPivot for Excel] 視窗中選取 [RunbookInstance] 索引標籤。

  2. 在 [RunbookId] 資料行的標頭上按一下滑鼠右鍵,然後選取 [建立關聯性]。

  3. 在 [相關查閱資料表] 清單中選取 [Runbooks],並在 [相關查閱資料行] 清單中選取 [Id],然後按一下 [建立]。

  4. 在 [RunbookServerId] 資料行的標頭上按一下滑鼠右鍵,然後選取 [建立關聯性]。

  5. 在 [相關查閱資料表] 清單中選取 [RunbookServers],並在 [相關查閱資料行] 清單中選取 [Id],然後按一下 [建立]。

如需 PowerPivot 關聯性的詳細資訊,請參閱 Introduction to PowerPivot relationships (PowerPivot 關聯性簡介)

建立樞紐分析表

  1. 在 [PowerPivot for Excel] 視窗中,按一下功能區內的 [樞紐分析表],然後選取 [樞紐分析表]。

  2. 在 [建立樞紐分析表] 對話方塊中選取 [新工作表],然後按一下 [確定]。

  3. 在 [PowerPivot 欄位清單] 的 [RunbookServers] 下,按一下 [名稱] 並將其拖曳至 [資料列標籤] 方塊。

  4. 在 [PowerPivot 欄位清單] 的 [Runbooks] 下,按一下 [名稱] 並將其拖曳至 [資料列標籤] 方塊。

  5. 在 [PowerPivot 欄位清單] 的 [RunbookInstances] 下,按一下 [狀態] 並將其拖曳至 [資料行標籤] 方塊。

  6. 在 [PowerPivot 欄位清單] 的 [RunbookInstances] 下,按一下 [RunbookId] 並將其拖曳至 [總和值] 方塊。

  7. 在 [RunbookId] 上按一下滑鼠右鍵並選取 [摘要方式],然後按一下 [計數]。

您現在可以修改預設標籤,並設定資料表格式以用於簡報。

如需 Runbook 工作流程的詳細資訊及 Runbook 作業和 Runbook 執行個體的說明,請參閱Orchestrator 架構中的 開始使用 System Center 2012 - Orchestrator

如需 PowerPivot for Excel 的詳細資訊,請參閱 PowerPivot for Excel 簡介

請參閱

管理 System Center 2012 - Orchestrator