Red Hat Training

A Red Hat training course is available for Red Hat Virtualization

Chapter 2. Managing virtual machines

You can perform common virtual machine management tasks in the virtual machines pane:

  • Start up a virtual machine by clicking the Run icon ( Run ). It is available when the virtual machine is paused, stopped, or powered off.
  • Temporarily stop a virtual machine by clicking the Suspend icon ( Suspend ). It is available when the virtual machine is running.
  • Stop a virtual machine by clicking the Shutdown icon ( Shutdown ). It is available when the virtual machine is running.
  • Restart a virtual machine by clicking the Reboot icon ( Reboot ). It is available when the virtual machine is running.
  • Access the console of a virtual machine by clicking the Console icon ( Console ). It is available when the virtual machine is running.
  • Edit a virtual machine by clicking the Edit icon ( Edit VM ).

2.1. Viewing virtual machine details

Viewing a virtual machine’s details

Click the virtual machine’s name in the virtual machines pane to go to the details view. The following details display:

To go directly to the details view of other virtual machines, click the collapsible arrow on the left side of the details pane to open a list of available virtual machines. You can click each machine name to view its details.

2.2. Editing virtual machines

Note

Your user role must have permission to edit a virtual machine.

You can edit a virtual machine’s disk, network interfaces, and console settings in the virtual machine’s details view. See Section 2.1, “Viewing virtual machine details”.

Editing a virtual machine

  1. In the virtual machines pane, click the Edit icon ( Edit VM ) of the virtual machine that you want to edit. The following fields appear:

    • Name of the virtual machine. The virtual machine name may contain only upper- or lower-case letters, numbers, underscores, hyphens, or periods. Special characters and spaces are not permitted.
    • Description (optional)
    • Cluster
    • Template
    • Operating System
    • Defined Memory
    • CPUs
    • CD
    • Boot menu - When this is set to ON, the Boot menu appears in the console, enabling you to select a bootable device.
    • Cloud-Init - The cloud-init tool allows you to automate the deployment of virtual machines. When this is set to ON, the Hostname and SSH Authorized Keys fields display. See Explanation of Settings in the New Virtual Machine and Edit Virtual Machine Windows in the Virtual Machine Management Guide for details.
  2. Click Update VM.

Changing a virtual machine’s icon

  1. Click the Edit icon under the virtual machine’s icon.
  2. Browse to your image and click Open. The maximum permitted size is 150 x 120 pixels.

To restore the default icon, click the circular arrow.

2.3. Creating virtual machines

Creating a virtual machine

  1. Click the Add New VM button in the toolbar.
  2. Set the following fields:

    • Name of the virtual machine. The virtual machine name may contain only upper- or lower-case letters, numbers, underscores (_), hyphens (-), or periods (.). Special characters and spaces are not permitted.
    • Description (optional)
    • Cluster
    • Template
    • Operating System
    • Defined Memory
    • CPUs
    • CD

      See Explanation of Settings in the New Virtual Machine and Edit Virtual Machine Windows in the Virtual Machine Management Guide for details.

  3. Click Create VM.

2.4. Connecting to virtual machines

Connecting to a virtual machine

  1. In the virtual machines pane, click the Run icon to start a virtual machine.
  2. Click the Console icon to connect to the virtual machine.
  3. You will be asked to download a .vv file.
  4. Open the file with remote-viewer. A console window displays.

    You can now use the virtual machine in the same way that you would use a physical desktop.

2.5. Changing console settings

Note

The Console settings may be changed by any user who has permission to view the virtual machine. The changes are stored locally in the browser, not on the server.

Changing console settings

  1. In the virtual machines pane, click the virtual machine name to go to the details view.
  2. Click the Console settings icon ( Edit blue ) to access the following options:

    • Connect automatically: Enables you to connect automatically if only one virtual machine is running.
    • Fullscreen: Opens the virtual machine console in full screen automatically when you connect to the virtual machine. Press SHIFT + F11 to toggle full screen mode on or off.
    • Use Ctrl+Alt+End: Maps the Ctrl+Alt+Del keyboard shortcut to Ctrl+Alt+End.
    • Smartcard enabled: Allows you to pass the smartcard from your client machine to the virtual machine.