Service Management Automation 範例 Runbook

 

適用於: Windows Azure Pack for Windows Server、System Center 2012 R2 Orchestrator

以下 Runbook 內含在 服務管理自動化 中作為範例 Runbook 以說明技巧和最佳作法。 您可以在 自動化 中的 Windows Server 適用的 Windows Azure Pack 擴充中使用這些 Runbook。

範例 Runbook

Runbook 名稱 說明
Sample-Deleting-VMCloud-Subscription 示範當使用者刪除 VM Clouds 訂閱時,用於觸發 Runbook 的實用案例。
Sample-Managing-Azure 顯示如何連接 Windows Azure 訂閱並且使用 Windows Azure PowerShell 模組執行基本操作。
Sample-Managing-ConfigurationManager 示範 服務管理自動化 連接至 System Center Configuration Manager 的功能。
Sample-Managing-DataProtectionManager 示範如何連接至 Data Protection Manager (DPM) 伺服器,並且檢視 DPM 伺服器上所找到的磁碟的相關資訊。
Sample-Managing-MySQLServers 示範如何擷取安全性權杖,以用來擷取主機伺服器的清單。
Sample-Managing-OperationsManager 示範 服務管理自動化 連接至 System Center Operations Manager 的功能。
Sample-Managing-Orchestrator 顯示如何連接至 System Center Orchestrator,並且啟動 Orchestrator Runbook 以利用您現有的基礎結構。
Sample-Managing-Plans 示範如何建立新計劃以及新增具有定義配額的 SQL Server 服務至新計劃中。
Sample-Managing-ServiceBusClouds 示範如何連接至 Service Bus Cloud 伺服器並且檢視所建立命名空間的相關資訊。
Sample-Managing-SQLServers 示範如何建立新伺服器群組以及新增 SQL 主控伺服器。
Sample-Managing-UserAccounts 示範如何在 Windows Server 適用的 Windows Azure Pack 中建立使用者,使用者將在 Windows Azure 組件 中建立,並且會出現在 系統管理員的管理入口網站 使用者擴充中。 不過,此使用者也應整合至驗證提供者 (例如 AuthSite) 以存取 租用戶的管理入口網站(這並未包含在此範例中)。
Sample-Managing-VirtualMachineManager 示範如何連接至 Virtual Machine Manager (VMM) 伺服器以及檢視 VMM 伺服器授權的相關資訊。
Sample-Managing-VMClouds 示範如何存取 Service Provider Foundation 伺服器的資料庫連線的相關資訊,關於由 Service Provider Foundation 管理的 VMM 伺服器物件的相關資訊。
Sample-Managing-WebSiteCloud 示範如何連接至 Web Site Clouds 控制器伺服器,以及檢視部署了 Web Site Clouds 的伺服器的相關資訊。
Sample-Modify-VMCloud-Subscription 示範當租用戶或系統管理員暫停或啟動 VM Clouds 訂閱時,用於觸發 Runbook 的實用案例。
Sample-Using-Activities 示範 服務管理自動化 使用活動的功能
Sample-Using-Checkpoints 示範在 服務管理自動化 中使用檢查點的功能。
Sample-Using-Connections 示範 服務管理自動化 使用連線連接至遠端系統的功能。
Sample-Using-Credentials 示範 服務管理自動化 使用認證,以及輸出作為 服務管理自動化 Runbook 執行身分的使用者的功能。 然後,便會連線至伺服器 'ServerName' 並且輸出 'SampleCredential' 指定存取伺服器的使用者。
Sample-Using-Modules 示範在 Runbook 中匯入模組,並且在伺服器 'ServerName' 上輸出已匯入模組的數量。 然後,匯入 'ModulePath' 所指定的模組,並且輸出新模組計數以及對應新匯入模組的資訊。
Sample-Using-RunbookParameters 示範如何使用 Runbook 的輸入參數並且指定是否需要參數,提供預設參數值以及稍後在工作流程中使用參數值。
Sample-Using-Runbooks 示範如何從另一個 Runbook 中呼叫 Runbook。
Sample-Using-SuspendWorkflow 示範如何強制暫停 Runbook。 如果需要手動步驟以繼續進行 Runbook 時 (例如從特定人員接收登出核准) 會很有用。 在完成手動步驟後,暫停的 Runbook 將會以手動方式恢復以繼續執行 Runbook。
Sample-Using-Variables 示範 服務管理自動化 使用變數的功能。
Sample-Using-VMCloud-Automation 示範在啟動 Service Provider Foundation 事件時觸發 Runbook 的實用案例。