• +86-135-5029-3426
  • sales@vinchin.com
logo

Vinchin Blog

Vinchin Blog How to create & backup Virtual Machines (VMs) in oVirt Environment

How to create & backup Virtual Machines (VMs) in oVirt Environment

2021-09-03

How to create & backup Virtual Machines (VMs) in oVirt  Environment 


Need to create virtual machines (vms) in oVirt environment and back them up?

In the backstage of vinchin official website(oVirt page), we get requests from our customers that how to create VMs from oVirt.

Today let’s see how our support engineers get this done for our customers.


Before we move on to the steps of creating VMs in oVirt, we will create a data center, clusters, hosts, network, and storage domain as preconditions.


1. Create a new Data Center

1. First login to the oVirt Engine Web Admin Portal.

2. Next, go to the Data Centers tab and select New.

3. Give the Data Center Name, Description, and Storage Type, and Compatibility version

[Need assistance to create&backup VMs?we are here for you] 

2. Configuring Cluster for Data Center

1. By clicking OK in step above, it will prompt us to configure Cluster.

2. Next, select the “Configure Cluster” option.

3. Then specify the name of the cluster, Description, the CPU architecture according to our setup, leave the other parameters as they are.

4. Finally click on OK.


3. Adding Host

1. First select the node by clicking the Maintenance option and click OK.

2. Next, select the Edit option and update the Data center and Cluster information.

3. Then select OK.

4.  Finally, click on the Activate option to activate the host.



4. Creating Storage Domains

1.  First, click on the Storage tab and then click on New Domain.

2. Select the Domain function as “Data” and Storage Type as NFS and specify the NFS servers’ share IP and name.

3. Next, click on New Domain from Storage Tab and Select Domain Function “ISO” and Storage Type “NFS”.

We can see that both the storage domains are activated now.

And when the storage domains are enabled, the Data Center is launched automatically.

[Need assistance to create&backup VMs?we are here for you] 


5. Upload ISO files to ISO Storage Domain

We have to transfer the ISO file to oVirt-engine and operate the engine-iso-uploader.


Here we will be uploading Ubuntu 16.04 LTS iso file.


[root@ovirtengine ~]# engine-iso-uploader -i ISO_Domain_test_dc upload ubuntu-16.04-desktop-amd64.iso
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
Uploading, please wait...
INFO: Start uploading ubuntu-16.04-desktop-amd64.iso
Uploading: [########################################] 100%
INFO: ubuntu-16.04-desktop-amd64.iso uploaded successfully
[root@ovirtengine ~]#


6. Creating Virtual Machines.

We will now create the Virtual Machines (VMs) in oVirt 4.0 Environment with the following steps:

1. First click on New VM from Virtual Machine Tab.

2. Then specify the following parameters under the “General” Tab.

- Data Center “test_dc”
- Operating System Type as “Linux”
- Optimized for “Desktop”
- Name as “Ubuntu 16.04”
- nic1 as “ovirtmgmt”

3. One can Specify the disk space of the Virtual Machine by clicking on the Create option that is available in front of "Instance Images".

4. Then specify the disc size and let the other parameters as they are and click OK.

5. Click on “Show Advance option”, then Go to System Tab, specify the memory and CPU.

6. After that Go to the “Boot Options” Tab, attach the Ubuntu 16.04 ISO file and change the boot sequence and click on OK.

7.  Choose the “Run Once” option from Virtual Machines Tab.

8. Right-click on the VM to select Console.

9. Click Install Ubuntu and follow the onscreen directions.

10. Then restart the VM when the installation is finished.

12. Change the Boot Sequence of VM in a way such that it can boot from Disk.

13. We can provide identifiers that were established during the facility.


 7. Backup your VM by using Vinchin oVirt Backup solution

Go to VM Backup -> Backup page to start creating a new backup job. The job settings are streamlined, just follow the 4-step wizard you can create a job within a minute. 


Step 1, select the virtual machines you wish to backup. 

image.png



Step 2, select the backup storage which you wish to storage the backups. 

image.png


Step 3, detailed backup strategies need to be configured.

image.png

These settings will tell vinchin backup & recovery when and how to run the backups. The recommended backup strategy is incremental backup,the default schedules are full backups every week on Friday night, and incremental backups every day at night. Of course, you can change the schedules according to your actual demands. And the timing could be configured on daily, weekly and monthly basis. If you wish to setup forever incremental backup, please only select incremental backup, then you’ll create a forever incremental backup job. Below are some advanced strategies, like deduplication, compression, retention policy and bitdetector. 

For transmission strategy, you can choose to transfer the backup data through LAN with or without encryption, or through SAN.

image.png

For oVirt  Speedkit is enabled for efficient incremental backups. 


Step 4, you are able to review and confirm the job settings in one screen. 

image.png

By clicking on the Submit button to confirm the settings and create the oVirt backup job



If you still have questions about how to create & backup VM in oVirt Environment, Contact us anytime!


  • Tag:
  • Backup

Interested Blogs More

DOWNLOAD NOW YOU CAN ENJOY A 60-DAYS FULL-FEATURED FREE TRIAL !