We help IT Professionals succeed at work.

Centralized Virt-Manager

Dung Do
Dung Do asked
I am using virt-manager to create VMs on each Linux host. In order to access the VMs, I have to open up virt-viewer on each host. Is there a tool that I can use to consolidate all of the VMs into the same GUI console so I can view and use them easier?
Watch Question

Fractional CTO
Distinguished Expert 2019
Tip: Sounds like you've just begun using virtualization. If container speed + density are important to you, compare KVN + LXD before you get to far down the road of building infrastructure...

https://blog.ubuntu.com/2015/05/18/lxd-crushes-kvm-in-density-and-speed provides some good info to consider.

KVM: Managing Virtual Machines Remotely with Virt-manager provides a good overview on managing many remote machines using virt-manager.


David - I should reword my question into: is there a tool that I can use to consolidate all of the VMs on all of the hosts in my network into the same GUI console?
David FavorFractional CTO
Distinguished Expert 2019

See the YouTube video link above for how to have virt-manager work with remote VMs.

Note: There is no... auto discovery mechanism with virt-manager or LXD either, although LXD (to me) is far easier for managing many machines all with many containers.

Go through the YouTube video as a starting point for getting this working.
nociSoftware Engineer
Distinguished Expert 2019

The libvirtd can be setup for remote access.  (It can use mDNS to announce it's presence, also needs to be configured).
Either using TLS (with a non-selfsigned certificate,...) or using plain TCP with authentication using SASL ...
Check the /etc/libvirtd.conf file for details.   (  https://linux.die.net/man/8/libvirtd )

Virt-manager (or qt5-virt-manager)   can then connect to the libvirtd server, which can provide access to virt-viewer or qt5-remote-viewer.

See also:  https://libvirt.org/remote.html