Skip to content

Commit 7adbee3

Browse files
Update veeam.rst
Signed-off-by: ArnauGabrielAtienza <[email protected]>
1 parent a9d5f68 commit 7adbee3

File tree

2 files changed

+19
-43
lines changed

2 files changed

+19
-43
lines changed

source/ext/spellchecking/wordlists/opennebula.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ nTOTAL
493493
namespace
494494
namespaces
495495
natively
496+
nbd
496497
ncurses
497498
netaddr
498499
netmask
@@ -566,6 +567,8 @@ overcommitting
566567
overprovision
567568
overriden
568569
ovf
570+
oVirt
571+
oVirtAPI
569572
ovmf
570573
ovswitch
571574
parallelize

source/management_and_operations/backups/veeam.rst

Lines changed: 16 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Veeam Backups
66

77
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 Veaam interface.
88

9-
Compatiblity
9+
Compatibility
1010
================================================================================
1111

1212
The oVirtAPI module is compatible with Veeam Backup & Replication 12.0.
@@ -34,51 +34,18 @@ In order to achieve a setup compatible with the OpenNebula and Veeam Backup inte
3434
Step 1: Prepare the environment for the oVirtAPI Server
3535
================================================================================
3636

37-
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.
37+
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.
3838

39-
First, the oneadmin user should be created in the backup server. This user will be used to run the oVirtAPI module and should have passwordless access to qemu-nbd commands. You must also enable the NBD kernel module and change the ownership of the NBD devices to the oneadmin user. This can be done by running the following commands:
40-
41-
.. prompt:: bash $ auto
42-
43-
# Create oneadmin user and allow it to run passwordless qemu-nbd commands
44-
useradd -m oneadmin && echo "oneadmin ALL=(ALL) NOPASSWD: /usr/bin/qemu-nbd" >> /etc/sudoers
45-
46-
# Enable NBD and change ownership to oneadmin
47-
modprobe nbd && mkdir -p /etc/modules-load.d && echo "nbd" > /etc/modules-load.d/nbd.conf && chown oneadmin:oneadmin /dev/nbd*
48-
49-
Then, some additional packages and steps will be needed depending on the distribution of the backup server:
50-
51-
**AlmaLinux 9**
52-
53-
.. prompt:: bash $ auto
54-
55-
# Install the required dependencies
56-
dnf update && dnf install -y gcc make ruby-devel libyaml-devel ruby qemu-img curl dnf-utils httpd opennebula-rubygems opennebula-common opennebula-libs
57-
58-
# Install Passenger
59-
curl --fail -sSLo /etc/yum.repos.d/passenger.repo https://oss-binaries.phusionpassenger.com/yum/definitions/el-passenger.repo dnf install -y passenger mod_passenger mod_ssl || { dnf config-manager --enable cr && dnf install -y passenger mod_passenger mod_ssl; }
60-
systemctl restart httpd
61-
systemctl stop httpd
62-
63-
# Disable SELinux
64-
setenforce 0
65-
66-
**Ubuntu 24**
67-
68-
.. prompt:: bash $ auto
69-
70-
# Install the required dependencies
71-
apt update && apt install -y build-essential ruby ruby-dev libyaml-dev qemu-utils curl gnupg apache2 libapache2-mod-passenger openssl ruby-bundler opennebula-rubygems opennebula-common opennebula-libs
39+
Step 2: Create a backup datastore
40+
================================================================================
7241

73-
# Enable the passenger mods
74-
a2enmod passenger ssl rewrite
42+
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. You can choose to use either a :ref:`Rsync Datastore <vm_backups_rsync>` or an :ref:`Restic Datastore <vm_backups_restic>`. The following sections will describe how to create each of them.
7543

76-
.. note:: TODO: These steps will probably change once packaging is finished.
44+
.. note::
7745

78-
Step 2: Create the Rsync backup datastore
79-
================================================================================
46+
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.
8047

81-
The steps to configure an Rsync datastore are detailed in :ref:`Backup Datastore: Rsync <vm_backups_rsync>`. This datastore should be deployed 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.
48+
**Rsync Datastore**
8249

8350
Here is an example to create an Rsync datastore in a host named "backup-host" and then add it to a given cluster:
8451

@@ -103,13 +70,19 @@ Here is an example to create an Rsync datastore in a host named "backup-host" an
10370
# Add the datastore to the cluster with "onecluster adddatastore <cluster-name> <datastore-name>"
10471
onecluster adddatastore somecluster VeeamDS
10572

73+
You can find more details regarding the Rsync datastore in :ref:`Backup Datastore: Rsync <vm_backups_rsync>`.
74+
75+
**Restic Datastore**
76+
77+
TODO
78+
10679
Step 3: Install and configure the oVirtAPI module
10780
================================================================================
10881

10982
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 <repositories>`. Then, follow the steps below:
11083

11184
1. Install the ``opennebula-ovirtapi`` package in the backup server.
112-
2. Change the ``f_ip`` variable in the configuration file ``/etc/one/ovirtapi/ovirtapi-server.yml`` and make sure it points to your OpenNebula front-end address.
85+
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.
11386
3. You must also place a certificate at ``/etc/one/ovirtapi/ovirtapi-ssl.crt`` or generate one with:
11487

11588
.. prompt:: bash $ auto
@@ -130,5 +103,5 @@ To add OpenNebula as a hypervisor to Veeam, configure it as an oVirt KVM Manager
130103
Current limitations
131104
================================================================================
132105

133-
- Only persistent images can be backed up.
106+
- Volatile disks cannot be backed up.
134107
- Only in-place restores are supported.

0 commit comments

Comments
 (0)