6.3. Completing the Configuration of the Virtual Machine

Similar to a physical machine, a virtual machine requires disk storage and a network interface. Use the New Virtual Machine - Guide Me dialog box to define the network interfaces (NICs) and virtual disks of the new virtual machine. Click the Guide Me button on the main menu of the Virtual Machines tab to display the dialog box.

Define the NICs and Virtual Disks:

  1. On the New Virtual Machine - Guide Me dialog box, To set up one or more network interfaces (or NICs) click the Configure Network Interfaces button. The New Network Interface dialog box displays. You can accept the default values, or change them if necessary.
    Enter or select the Name, Network and Type of the network interface for the new virtual machine.

    Note

    The options on the Network and Type fields are populated by the networks available to the cluster, and the NICs available to the virtual machine.
    The type of NIC that can be added to a virtual machine depends on the NIC drivers available for a guest operating system. For virtual machines running Linux operating systems, use e1000. For virtual machines running Windows operating systems, use rtl8139. The Red Hat VirtIO NIC is an enhanced, custom virtual NIC which requires a special driver and offers major speed improvements over other virtual NICs. This VirtIO driver is installed by default in Red Hat Enterprise Linux 6 guests, and must be installed manually in Windows guests. The VirtIO NIC is the optimal NIC for virtual machines in the Red Hat Enterprise Virtualization environment.
  2. If required, select the Specify Custom MAC address checkbox, and enter the address of the NIC. Ensure that the MAC address is entered in lowercase.

    Example 6.1. MAC Address Format

    82:80:00:f5:9d:7c

  3. Click OK. The dialog box closes, and the New Virtual Machine - Guide Me dialog box displays again, with changed context. If you have additional NICs, you can add additional network interfaces, by clicking the Add another Network Interface button.
  4. To set up one or more virtual disks, on the New Virtual Machine - Guide Me dialog box, click the Configure Virtual Disk button.
  5. The New Virtual Disk dialog box displays. You can accept the default values, or change them if necessary.
    New Virtual Disk Dialog Box

    Figure 6.5. New Virtual Disk Dialog Box


    • Enter the Size of the virtual disk in GB. Ensure that the size is appropriate to the applications that need to run on the virtual machine.
    • Select the Storage domain where the virtual disk image is to be created.
    • You can also define the Advanced properties of the virtual disk. These are:

      Table 6.7. New Virtual Machine Dialog Box Fields

      Field
      Options
      Notes
      Disk Type
      Select from System or Data options.
      This refers to the disk onto which an operating system will be installed. For "Data", the default volume type is "Preallocated" and volume format is "RAW". For "System", the default volume type is "Preallocated" in case of adding disk to a virtual server and "Sparse" (thin-provisioning) in case of adding disk to a virtual desktop. Volume format for "System" disks is calculated according to the volume type and the storage domain type. Note that only one disk can be marked "Is Bootable" from the Manager.
      Interface
      Select the network drivers, either IDE or PV. IDE is the default selection that uses an emulation of the IDE protocol. Windows 2008 virtual machines require a IDE drivers. Select PV to use the para-virtualized drivers.
      Format
      Select from Preallocated or Thin Provision.
      Pre-allocated is the recommended selection for a server virtual machine, where a block of disk space is reserved for the virtual machine.
      Thin Provision allocates disk space as and when the virtual machine requires it. Thin Provision is the recommended selection for a desktop virtual machine.
      Wipe after delete
      Select if the disk is to be formatted after the virtual machine is deleted. Selecting this option ensures that all data in the virtual machine is removed after the virtual machine is deleted.
      Is bootable
      Select if the disk is to be a bootable disk.

  6. Click OK. The dialog box closes, and the New Virtual Machine - Guide Me dialog box displays again, with changed context. There should now be no further mandatory configuration to perform. Click Configure Later to close the dialog box.
Once the virtual machine is configured with virtual disk space and one or more network interfaces, the next step is to install operating systems and applications on it. The virtual machine displays in the list of virtual machines on the Virtual Machine tab, with a status of Down.

Note

You can also use the Details Pane on the Virtual Machines tab to add new virtual disks or network interfaces.