Condividi tramite


Create New Disk

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

The Create New Disk activity is used to create a new disk and add it to a virtual machine.

For the procedure to configure this activity, see Configuring the Create New Disk Activity.

The following tables list the properties and published data for this activity. The activity publishes all of the data from the required and optional properties into published data.

Create New Disk Properties

Element Description

Bus

The IDE or SCSI bus to which to attach the disk. If you select <Auto> then the first available value will be selected.

Bus Type

IDE or SCSI

Disk Type

Dynamic or Fixed

File Name

The name of the VHD on which the new disk will be based

Logical Unit Number (LUN)

The logical unit number (LUN) for the VHD object on an IDE or SCSI bus. If you select <Auto> then the first available value will be selected.

Size (MB)

The size of the Virtual Disk in megabytes (MB)

VM ID

The unique identifier (GUID) of the virtual machine for which the disk was created

Optional Properties

Element Description

Boot Volume

True or False. If True, the virtual machine is started from the disk.

System Volume

True or False. If True, the disk contains the operating system for the virtual machine.

Create New Disk Published Data

Element Description

Accessibility

Public or Internal

Added Time

The date and time that the disk was added, in the format mm/dd/yyyy hh:mm:ss AM or PM

Boot Volume

True or False. If True, the virtual machine is started from the disk.

Bus

The IDE or SCSI bus to which to attach the disk

Bus Type

IDE or SCSI

Disk Type

Dynamic or Fixed

Enabled

True or False. If False, the virtual machine cannot be started.

File Name

The name of the VHD on which the new disk will be based

Is VHD

True or False

LUN

The logical unit number (LUN) for the VHD object on an IDE or SCSI bus

Modified Time

The last modified date and time of the disk, in the format mm/dd/yyyy hh:mm:ss AM or PM

Pass-through Disk

A list of names of pass-through disks

Size (MB)

The size of the Virtual Disk in MB

System Volume

True or False. If True, the disk contains the operating system for the virtual machine.

Virtual Disk Drive Name

The name of the virtual disk drive

Virtual Hard Disk Path

The location of the VHD used to create the disk

VM ID

The unique identifier (GUID) of the virtual machine for which the disk was created

Configuring the Create New Disk Activity

To configure the Create New Disk activity

  1. From the Activities window, drag a Create New Disk activity to the active runbook window. Double-click the Create New Disk activity icon.

  2. Click the Properties tab.

  3. In the Configuration section, click the ellipsis button (...), and select the Name of the Virtual Machine Manager computer that you want to connect to with this activity. Click OK. The properties required to define this activity are displayed in the Properties section.

  4. In the Properties section, assign a value to each of the required properties. If applicable, to automatically populate the value from the data published by any previous activity in the workflow, right-click the property box, point to Subscribe, and then click Published data. Click the published data element you want to use, and then click OK. To view additional elements, select Show Common Published Data.

    For a list of the data elements published by each activity, see the Published Data tables in the activity topic. For information about the Common Published Data items, see Published Data in the System Center Orchestrator 2012 Runbook Guide.

  5. To use additional properties, click Optional Properties. In the Add/Remove Property dialog box, select the properties you want to apply to this activity from the Available list, and then click the right arrow button (>>). The properties appear in the Selected list. To remove a property from the Selected list, click the property, and then click the left arrow button (<<). Click OK. Assign values to the properties or Subscribe to Published data from any previous activity in the workflow, and then click OK.

  6. For information about the settings on the General and Run Behavior tabs, see Common Configuration Instructions for all Activities.

  7. Click Finish.

Other Disk Activities

The Integration Pack for System Center Virtual Machine Manager contains the following additional Disk activities: