Installing the R1Soft agent on a server (Ubuntu & Debian)

Expertise level: Medium

Backups are critical for your peace of mind. In order to use iWeb's R1Soft backup solution, you will need to ensure that the server to be backed up has the R1Soft agent installed. Installing the R1Soft agent on your server with Ubuntu or Debian can be done by an iWeb technical agent, but if you'd like to do it yourself, you will need:


1) the root access of the server on which you want to deploy the agent,
2) and the IP of your dedicated backup server.

NOTE: The R1Soft v2 agent cannot run simultaneously with R1Soft v5 since both use port 1167. To uninstall R1Soft v2, complete the following linux command: 

r1soft-uninstall-buagent --remove 

Once you are sure you no longer have the R1Soft v2 agent installed, you can proceed to install R1Soft v5: 

  1. Add the R1Soft repository to your server:

    echo "deb http://repo.r1soft.com/apt/ stable main" >> /etc/apt/sources.list 

    wget http://repo.r1soft.com/r1soft.asc

    apt-key add r1soft.asc

    apt-get update

  2. Proceed with the installation: 

    apt-get install r1soft-cdp-enterprise-agent

  3. Install the kernel module:
     
    r1soft-setup --get-module

For security reasons, CDP agents accept connections only from known CDP servers. To authorize a CDP server to a CDP agent, you must add the CDP server's public key to the agent's configuration.

To add the server's key to the agent's configuration using the Command Line Interface (CLI) tools, follow the instructions below.

Run the following command on the agent machine: 

r1soft-setup --get-key https://[IPADDRESS]:8443

 

Screen Shot 2014-07-28 at 3.54.54 PM.png
 

iWeb recommends restarting the services once you have the key: 

/etc/init.d/cdp-agent restart

Note: The --get-key function downloads the key from the server. For this option to work, the server should be up and accessible from the agent via the network.

Example: To add a server with IP address 192.168.0.222 to the list of servers known to the agent, run the r1soft-setup --get-key http://192.168.0.222 command.

 
Note: The --get-key function also accepts https:// URLS

Once the server key has been added, requests from the server should be accepted.

Read the following articles on confirming connectivity to R1Soft for your firewall: 

For Smart Server firewalls: https://kb.iweb.com/hc/en-us/articles/230264088-Troubleshooting-Smart-Server-firewall-connectivity-to-R1Soft

For iptables: https://kb.iweb.com/hc/en-us/articles/230264188-Troubleshooting-firewall-connectivity-to-R1Soft-for-Linux

Additional information:

https://kb.iweb.com/hc/en-us/articles/230264068-Troubleshooting-R1Soft-errors

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk