diff --git a/source/ext/spellchecking/wordlists/opennebula.txt b/source/ext/spellchecking/wordlists/opennebula.txt index 769322591c..c321da3802 100644 --- a/source/ext/spellchecking/wordlists/opennebula.txt +++ b/source/ext/spellchecking/wordlists/opennebula.txt @@ -493,6 +493,7 @@ nTOTAL namespace namespaces natively +nbd ncurses netaddr netmask @@ -566,6 +567,8 @@ overcommitting overprovision overriden ovf +oVirt +oVirtAPI ovmf ovswitch parallelize diff --git a/source/images/backup_veeam_architecture.png b/source/images/backup_veeam_architecture.png new file mode 100644 index 0000000000..10346f27db Binary files /dev/null and b/source/images/backup_veeam_architecture.png differ diff --git a/source/management_and_operations/backups/index.rst b/source/management_and_operations/backups/index.rst index 2c9ce202df..e50ace0266 100644 --- a/source/management_and_operations/backups/index.rst +++ b/source/management_and_operations/backups/index.rst @@ -12,3 +12,4 @@ Virtual Machine Backups Backup Datastore: Rsync VM Backup Operations Backup Jobs + Veeam Backups diff --git a/source/management_and_operations/backups/veeam.rst b/source/management_and_operations/backups/veeam.rst new file mode 100644 index 0000000000..7944782dd5 --- /dev/null +++ b/source/management_and_operations/backups/veeam.rst @@ -0,0 +1,103 @@ +.. _vm_backups_veeam: + +================================================================================ +Veeam Backups +================================================================================ + +Veeam is a backup and recovery software that provides data protection and disaster recovery solutions for virtualized environments. The OpenNebula oVirtAPI Server allows to backup OpenNebula VMs from the Veeam interface. + +Compatibility +================================================================================ + +The oVirtAPI module is compatible with Veeam Backup & Replication 12.0. + +Requirements & Architecture +================================================================================ + +In order to achieve a setup compatible with the OpenNebula and Veeam Backup integration, the following requirements must be met: + +* A Backup Server hosting an OpenNebula backup datastore and the OpenNebula oVirtAPI Server. +* The Veeam Backup Appliance, deployed by Veeam when adding OpenNebula as a hypervisor. +* A management network must be in place connecting the following components: + * OpenNebula backup server + * OpenNebula Front-end + * All Host running VMs to be backed up by Veeam + * Veeam Server + * Veeam Backup Appliance + +|veeam_architecture| + +.. |veeam_architecture| image:: /images/backup_veeam_architecture.png + :width: 700 + :align: middle + +Step 1: Prepare the environment for the oVirtAPI Server +================================================================================ + +A server should be configured to expose both the Rsync backup datastore and the oVirtAPI Server. This server should be accessible from all the clusters that you want to be able to back up via the management network shown in the architecture diagram. The oVirtAPI Server is going to act as the communication gateway between Veeam and OpenNebula. + +Step 2: Create a backup datastore +================================================================================ + +The next step is to create a backup datastore in OpenNebula. This datastore will be used by the oVirtAPI module to handle the backup of the virtual machines before sending the backup data to Veeam. Currently only :ref:`Rsync Datastore ` is supported. + +.. note:: + + The backup datastore must be created in the backup server configured in step 1. Also remember to add this datastore to any cluster that you want to be able to back up. + +**Rsync Datastore** + +Here is an example to create an Rsync datastore in a host named "backup-host" and then add it to a given cluster: + +.. prompt:: bash $ auto + + # Create the Rsync backup datastore + cat << EOF > /tmp/rsync-datastore.txt + NAME="VeeamDS" + DS_MAD="rsync" + TM_MAD="-" + TYPE="BACKUP_DS" + VEEAM_DS="YES" + RESTIC_COMPRESSION="-" + RESTRICTED_DIRS="/" + RSYNC_HOST="localhost" + RSYNC_USER="oneadmin" + SAFE_DIRS="/var/tmp" + EOF + + onedatastore create /tmp/rsync-datastore.txt + + # Add the datastore to the cluster with "onecluster adddatastore " + onecluster adddatastore somecluster VeeamDS + +You can find more details regarding the Rsync datastore in :ref:`Backup Datastore: Rsync `. + +Step 3: Install and configure the oVirtAPI module +================================================================================ + +In order to install the oVirtAPI module, you need to have the OpenNebula repository configured in the backups server. You can do this by following the instructions in :ref:`OpenNebula Repositories `. Then, follow the steps below: + +1. Install the ``opennebula-ovirtapi`` package in the backup server. +2. Change the ``one_xmlrpc`` variable in the configuration file ``/etc/one/ovirtapi/ovirtapi-server.yml`` and make sure it points to your OpenNebula front-end address. +3. You must also place a certificate at ``/etc/one/ovirtapi/ovirtapi-ssl.crt`` or generate one with: + +.. prompt:: bash $ auto + + openssl req -newkey rsa:2048 -nodes -keyout /etc/one/ovirtapi/ovirtapi-ssl.key -x509 -days 365 -out /etc/one/ovirtapi/ovirtapi-ssl.crt -subj "/C=US/ST=State/L=City/O=Organization/OU=OrgUnit/CN=example.com" + +4. Start the oVirtAPI module with: + +.. prompt:: bash $ auto + + systemctl start opennebula-ovirtapi + +Step 4: Add OpenNebula to Veeam +================================================================================ + +To add OpenNebula as a hypervisor to Veeam, configure it as an oVirt KVM Manager in Veeam and choose the IP address of the oVirtAPI module. You can follow the `official Veeam documentation `_ for this step. + +Current limitations +================================================================================ + +- Volatile disks cannot be backed up. +- Only in-place restores are supported.