Virtuozzo

vPlus supports backup for Virtuozzo Hybrid Infrastructure:

  • Disk image transfer - for KVM hypervisors with VMs using QCOW2

  • Volumes storage:

    • supports incremental backup

    • disk images are transferred directly from API (no Proxy VM required)

Libvirt Backup Strategy

vPlus supports Virtuozzo environments that use KVM hypervisors and VMs running on QCOW2 or RAW files. vPlus communicates with Virtuozzo APIs such as Nova and Glance to collect metadata and for the import of the restored process. However, the actual backup is done over SSH directly from the hypervisor. The process is exactly the same as in Deployment in the KVM/Xen environment. vPlus Node can be installed anywhere - it just needs to have access to the Virtuozzo APIs and hypervisor SSH via a network. Both full and incremental backups are supported.

Backup Process

  • direct access to the hypervisor over SSH

  • crash-consistent snapshot taken directly using virsh (QCOW2/RAW file)

  • optional application consistency using pre- / post-snapshot command execution • QCOW2/RAW-file data exported over SSH (optionally with netcat)

  • metadata exported from Virtuozzo APIs (nova, glance, cinder)

  • the last snapshot kept on the hypervisor for the next incremental backup (if at least one schedule assigned to the VM has backup type set to incremental)

  • restore recreates files/volumes according to their backend (same transfer mechanism as used in backup) and then defines VM on the hypervisor

Nova volumes

vPlus is able to back up nova volumes using libvirt strategy. In the hypervisor manager settings, there is an option to download an image from glance. When this option is enabled, the original image from glance is downloaded. If it is disabled, then the image is not downloaded, however the nova volume created from it is backed up.

Adding hypervisor managers

When creating the hypervisor manager, provide the following data in the fields:

URL - Keystone API URL, e.g. https://YOUR_VIRTUOZZO_IP_MGMT:5000/v3

Authentication domain:

  • name - name of domain

  • domainId - optional domain ID

  • user - Virtuozzo user.

  • password - password for that user.

  • default project name - name of default project in domain.

Download image from a glance - allows vPlus to use images from a glance.

When you index the hypervisor manager, make sure you provide the correct SSH credentials for each hypervisor that appeared on the Hypervisors tab. You can also use SSH public key authentication.

Note. When restoring the instances, make sure that the provided user is a member of the target tenant.

Virtuozzo Access Keys

During Inventory Synchronization, vPlus scans all Keypairs (to which a user has access) and stores them as Access Keys. When restoring an instance, the user can specify the Access Key.

Note. If the access key selected for restore is no longer present in the Virtuozzo environment, it will be restored.

Virtuozzo Flavor

During Inventory Synchronization, vPlus scans all Flavors and saves their configuration. When restoring an instance, the user can specify the flavor.

Note. If the flavor selected for restore is no longer present in the Virtuozzo environment, it will be restored with the same configuration and availability as the original flavor.

Limitations

  • vPlus does not back up and restores keypairs that user used in vPlus doesn't have access to. The restored instance will have no keypairs assigned. In such a case, the keypairs have to be backed up and restored manually under the same name before restoring the instance.

  • Only QCOW2/RAW files are supported as the backend.

Last updated