How to install get both ovirt and Virt-manager on Cockpit Dashboard
oVirt is an open-source virtualization management platform that can be used to manage virtual machines, storage, and networks. In this tutorial, we will go through the steps to install oVirt on OpenSUSE.
Prerequisites
Before we start, make sure that you have the following prerequisites:
- OpenSUSE Latest installed on your system
- A user with sudo privileges
Installation
$ zypper ar https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/ epel
$ zypper install libvirtd firewalld python-devel libgudev-devel libnl3-devel libvirt-devel qemu-kvm-tools ovirt-engine-generic-stable-kvm qemu-tools
$ firewall-cmd --zone=public --add-service=http
$ systemctl enable libvirtd.service
$ systemctl start libvirtd.service
$ /usr/bin/engine-setup
$ /usr/bin/engine-setup --console-mode=console
$ /usr/bin/engine-configure-user.sh
$ zypper refresh
$ zypper install cockpit-ovirt
Once you've installed cockpit-ovirt, you can access it through the Cockpit web interface at http://localhost:9090 (or https://localhost:9090 if you have Cockpit running over HTTPS).
Make sure that the two services are configured to use different paths for their management interfaces. For example, you can configure Cockpit with cockpit-ovirt to use the path /ovirt/ and Cockpit with virt-manager to use the path /virt/.
Configure Cockpit with cockpit-ovirt: Edit the /etc/cockpit/cockpit-ws-config.d/cockpit-ovirt.conf file and add the following line:
`[Service]
Path=/ovirt`
Restart Cockpit: Restart the Cockpit service to apply the changes:
$ systemctl restart cockpit
Test Cockpit: Open your web browser and go to http://localhost:9090/ or https://localhost:9090/.

Comments
Post a Comment