Fortinet black logo

KVM Administration Guide

Hypervisor and tools

Copy Link
Copy Doc ID 40495042-8674-11eb-9995-00505692583a:482907
Download PDF

Hypervisor and tools

[root@rhel-tiger-14-6 ~]# virsh version --daemon
Compiled against library: libvirt 6.0.0
Using library: libvirt 6.0.0
Using API: QEMU 6.0.0
Running hypervisor: QEMU 4.2.0
Running against daemon: 6.0.0

Check that the CPUs support virtualization:

[root@rhel-tiger-14-6 ~]# grep -io vmx /proc/cpuinfo | uniq vmx [root@rhel-tiger-14-6 ~]# lscpu | grep Virtual Virtualization: VT-x

Note

For Intel processors, vmx indicates that virtualisation is supported. For AMD processors, use svm.

Install and enable the virtualization modules and tools:

[root@rhel-tiger-14-6 ~]# yum -y module install virt
<output omitted for brevity>

[root@rhel-tiger-14-6 ~]# yum -y install virt-install virt-viewer cockpit cockpitmachines <output omitted for brevity>
[root@rhel-tiger-14-6 ~]# systemctl enable --now cockpit.socket Created symlink /etc/systemd/system/sockets.target.wants/cockpit.socket → /usr/lib/ systemd/system/cockpit.socket.
Note

virt-manager is considered deprecated in RHEL 8, so cockpit is used as a replacement. Cockpit does more than visualize VMs and is assessed by using a browser on TCP port 9090, e.g. https://10.210.14.6:9090/.

Install additional tools that can be useful when operating such a system:

[root@rhel-tiger-14-6 ~]# yum -y install sysstat tcpdump numactl hwloc <output omitted for brevity>

Hypervisor and tools

[root@rhel-tiger-14-6 ~]# virsh version --daemon
Compiled against library: libvirt 6.0.0
Using library: libvirt 6.0.0
Using API: QEMU 6.0.0
Running hypervisor: QEMU 4.2.0
Running against daemon: 6.0.0

Check that the CPUs support virtualization:

[root@rhel-tiger-14-6 ~]# grep -io vmx /proc/cpuinfo | uniq vmx [root@rhel-tiger-14-6 ~]# lscpu | grep Virtual Virtualization: VT-x

Note

For Intel processors, vmx indicates that virtualisation is supported. For AMD processors, use svm.

Install and enable the virtualization modules and tools:

[root@rhel-tiger-14-6 ~]# yum -y module install virt
<output omitted for brevity>

[root@rhel-tiger-14-6 ~]# yum -y install virt-install virt-viewer cockpit cockpitmachines <output omitted for brevity>
[root@rhel-tiger-14-6 ~]# systemctl enable --now cockpit.socket Created symlink /etc/systemd/system/sockets.target.wants/cockpit.socket → /usr/lib/ systemd/system/cockpit.socket.
Note

virt-manager is considered deprecated in RHEL 8, so cockpit is used as a replacement. Cockpit does more than visualize VMs and is assessed by using a browser on TCP port 9090, e.g. https://10.210.14.6:9090/.

Install additional tools that can be useful when operating such a system:

[root@rhel-tiger-14-6 ~]# yum -y install sysstat tcpdump numactl hwloc <output omitted for brevity>