We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Learn how to – How To Install oVirt guest agent on Linux

Learn how to – How To Install oVirt guest agent on Linux.

Install ovirt guest agent on Linux: Hello good people. Today I would like to show you how to  install ovirt guest agent on Linux. The process is fairly simple and will provide the oVirt-engine with additional information about the VM.

Install oVirt Guest Agent on Linux

The oVirt Guest Agent provides information, notifications, and actions between the oVirt web interface and the guest.  The agent provides the Machine Name, Operating System, IP Addresses, Installed Applications, Network and RAM usage and others details to the web interface.

The agent also provides Single Sign On so a authenticated user to the web interface does not need to authenticate again when connected to a VM.

Install oVirt Guest Agent on Fedora / CentOS / RHEL

Install oVirt Guest Agent on CentOS / RHEL 8

Check the guide: How To Install oVirt Guest Agent on CentOS 8 / RHEL 8

Install oVirt Guest Agent on CentOS 7

Here is how to install oVirt guest agent on CentOS 7, start by adding EPEL repository:

sudo yum -y install epel-release

Install oVirt Guest Tools using yum:

sudo yum -y install qemu-guest-agent

Enter the following command to start the service:

sudo systemctl enable --now qemu-guest-agent

Confirm service status after starting it.

$ systemctl status qemu-guest-agent
 qemu-guest-agent.service - QEMU Guest Agent
   Loaded: loaded (/usr/lib/systemd/system/qemu-guest-agent.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2023-01-26 15:38:03 UTC; 45s ago
 Main PID: 1605 (qemu-ga)
    Tasks: 2 (limit: 23036)
   Memory: 948.0K
   CGroup: /system.slice/qemu-guest-agent.service
           └─1605 /usr/bin/qemu-ga --method=virtio-serial --path=/dev/virtio-ports/org.qemu.guest_agent.0 --blacklist=guest-file-open,guest-file-close,guest-file-read,guest-file-write,guest-file-se>

Jan 26 15:38:03 rocky8.mylab.io systemd[1]: qemu-guest-agent.service: Succeeded.
Jan 26 15:38:03 rocky8.mylab.io systemd[1]: Stopped QEMU Guest Agent.
Jan 26 15:38:03 rocky8.mylab.io systemd[1]: Started QEMU Guest Agent.

Install oVirt Guest agent on Ubuntu 22.04|20.04|18.04

Update your system:

sudo apt -y update

Then install oVirt Guest agent on Ubuntu Linux system:

sudo apt install qemu-guest-agent

Ubuntu 16.04:

On Ubuntu 16.04, run the following commands:

echo 'deb http://download.opensuse.org/repositories/home:/evilissimo:/ubuntu:/16.04/xUbuntu_16.04/ /' >> /etc/apt/sources.list.d/ovirt-guest-agent.list
wget $REPOURL/Release.key
sudo apt-key add - < Release.key  
sudo apt-get update
sudo apt-get install ovirt-guest-agent
sudo service ovirt-guest-agent start

On Ubuntu, service will automatically be configured to start on boot.

4
103.127,15