Welcome, Guest Login

Support Center

Setting Up OpenNebula on Top of Virtuozzo 7

Last Updated: Dec 14, 2017 02:50PM UTC

Introduction

Virtuozzo 7 is a hyperconverged platform that features fine-tuned QEMU/KVM for virtualization, efficient software-defined storage, and fully functional cluster management. At Virtuozzo we are constantly working on expanding our ecosystem by supporting more use cases, which is achieved by preserving compatibility with open APIs like libvirt.

OpenNebula is a lightweight yet powerful open-source solution for building clouds and managing datacenter virtualization. OpenNebula is applicable to numerous use cases (more details are available at https://opennebula.org/).

With this release, we are aiming to bring Virtuozzo 7 and OpenNebula together and achieve a synergistic effect by combining efficient infrastructure components with advanced yet simple control plane.

Prerequisites

  1. Virtuozzo 7.0 Update 6 with Virtuozzo Storage deployed on each node.
  2. A Virtuozzo Storage cluster configured and mounted to each of the future OpenNebula nodes.
  3. A datastore for OpenNebula created in the storage cluster management panel.

Installation

  1. On one node, install OpenNebula components for a front-end CentOS 7 node as described here.
  2. On all nodes, including front-end, install OpenNebula components for a virtualization CentOS 7 node as described here.
    IMPORTANT: All packages required for OpenNebula must be installed from the official Virtuozzo repository. Do not install repos from the linked OpenNebula installation guide.
  3. Configure the front-end node to use the Virtuozzo Storage datastore:
    1. Add the default OpenNebula oneadmin group to the Virtuozzo Storage cluster mount in /etc/fstab:
      vstorage://<VSTORAGE_CLUSTER_NAME> /mnt/vstorage fuse.vstorage defaults,rw,nosuid,nodev,group=oneadmin,mode=770 0 0
    2. Remount Virtuozzo Storage:
      # umount /mnt/vstorage
      # mount /mnt/vstorage
    3. Edit OpenNebula configuration in /etc/one/oned.conf so it contains the following line:
      DATASTORE_LOCATION = /mnt/vstorage/vols/datastores/<VSTORAGE_DATASTORE_NAME>
    4. Restart the opennebula service:
      # systemctl restart opennebula
  4. Configure the virtualization nodes:
    1. Add the default OpenNebula oneadmin group to the Virtuozzo Storage cluster mount in /etc/fstab:
      vstorage://<VSTORAGE_CLUSTER_NAME> /mnt/vstorage fuse.vstorage defaults,rw,nosuid,nodev,group=oneadmin,mode=770 0 0
    2. Remount Virtuozzo Storage:
      # umount /mnt/vstorage
      # mount /mnt/vstorage
    3. Restart the opennebula service:
      # systemctl restart opennebula

These are all the steps specific to Virtuozzo 7 that are required to set up OpenNebula.

Conclusion

As a result, you will have fully functional OpenNebula installed on top of Virtuozzo 7 with all the benefits of shared storage like fast live migration of VMs.

Known Limitations

  • Virtuozzo containers are not available with OpenNebula management.
  • Virtual machines created in OpenNebula will not be shown in Virtuozzo Automator.

Open a new case
















  • You can call our Support Team:

     +1 855-466-6670  Toll-free
     +1 425-689-7142  US
     +44 203-389-8331  UK
     +49 8914-379-4365  DE
     +7 499-609-2754  RU
e13d0138f9baaceff06b8753a609e5c0@virtuozzo.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete