Connecting Media to vCenter VMs

In Commander, you can connect datastore files, host devices and client devices to a VM's virtual hardware, such as a CD/DVD drive or floppy drive. Note that you can't add virtual hardware devices to a VM.

Note: To connect media files to a VM's virtual hardware device, the datastore where the media file is stored must be mounted to the VM's host.

See also Creating a Media Library.

Connecting datastore ISO files to VMs' virtual hardware

Access through:

Views > Inventory > Infrastructure or Applications

Available to:

Administrator, Operator with Approval, Operator Access Rights

To install a guest operating system and its applications on a new VM, you can connect to an ISO file that's stored on a datastore accessible to the host.

  1. Select a VM in the tree, then select Actions > Configuration Management > Manage Connected Media.

    In the Manage Connected Media dialog, the media devices available for that VM appear as well as any details about the media.

  2. Select one of the available media devices in the Media Devices section.
  3. If a selected media device is already connected, the Connected box on the Details pane is enabled.

    Note: The VM must be powered on to enable or disable the Connected option.

  4. Enable or disable the Connect at power on as required.
  5. From the Device Type menu, select Datastore.
  6. Next to the Datastore Path field, click Browse to locate the datastore file.

    Datastores and files available to the VM's current host are displayed. Only ISO files are displayed when connecting a CD-ROM/DVD device. Only FLP files are displayed when connecting a floppy device.

    Note: A "vmimages" folder is displayed in the root of the datastore browser; this folder doesn't appear for Service Portal users.

  7. Click OK, and OK again.

Connecting host devices to VMs' virtual hardware

Access through:

Views > Inventory > Infrastructure or Applications

Available to:

Administrator, Operator with Approval, Operator Access Rights

Connect to a physical CD or DVD device on the host so that you can install a guest operating system, VMware Tools, or other applications.

  1. Select a VM in the tree, then select Actions > Configuration Management > Manage Connected Media

    In the Manage Connected Media dialog, the media devices available for that VM appear as well as any details about the media.

  2. Select one of the available media devices in the Media Devices pane.
  3. If a selected media device is already connected, the Connected box on the Details pane is enabled.

    Note: The VM must be powered on to enable or disable the Connected option.

  4. Enable or disable the Connect at power on option as required.
  5. From the Device Type menu, choose Host Device.
  6. From the Host Device menu, choose the host device, then click OK.

Connecting client devices or floppy images to VMs' virtual hardware

You can configure a virtual hardware device to allow a user to connect a local device or image to a powered-on VM. This allows a user to install a guest operating system and its applications or other media on a VM.

Access through:

Views > Inventory > Infrastructure or Applications

Available to:

Administrator, Operator with Approval, Operator Access Rights

To connect client devices or floppy images to a VM's virtual hardware:

  1. Select a VM in the tree, then select Actions > Configuration Management > Manage Connected Media.

    In the Manage Connected Media dialog, the media devices available for that VM appear as well as any details about the media.

  2. Select one of the available media devices in the Media Devices pane.
  3. If a selected media device is already connected, the Connected box on the Details pane is enabled.

    Note: The VM must be powered on to enable or disable the Connected option.

  4. Enable or disable the Connect at power on option as required.
  5. From the Device Type menu, choose Client Device.
  6. Click OK.

Disconnecting virtual hardware devices

If you previously connected virtual hardware and you want to connect it to another datastore file, you must disconnect the previous file first.

Access through:

Views > Inventory > Infrastructure or Applications

Available to:

Administrator, Operator with Approval, Operator Access Rights

To disconnect virtual hardware from a host device, client device or datastore file:

  1. Select a VM in the tree, then select Actions > Configuration Management > Manage Connected Media.

    In the Manage Connected Media dialog, the media devices available for that VM appear as well as any details about the media.

  2. Select one of the available media devices in the Media Devices pane.
  3. Disable the Connected option, confirm the disconnection, and click OK.