Prerequisites for Adding oVirt Host Data source through Automatic Agent Installation

Prerequisites for Adding oVirt Host Data source through Automatic Agent Installation

KB ID: 115228

Overview

This article outlines the prerequisites for automatically adding an oVirt host to the BDRSuite Backup Server. Meeting these requirements ensures secure communication and enables efficient backup management of oVirt virtual machines.

Supported Versions:

  1. oVirt 4.5.0 and above

System Requirements:

  1. Memory: Minimum 2 GB
  2. CPU: Minimum Dual-Core Processor
  3. Operating System: CentOS 8 and above, Red Hat 8 and above

Prerequisites to Automatically Add oVirt Host

1. User Account with Root Privileges

  1. Ensure the user account specified to add the oVirt Host has root privileges. If using a non-root account, provide the root password.

2. User Account Credentials

  1. Linux Account Option:
    1. Connect to the Linux machine directly using the Username and Password of the specified user account.
  2. Linux Private Key Option:
  1. Connect to the Linux machine using the Identity/Pubkey authentication method.
  2. If you already have a public-private key pair, provide the Username, Private key, and Passphrase (if applicable), and save the Linux credentials. Otherwise, follow these steps to generate the key pair:
Generating Public-Private Key Pair
1. Generate a pair of keys using the command:
            ssh-keygen -t rsa
2. Specify the location and file name in the format .ppk or .pem to save the key. For example:
           /home/key.ppk
3. Enter a passphrase or leave it empty. The private key is protected with a passphrase.
4. The private key (.ppk) and public key (.pub) will be saved to the specified location and file:
        Your identification has been saved in /home/key.ppk
        Your public key has been saved in /home/key.ppk.pub
5. Change the file permissions of the private and public keys using the command:
        chmod 755 /home/key.ppk
        chmod 755 /home/key.ppk.pub
 6. On the target oVirt Host, add the public key to the `authorized_keys` file using the command:
         ssh-copy-id -i /home/key.ppk.pub <username>@<Host IP Address>
         Example:
        ssh-copy-id -i /home/key.ppk.pub admin@192.168.102.11
7. Copy the private key file to the backup server using any FTP tool. You now have the public key on the oVirt Host and the private key on the backup server.

3. oVirt Engine FQDN

  1. Enter the oVirt Engine Fully Qualified Domain Name (FQDN).
Example: `engine.example.com`

4. oVirt Engine Credentials

  1. Username: Provide the username along with its domain details. Example: `username@domain`
  2. Password: Provide the respective password.
Notes
Note: You must be able to log in to the oVirt Engine web console with these credentials.

5. Ports

Configuring the ports is essential to ensure communication between the BDRSuite Backup Server and the Backup Agent occurs without interruptions.
  1. Ensure the SSH port is open to allow remote access to the machine. The default SSH port is 22. If the SSH server runs on a different port, ensure the port is accessible.
  2. BBA installed on the oVirt Host uses port 42005 to communicate with the Backup Server. Ensure your firewall rules allow port 42005 to be open for communication.

6. Configure Backup Port

This option allows you to specify the ports used for backing up virtual machines, which are exposed via the NBD protocol. You can define ports either individually or as a range, for example, 3265, 3500-3800, 73000, or 33400-33490.

7. Maximum Concurrent Tasks:

Specify the number of parallel backup tasks that each BDRSuite Delegation Service (BDS) can handle, ranging from 1 to 5. By default, 5 is selected. 

8. Internet Connection

The ovirt Host must have internet access for successful integration and configuration with the Backup Server.

Complete the Installation

  1. Click "Finish" to complete the setup. The BDS Agent will now be added to the BDR server, and the oVirt host will appear in the BDR server console under:
  2. Data Sources >> Hypervisors >> oVirt
  3. Verify that the oVirt host is listed.

Configure Backups

  1. Go to the "Backup" tab in the BDR server console.
  2. Select "Configure Backup," then choose "Virtual Machines," followed by "oVirt"
  3. Enter the required backup details and click "Next."
  4. Select the VMs you wish to back up from the list of added oVirt hosts and complete the backup configuration process.
Following these prerequisites will enable automatic addition of the oVirt host to the BDRSuite Backup Server, facilitating efficient backup management for your virtualized environment.