Basic Administration Guide : Configuring Virtual Machines : Adding New Hardware

Adding New Hardware
You can add virtual hardware to a virtual machine using the Add Hardware wizard. The virtual hardware that you add appears in the hardware list displayed in the Virtual Machine Properties wizard. The selected guest operating system determines the devices that are available to be added to a given virtual machine.
To start the wizard
1
From the VirtualCenter client, click Inventory in the navigation bar. Expand the inventory as needed, and click the appropriate virtual machine.
2
3
Click the Hardware tab.
4
Click Add to start the Add Hardware wizard.
Follow the steps in the following sections to add various types of virtual hardware to your virtual machine.
To add a serial port
1
2
Select Serial Port, and click Next.
3
Select the type of media you want the virtual port to access: use a physical serial port on the host, output to a file, or connect to a named pipe.
4
Click Next.
5
If you selected Use physical serial port on the host, use the drop-down menu to choose the port on the host computer that you want to use for this serial connection.
6
If you selected Output to file, browse to the file on the host that you want to use to store the output of the virtual serial port.
7
If you selected Connect to named pipe, enter a pipe name in the Pipe Name field and use the drop-down menus to choose the near and far ends of the pipe.
The options for the near end are client or server. The options for the far end are a process or a virtual machine.
By default, the serial port is connected when you power on the virtual machine.
8
(Optional) Deselect the Connect at power on check box if you do not want the serial port to connect when the virtual machine is powered on.
9
(Optional) Deselect the I/O mode Yield CPU on poll check box if you want to configure this serial port to use interrupt mode as opposed to polled mode.
Polled mode is of interest primarily to developers who are using debugging tools that communicate over a serial connection. Polled mode causes the virtual machine to consume a disproportionate share of CPU time. This makes the host and other guests run sluggishly.
10
This forces the affected virtual machine to use interrupt mode, which yields CPU time if the only task it is trying to do is poll the virtual serial port.
11
Review the information on the Ready to Complete window, and click Finish.
To add a parallel port
1
2
Select Parallel Port, and click Next.
3
4
Click Next.
5
If you selected Use physical parallel port on the host, choose the port from the drop-down menu. If you selected Output to file, browse to the location of the file.
6
Under Device status, deselect the Connect at power on check box if you do not want the parallel port device to be connected when the virtual machine powers on.
7
Click Next.
8
Review the information on the Ready to Complete window, and click Finish.
To add a DVD/CD-ROM drive
1
2
3
Select either Use physical drive or Use ISO image.
a
If you selected Use physical drive, select either client or host as the device location. Choose the drive you want to use from the drop-down menu.
Select pass through and use the check box to indicate whether to connect exclusively to the virtual machine, or select ATAPI emulation.
b
If you selected Use ISO Image, enter the path and filename for the image file, or click Browse to navigate to the file.
4
5
Click Next.
6
7
Review the information on the Ready to Complete window, and click Finish or Back if you want to change any information.
To add a floppy drive
1
2
Select Floppy Drive, and click Next.
3
4
Click Next.
5
a
If you selected Use a floppy image, browse to the floppy image.
b
If you selected Create a blank floppy image, browse to the floppy image.
6
7
Click Next.
8
Review the information on the Ready to Complete window, and click Finish.
To add an Ethernet adapter (NIC)
1
2
Select Ethernet Adapter, and click Next.
3
4
5
To add a hard disk
1
2
Select Hard Disk, and click Next.
3
You can store virtual machine data in a new virtual disk, an existing virtual disk, or a Mapped SAN LUN. A virtual disk, which appears as a single hard disk to the guest operating system, is composed of one or more files on the host file system. Virtual disks can easily be copied or moved on the same host or between hosts.
 
4
If you selected Create a new virtual disk, do the following:
a
b
Select the location as either Store with the virtual machine or Specify a datastore.
c
If you selected Specify a datastore, browse for the datastore location, and click Next. Continue with Step 7.
5
6
If you selected Mapped SAN LUN:
a
b
c
Select the compatibility mode: physical to allow the guest operating system to access the hardware directly or virtual to allow the virtual machine to use VMware snapshots and other advanced functions. Click Next.
7
8
a
Select Independent to make the disk independent. Independent disks are not affected by snapshots.
b
Persistent – The disk operates normally except that changes to the disk are permanent even if the virtual machine is reverted to a snapshot.
Nonpersistent – The disk appears to operate normally, but whenever the virtual machine is powered off or reverted to a snapshot, the contents of the disk return to their original state. All later changes are discarded.
9
Click Next.
10
To add a SCSI device
1
2
Select SCSI Device, and click Next.
3
Under Connection, use the drop-down menu to choose the physical device you want to use.
4
5
You can also select the check box to indicate that the virtual device is set up in the same way as the physical unit.
6