Get Hosts Activity

Applies To: System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator, System Center 2012 SP1 - Orchestrator

The Get Hosts activity is used in a runbook to retrieve all the hosts attached to a vCenter instance. 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

A list of host paths managed by the vCenter server.

String

Configuring the Get Hosts Activity

The following procedure describes the steps required to configure a Get Hosts activity.

To configure the Get Hosts Activity

  1. 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. 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.