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 ( ). It is available when the virtual machine is paused, stopped, or powered off.
- Temporarily stop a virtual machine by clicking the Suspend icon ( ). It is available when the virtual machine is running.
- Stop a virtual machine by clicking the Shutdown icon ( ). It is available when the virtual machine is running.
- Restart a virtual machine by clicking the Reboot icon ( ). It is available when the virtual machine is running.
- Access the console of a virtual machine by clicking the Console icon ( ). It is available when the virtual machine is running.
- Edit a virtual machine by clicking the Edit icon ( ).
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:
-
State - For example,
Up
,Down
,Paused
,Suspended
- Description (optional)
- Cluster
- Template
- Operating System
-
Optimized for -
Desktop
/Server
/High Performance
- Defined Memory
- CPUs
- Address - Virtual machine’s FQDN. The guest agent must be installed on the virtual machine to retrieve this value.
- CD
- Console - See Section 2.5, “Changing console settings” for more information about console options.
- Disks - Clicking the Edit icon displays the Delete and New buttons, for deleting the current disk and creating a new disk. See Explanation of Settings in the New Virtual Machine and Edit Virtual Machine Windows in the Virtual Machine Management Guide for details.
- Network interfaces - Clicking the Edit icon displays the Delete and New buttons, for deleting the current network interface and creating a new network interface. See Explanation of Settings in the New Network Interface and Edit Network Interface Windows in the Virtual Machine Management Guide for details.
-
Boot Menu status -
On
/Off
-
Cloud-Init status -
On
/Off
. To change the Boot Menu or Cloud-Init status, see Section 2.2, “Editing virtual machines”.
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
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
In the virtual machines pane, click the Edit icon ( ) 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 toON
, 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.
- Click Update VM.
Changing a virtual machine’s icon
- Click the Edit icon under the virtual machine’s icon.
- 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
- Click the Add New VM button in the toolbar.
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.
-
Name of the virtual machine. The virtual machine name may contain only upper- or lower-case letters, numbers, underscores (
- Click Create VM.
2.4. Connecting to virtual machines
Connecting to a virtual machine
- In the virtual machines pane, click the Run icon to start a virtual machine.
- Click the Console icon to connect to the virtual machine.
- You will be asked to download a .vv file.
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
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
- In the virtual machines pane, click the virtual machine name to go to the details view.
Click the Console settings icon ( ) 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 toCtrl+Alt+End
. - Smartcard enabled: Allows you to pass the smartcard from your client machine to the virtual machine.