6.2.2. Creating New Virtual Machines without a Template

The Red Hat Enterprise Virtualization platform allows you to create a number of different types of virtual machines.

To create a new virtual machine from a blank template:

  1. Click the Virtual Machines tab.
    The Virtual Machines tab displays the existing virtual machines.
    The icon to the right of the virtual machine name indicates whether it is a virtual server, a desktop or a part of a desktop pool. See Figure 6.2, “Virtual Machine List”.
  2. Click the New Desktop button.
    The New Desktop Virtual Machine dialog box displays with the General tab. You only need to fill in the Name and Operating System fields. You can accept the default settings for other fields, or change them if required. If mandatory information is not entered, on clicking OK, the unfilled mandatory fields display with a colored border.
  3. Enter information in the General fields of the New Virtual Machine dialog box:

    Table 6.4. New Virtual Machine Dialog Box Fields

    Field
    Description
    Notes
    Data Center
    Select an existing Data Center from the list.
    The Default data center displays by default.
    Host Cluster
    The name of the host cluster to which the virtual machine is attached. It can be hosted on any physical machine in the cluster depending on the policy rules. This is the migration domain for the virtual machine. The Default cluster displays by default.
    Name
    The name of new virtual machine. Ensure it is a unique name. A virtual machine name must not contain any spaces, and must contain at least one character a-z. The maximum length of a virtual machine name is 15 characters. Follow the operating system's rules for virtual machine names.
    Description
    A meaningful description of the new virtual machine.  
    Template
    Select Blank (the default) to create a virtual machine from scratch.
    Select an existing template to create a virtual machine from an existing model. See Section 6.2.1, “Creating Virtual Machines from Existing Templates”
    Memory Size (MB)
    The amount of memory assigned to the virtual machine. Consider the processing and storage needs of the applications that are intended to run on the virtual machine. The maximum allowable memory for a virtual machine is 256GB, allowing even the most memory-intensive enterprise workloads to be virtualized. The total amount of memory allocated to Virtual Machines is able to exceed the amount of physical memory available to the host where memory over-commit is enabled.
    Total Cores
    The processing power allocated to the virtual machine, as CPU Cores, from 1 to 16 on the slider bar. It is recommended that you do not assign too high a number to a single Virtual Machine, or more cores in total than actually exist on the physical host.
    CPU Sockets
    The number of CPU sockets for the virtual machine from 1 to 16 on the slider bar. It is recommended that you do not assign too high a number to a single Virtual Machine, or more CPUs in total than actually exist on the physical host.
    Operating System
    The operating system. Valid values include a range of Windows and Linux variants. This is a display only field, as no operating system is actually installed during this process.
    Stateless The virtual machine is to run in stateless mode. The stateless mode is mostly used for virtual desktops. A stateless desktop or server is always created from the base template, and deleted on shutdown. Every time the virtual machine is run, a new instance of the virtual machine is created from the base template. This type of virtual machine is very useful when creating virtual machines that need to be used for a short time, or by temporary staff.  

  4. If the Operating System chosen is Windows, the Windows Sys Prep group displays. Enter the Domain and Time Zone in which the virtual machine is to run. This is the time zone for the virtual machine, and not necessarily the time zone for the physical host on which the virtual machine is running.
  5. On the Console tab, enter the Protocol, USB Policy and number of Monitors.

    Table 6.5. New Virtual Machine Dialog Box Fields

    Field
    Description
    Notes
    Protocol Define the display protocol to be used. Select either:
    • SPICE
    • VNC
    Select SPICE for Windows or Linux virtual machines. This is the recommended protocol. Optionally, select VNC for Linux virtual machines if desired.
    USB Policy Select Enabled or Disabled to indicate whether a USB device can be inserted into the client machine.  

  6. Select the Host tab. Define the host for the virtual machine to Run On by selecting either Any Host in Cluster if the virtual machine can start and run on any available host in the cluster, or Specific if the virtual machine must run on a particular host in the cluster. Select the specific host from the list of available hosts in the cluster.
    Define further options for running the virtual machine using the Run/Migration Options. Either select Run VM on Host (no migration allowed), to start and run the virtual machine only on the specified host, or select Allow VM migration only upon Administrator specific request (system will not trigger automatic migration of this VM) to prevent migration in mid-operation to other hosts in the cluster, for example, in case of overload or fencing of the host. However, the virtual machine may start on any host.
  7. Enter Resource Allocation for the virtual machine if required. You can define the Storage Allocation by selecting an attached Storage Domain from the list, as well as the Memory Allocation by entering a value in the Physical Memory Guaranteed field.
  8. Enter boot information for the virtual machine in the Boot Options tab of the New Desktop Virtual Machine dialog box:

    Table 6.6. New Virtual Machine Dialog Box Fields

    Field
    Description
    Notes
    First Device
    • Hard Disk
    • CD-ROM
    • Network (PXE)
    After installing a new virtual machine, the new virtual machine must go into Boot mode before powering up. Select the first device that the virtual machine must try to boot:
    • Hard Disk to boot from the hard disk (though if this is a blank virtual machine, it will obviously not boot from the hard disk)
    • CD-ROM to boot from the CD
    • Network (PXE) to boot from the network.
    Second Device
    • Hard Disk
    • CD-ROM
    • Network (PXE)
    Select the second device for the virtual machine to use to boot if the first device is not available. The first device selected in the previous option does not appear in the options.
    Attach CD A list of available CD-ROMs appear if Attach CD is selected. Select the appropriate operating system ISOs available in the ISO domain.

  9. Enter Custom Properties for the virtual machine if required.
  10. Click OK.
    If all the mandatory fields have been selected, The New Virtual Machine - Guide Me dialog box displays. If not, the dialog box does not close, and unfilled fields are indicated with a red border. Complete all the mandatory fields.
    You can use the buttons in the New Virtual Machine - Guide Me dialog box immediately, or the tabs on the Details Pane to complete the configuration. Click Configure Later. The new virtual machine is created and displays in the list of virtual machines with the Virtual Desktop icon and Status Down icon.