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
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.
Note: You must be able to log in to the oVirt Engine web console with these credentials.
5. Ports:
  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.
By following these prerequisites, you can successfully add an oVirt Host automatically.