Chapter 26. Managing virtual machines in the web console
To manage virtual machines in a graphical interface on a RHEL 9 host, you can use the
Virtual Machines pane in the RHEL 9 web console.
26.1. Overview of virtual machine management using the web console
The RHEL 9 web console is a web-based interface for system administration. As one of its features, the web console provides a graphical view of virtual machines (VMs) on the host system, and makes it possible to create, access, and configure these VMs.
Note that to use the web console to manage your VMs on RHEL 9, you must first install a web console plug-in for virtualization.
- For instructions on enabling VMs management in your web console, see Setting up the web console to manage virtual machines.
26.2. Setting up the web console to manage virtual machines
Before using the RHEL 9 web console to manage virtual machines (VMs), you must install the web console virtual machine plug-in on the host.
Ensure that the web console is installed and enabled on your machine.
# systemctl status cockpit.socket cockpit.socket - Cockpit Web Service Socket Loaded: loaded (/usr/lib/systemd/system/cockpit.socket [...]
If this command returns
Unit cockpit.socket could not be found, follow the Installing the web console document to enable the web console.
# dnf install cockpit-machines
Access the web console, for example by entering the
https://localhost:9090address in your browser.
- Log in.
If the installation was successful, Virtual Machines appears in the web console side menu.
26.3. Renaming virtual machines using the web console
After create a virtual machine (VM), you might wish to rename the VM to avoid conflicts or assign a new unique name based on your use case. You can use the RHEL web console to rename the VM.
- The web console VM plug-in is installed on your system.
- Ensure that the VM is shut down.
In the Virtual Machines interface, click the Menu button ⋮ of the VM that you want to rename.
A drop down menu appears with controls for various VM operations.
The Rename a VM dialog appears.
- In the New name field, enter a name for the VM.
- Click Rename.
- The new VM name should appear in the Virtual Machines interface.
26.4. Virtual machine management features available in the web console
Using the RHEL 9 web console, you can perform the following actions to manage the virtual machines (VMs) on your system.
Table 26.1. VM tasks that can be performed in the RHEL 9 web console
|Task||For details, see:|
Create a VM and install it with a guest operating system
Delete a VM.
Start, shut down, and restart the VM
Connect to and interact with a VM using a variety of consoles
View a variety of information about the VM
Adjust the host memory allocated to a VM
Manage network connections for the VM
Manage the VM storage available on the host and attach virtual disks to the VM
Configure the virtual CPU settings of the VM
Live migrate a VM
Rename a VM
Share files between the host and the VM
Manage host devices