Creating virtual machines in oVirt 4.0

by | Oct 11, 2016

In order to create virtual machines from oVirt engine web administrator, first we should set the following elements: Datacenter, clusters, hosts (oVirt Node or hypervisor), network (default ovirtmgmt is created), storage domain ( ISO storage and Data Storage ).

Then, we should follow these steps:

  1. Create a new Datacenter: in “Datacenters” tab click on “New” and specify the Datacenter name, description, type of storage and compatibility version.

  2. Configure cluster for Datcenter: when we click on “Ok” on the first step, the sytem will ask to configure cluster. Select “Configure Cluster” option and specify the name, description and CPU architecture. We can also define optimization, migration and fencing policy.

  3. Add Host or oVirt Node for the created Datacenter and cluster: when we add a host or oVirt Node in oVirt Engine it is added to the default Datacenter and cluster. To change it, first put the host in maintenance mode. Then, select the “Edit” option and update the Datacenter and Cluster information for the selected host. Click on “Activate” to activate the host.

  4. Creating Storage Domains: it is a centralized repository of disk which is used for storing the VM disk images, ISO files and VMs meta data. In this example Data Storage and ISO storage is shared via NFS. Click on the “Storage” tab and then click on “New Domain”, Select the domain function as “Data” and “Storage Type” as NFS and specify the NFS servers’ share IP and name. Click on “New Domain” again from “Storage” tab and select “Domain Function” as “ISO” and “Storage Type” as “NFS”. Now, our Datacenter becomes automatically active.

  5. Upload ISO files to ISO Storage Domain: transfer ISO file to ovirt-engine and run the “engine-iso-uploader” and the system will be ready to create virtual machines.

  6. Create virtual machines: in “Virtual Machine” tab, click on “New VM” and specify the following parameters in “General” tab: Datacenter, operating system, optimized for desktop, name and nic1. Click on “Create” and specify only the disk. In “Show advanced options” go to “System” tab and specify memory and CPU for the virtual machine. In “Boot options” tab, attach ISO file of the operating system in use and change the boot sequence. Select the VM and click on “Run once”. To access the VM console click on VM and select the console. Click on “install operating system” (according to the one chosen). Once the installation is completed, follow the instructions and reboot the VM. Change the VM boot sequence so that it boots from disk and enter the credentials set during installation process

In order to follow the VMs creation process in oVirt with screenshoots, see the original article

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