Installing R1Soft agent using YUM is pretty straight forward. Simply do the following steps.
1. Edit the R1Soft YUM repo file :
/etc/yum.repos.d/r1soft.repo
2. Append the following :
[r1soft] name=R1Soft Repository Server baseurl=http://repo.r1soft.com/yum/stable/$basearch/ enabled=1 gpgcheck=0
3. Install the agent :
yum install r1soft-cdp-enterprise-agent
4. MISC : You might see the following output message once the agent is installed :
Attempting to get a kernel module from ‘krnlbld.r1soft.com’
No binary module was found for your kernel. The kernel headers will be required
to build a module. See ‘/usr/bin/serverbackup-setup –help’ for more information
/etc/init.d/cdp-agent
That mean you need to build a custom module for your kernel. As scary as it sounds, some scripts do all the work for you, just run :
/usr/bin/serverbackup-setup --get-module
NOTE : You need both “kernel-devel” and “kernel-headers” installed and of course “gcc” compiler to build the module.
I’ve recently experienced the following error trying to get the module :
Creating kernel headers package
Checking ‘/lib/modules/2.6.32-279.14.1.el6.x86_64/source/’ for kernel headers
Checking ‘/usr/src/kernels/2.6.32-279.14.1.el6.x86_64-x86_64/’ for kernel headers
Checking ‘/lib/modules/2.6.32-279.14.1.el6.x86_64/build/’ for kernel headers
Unable to find a valid source directory.
Please install the kernel headers for your operating system.
You can work around this issue by doing :
ln -s /usr/src/kernels/2.6.32-279.14.1.el6.x86_64 /usr/src/kernels/2.6.32-279.14.1.el6.x86_64-x86_64
*R1Soft was recently acquired by Idera and is now known as Idera Backup.