Book Image

Getting Started with oVirt 3.3

By : Alexey Lesovsky
Book Image

Getting Started with oVirt 3.3

By: Alexey Lesovsky

Overview of this book

<p>Virtualization technologies are evolving very rapidly. With advanced capabilities for hosts and guests including high availability, live migration, storage management, system scheduler, and many more, oVirt comes with the latest advancements in the field of open source virtualization. oVirt is built on the powerful Kernel-based Virtual Machine (KVM) hypervisor and on the RHEV-M management server, and it allows you to utilize the most advanced capabilities of virtualization in an easy and efficient way.</p> <p>Getting Started with oVirt 3.3 talks you through the internal structure and working of oVirt 3.3 using a practical, hands-on approach. You will learn how to install and set up your own virtualization infrastructure as well as in what order you should configure your virtualization environment, what features oVirt has, and how to use them. You will also learn how easy it is to create cluster policies to control the operation of a cluster as well as how to create and use a virtual machine template.</p> <p>With this book, you will learn how to run your own data centers in different configurations and about the existing opportunities for creating virtual machines. You will perform the re-balancing of clusters and quickly create dozens of virtual machines. This book will also help you create a network environment and set policies for QoS. You will also learn how to manage users and allocate resources between them. Getting Started with oVirt 3.3 teaches you everything you need to know about oVirt 3.3 and shows you how to get the most out of the technology quickly and effectively.</p>
Table of Contents (15 chapters)

Preparing the local storage


Local disk running with Logical Volume Manager (LVM) is used as the storage. LVM is a flexible and powerful disk manager. For additional info about LVM, please refer to the link https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html-single/Logical_Volume_Manager_Administration/index.html.

To create LVM volume, we need a whole disk. For a disk device, only the partition table must be erased, which will effectively destroy information about partitions on that disk. In the following command, we will focus on the first sector (be careful, this command will erase the partition table):

# dd if=/dev/zero of=PhysicalVolume bs=512 count=1

PhysicalVolume must be replaced by target disk device.

Now we can initialize a physical volume and a volume group. Logical volume will be created in the storage volume group. For logical volume, which is also named as storage, we take 90 percent of free space from the physical volume:

# pvcreate /dev/sdb
# vgcreate storage /dev/sdb
# lvcreate -l 90%FREE -n storage/storage

Formatting the logical volume to filesystem is not required and we can proceed to the package installation.