Prerequisites to Automatically Add KVM Host

Prerequisites to Automatically Add KVM Host

KB ID: 115210

Overview: 

This article outlines the essential prerequisites for automatically adding a KVM host to the BDRSuite Backup Server. Meeting these requirements ensures smooth connectivity and communication between the KVM host and the backup server, facilitating efficient backup management.

Supported Operating Systems

Debian Linux(64-bit)

  1. Debian Linux 11
  2. Ubuntu 20.04
  3. Ubuntu 22.04

Redhat Linux(64-bit)

  1. CentOS 8 Core
  2. CentOS Stream 9
  3. AlmaLinux 8
  4. AlmaLinux 9
  5. Rocky Linux 9

System Requirements

  1. Memory: Minimum: 2 GB
  2. CPU: Minimum: Dual-Core Processor

Prerequisites to Automatically Add KVM Host 

1. User Account with Root Privileges:

Make sure the user account you specify to add the KVM Host has root privileges. If you add a non-root account, make sure to provide the root password.

2. User Account Credentials:

You can add the user account credentials using any of the following options:
i) Linux Account Option:
You can connect to the Linux machine directly using the Username and Password of the specified user account
ii) Linux Private Key Option:
You can connect to the Linux machine using the Identity/Pubkey authentication method.
If you have already generated public-private key pair, provide the Username, Private key, and Passphrase (if applicable) and save the Linux credentials (or) you can follow the steps below to generate the public-private key pair.
Step 1:  Generate a pair of keys - a public key and a private key using the command below:
ssh-key -t rsa
Step 2: Specify the location and the file name in the format .ppk or .pem to save the key. In the below examples, keys are generated in the .ppk format.
Example: /home/key.ppk
Step 3: Enter a passphrase or leave it empty. The private key is protected with a passphrase.
Step 4: Then, the private key (.ppk) and public key (.pub) will be saved to the specified location and file.
Example:  Your identification has been saved in /home/key.ppk
Your public key has been saved in /home/key.ppk.pub
Step 5: Change the file permissions of the private and public keys using the command below:
chmod 755 <private key file name>
Example: chmod 755 key.ppk
chmod 755 <public key file name>
Example: chmod 755 key.ppk.pub
Step 6: On the target KVM Host, Public-key needs to be kept in a special authorized_keys file containing a list of public keys using the command below:
ssh-copy-id -i <Public-key file name> <username>@<Host IP Address>
Example: ssh-copy-id -i key.ppk.pub admin@192.168.102.11
Step 7: Copy the Private Key file to the backup server using any FTP tools. You now have the Public key on the KVM Host and the Private key on the backup server.

3. Ports

SSH Port: Ensure that the SSH port (default 22) is open for remote access. If SSH runs on a custom port, verify that this port is accessible.
Communication Port (42005): The BBA on the KVM Host uses port 42005 to communicate with the Backup Server. Confirm this port is open in firewall settings.

4. Internet Connection

The KVM Host must have internet access for successful integration and configuration with the Backup Server.
By meeting these prerequisites, you can seamlessly add a KVM host to the BDRSuite Backup Server, enabling efficient backup management of KVM virtual environments.

 
 
 

    • Related Articles

    • Prerequisites for Automatically Adding a Proxmox VE Host to BDRSuite Backup Server

      KB ID: 115226 Overview This article provides the necessary prerequisites for automatically adding a Proxmox VE host to the BDRSuite Backup Server. Ensuring these requirements are met allows seamless connectivity and communication between the Proxmox ...
    • Adding KVM Host for Backup

      KVM VMs can be backed up using the BDRSuite Backup Server. You can simply add the source to the BDRSuite Backup Server and configure backups. Navigate to Data Sources tab and choose Add KVM. When a KVM machine is added to the BDRSuite Backup server, ...
    • Steps To Add KVM Hosts through Manual Agent Installation

      KB ID: 115211 Overview This article provides step-by-step instructions to add KVM hosts to the BDRSuite Backup Server by manually installing the BDRSuite Delegation Service (BDS). This setup ensures seamless connectivity and allows efficient backup ...
    • Prerequisites to Add Linux Machine

      KB ID : 115201 Before you add a Linux machine (Servers/Endpoints) to the BDRSuite Server/Client, check the following prerequisites. 1.User Account with Root Privileges: Make sure the user account you specify to add the Linux machine has root ...
    • 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 ...