取得主機活動Get Hosts Activity

重要

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

「取得主機」活動是在 runbook 中用來抓取所有附加至 vCenter 實例的主機。The Get Hosts activity is used in a runbook to retrieve all the hosts attached to a vCenter instance. 這可讓 runbook 在指定的主機上複製或建立虛擬機器之前,先判斷主機的清單。This allows the runbook to determine the list of hosts before cloning or creating virtual machines on a designated host.

下表列出此活動的必要和選擇性內容以及已發佈資料。The following tables list the required and optional properties and published data for this activity.

此活動會將來自必要和選擇性內容的所有資料,發佈成已發佈資料。The activity publishes all of the data from the required and optional properties into published data. 系統會根據您在定義活動時選取的類別來產生其他已發佈資料。Additional published data is generated based on the class that you select when you define the activity.

取得主控活動的必要屬性Get Hosts Activity Required Properties

未提供此活動的必要屬性。No required properties are provided for this activity.

取得主機活動選擇性屬性Get Hosts Activity Optional Properties

未提供此活動的選擇性屬性。No optional properties are provided for this activity.

取得裝載活動的已發佈資料Get Hosts Activity Published Data

名稱Name 描述Description 實值類型Value Type
主機Host VCenter server 所管理的主機路徑清單。A list of host paths managed by the vCenter server. StringString

下列程式說明設定「取得主機」活動所需的步驟。The following procedure describes the steps required to configure a Get Hosts activity.

設定取得主機活動To configure the Get Hosts Activity

  1. 在 [ 活動 ] 窗格中,將 [ 取得主機 ] 活動拖曳至使用中的 runbook。From the Activities pane, drag a Get Hosts activity to the active runbook.

  2. 按兩下 [ 取得主機 ] 活動圖示。Double-click the Get Hosts activity icon. [ 屬性 ] 對話方塊隨即開啟。The Properties dialog box opens.

  3. 在 [ 屬性 ] 索引標籤中設定設定,如下所示:Configure the settings in the Properties tab as follows:

    1. 在 [設定] 區段中,按一下省略號按鈕 (] **) **,然後選取您要用於此活動 VMware vSphere 伺服器連線。In the Configuration section, click the ellipsis button (...), and then select the VMware vSphere server connection that you want to use for this activity. 按一下 [確定]。Click OK.
  4. 按一下 [完成] 。Click Finish.