Vagrant tip #2 using Virtual Manager

Managing multiple Virtual Machines with Vagrant can be troublesome as you could lose control of the box created and potentially run out of space on your hard disk. This tutorial shows how to get started with Virtual Machine Manager to simplify your VM administration.

The virt-manager application is a desktop UI for managing virtual machines through libvirt. It primarily targets KVM VMs, but it can also manages Xen and LXC (linux containers).

You can install it with:

yum install virt-manager

 Once installed, run it with:

virt-manager

As you can see, when started, virt-manager presents a summary view of running domains, their live performance & resource utilization statistics:

vagrant tutorial virt-manager

The UI allos controlling the list of VM created and also the data which has been created by the VMs. By clicking on the VM, you can ssh to the Virtual Machine:

vagrant virt-manager tutorial

Some other tools which can be combined with virt-manager are:

The virt-install tool is a command line tool which provides an easy way to provision operating systems into virtual machines.

The virt-clone tool is a command line tool for cloning existing inactive guests. It copies the disk images, and defines a config with new name, UUID and MAC address pointing to the copied disks.

The virt-viewer application is a lightweight interface for interacting with the graphical display of virtualized guest OS. It can display VNC or SPICE, and uses libvirt to lookup the graphical connection details.


Advertisement

Cookie Alert