Installing the R1Soft Agent on a CentOS Server

Backups are critical for your peace of mind. In order to use 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 Linux CentOS can be done by an Internap 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. The IP of your dedicated backup server
Note:

If you are upgrading from a previous version of R1Soft like R1Soft v2, its 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. Install the R1Soft repository on your server:
    echo "[r1soft]
    name=R1Soft Repository Server
    baseurl=http://repo.r1soft.com/yum/stable/\$basearch/
    enabled=1
    gpgcheck=0
    " > /etc/yum.repos.d/r1soft.repo
    
  2. Install the agent:
    yum -y install serverbackup-enterprise-agent
    
  3. Install the header kernels:
    yum install kernel-devel
    
  4. Obtain the kernel module from R1Soft:
    r1soft-setup --get-module
    

For security reasons, CDP agents accept connections only from known CDP Servers. To authorize a CDP server to CDP agent, you must add the CDP server’s public key to 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.

    1. Run the following command on the agent machine:
      r1soft-setup --get-key https://[IPADDRESS]:8443
      [root@test ~]# r1soft-setup --get-key https://[IPADDRESS]:8443
      Key '[IPADDRESS]' successfully installed.
      
    2. Internap 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

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

Additional information:
Troubleshooting R1Soft errors: http://kb.internap.com/howtos/troubleshooting-r1soft-errors/
Troubleshooting IP Tables: http://kb.internap.com/howtos/troubleshooting-firewall-connectivity-to-r1soft-for-linux/