Managing and restoring KVM virtual classrooms

by | Nov 12, 2014

ETIQUETAS: Education | Hot news | KVM-en | Tips | VDI-en

At the end of a class, each student has changed many aspects of virtual machines (VM). In order to prepare them for the next class, it is important to be able to return them to its original state as soon as possible. The Logical Volume Manager snapshots are useful in these cases.

The Logical Volume Manager (LVM) is a method that has been used successfully on Linux for many years and managing storage in a flexible way. Instead of working with fixed storage allocation units, LVM work with versatile volumes that can be extended or reduced very easily. These volumes offer also other benefits, like the snapshots.

After creating a LVM snapshot, there will be two volumes that will reference the same data. When the changes are written in the original volume after the snapshot was taken, the original data blocks are copied to the snapshot volume.

When accessing the data blocks, the snapshot metadata point to two different locations. The data blocks that have not changed since the snapshot was created are still in the original volume, but the original version of the data blocks they have changed is saved in the snapshot. This allows to use the snapshot to access the status of the volume as it was at the time that the snapshot was created.

If you installed one VM KVM using all values by default, the back end of the VM disk storage will be in a file. If we create a LVM logical before starting the installation of the VM, this logical volume can be used as the storage back end of the VM.

If you want to know how an LVM disk is referred to from the KVM XML code in the configuration file read
the full article in English.

SHARE

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Recent posts

VDI: The most secure environment for hybrid working

Today is Data Privacy Day. The purpose of this date is to raise awareness and promote privacy and data protection best practices. It was initiated by the European Commission, the Council of Europe, and the Data Protection authorities of the European Union’s member states. Their main goal was to drive attention to the importance of privacy, user data protection, and compliance of the General Data Protection Regulation (RGPD). It is a regulation characterized by significant fines for non-compliance since its implementation in 2018.

How to avoid issues with virtual machines

Virtualization comes with a wide range of benefits for organizations. It helps cut IT costs and reduces downtime while increasing efficiency and productivity. It also increases the resiliency of networks, primarily when disasters occur, and promotes more green-friendly operations.

However, using virtual machines also comes with a set of downsides. Information security may get compromised, workloads mixed up, separation duties lost, among other issues. It is vital to know how you can get over these problems, and that’s what this article will discuss.

Let’s get started.

Archives


Stay up to date with all the news from UDS ENTERPRISE through our social networks. Follow us!

Skip to content