Skip to main content

How to install AcronisAgentLinux on Xenserver 5.5

Thread needs solution

I need to install the AcronisAgentLinux on our Xenserver to make images of the virtual machines.
I don't have knowledge of Linux so i have given it a try.
Mounted my usb stick and then issued these commands:
- chmod 777 AcronisAgentLinux.i686
- ./AcronisAgentLinux.i686
- specified the location of the licenserver (no problem...license is found).

The problem lies in compiling the SnapAPI module.
(!) If the setup program could not compile the necessary module for your Linux distribution, or if you have chosen to compile the module manually later, please refer to the file: /usr/lib/Acronis/BackupAndRecovery/HOWTO.INSTALL

So I read through this howto.install but i really don't know what to do.
The acronis agent installation error is:
"Acronis Backup & Recovery 10 cannot find precompiled SnapAPI module for running kernel. It is recommended to compile it now"
"Failed to find kernel source directory"/lib/modules/2.6.18-128.16.e15.xs5.5.0.496.1012xen/build"

According to KB article 1556 "You should have the sources of your kernel or at least kernel headers installed to let Acronis True Image Server for Linux compile the necessary modules or to be able to do this manually"

Pff I really don't have a clue what to do now and what commands i have to issue.

Can anyone help me on this?

Thx.

Ramon

0 Users found this helpful

Hello Ramon,

Thank you for posting your question, I will be happy to help.

According to the error you have received you are running some custom Linux kernel. I was unable to find any information about this kernel on the Internet and therefore there is no any information about its sources.

As far as you might know any Linux kernel module (what the SnapAPI module is) can be compiled on Linux system if there are gcc and kernel sources installed. Considering that you have the custom kernel I believe you should be able to obtain its sources from the same resource you have got the kernel itself. 

Please let us know the results, we should be sure that the program runs flawlessly. If the provided information is not clear or if you have any other question do not hesitate to post them and we will be glad to answer.

Thank you.

Hi i started installation on Xenserver 6.02
Same Problem. Citrix doesn't deliver Xenserver with kernel source files.
Can you provide Information on howto Install?. As stated, the Virtual Edition is expected to run with xenserver.

http://www.acronis.de/backup-recovery/advanced-server-virtual/

I would like to backup the virtual machines running on the hypervisors. Hmm..

Hello Ramon and Christian!

Use these instructions: kb.acronis.com/content/9766 to compile SNAP API for XenServer.

Hello Ramil,

thx for the Info. But I'm not really willing to compile anything for a solution which should work out of the box. Acronis should provide correct Xenserver 6.0 Installation Sources or create an agentless Backup Solution (via provisioned VM) for it. We have three Big Hypervisors on the market: VMware, Xenserver and Hyper-V. I would expect from your Virtualization solution to support them directly, same as Quromsoft Alike or PHD Virtual Backups does, without me doing any Kernel Driver Compilations and huzzle with Incompatibilities when the next version of xenserver ist on the Update Roadmap from Citrix. We will stop testing on Acronis Xenserver Backup for now until this Topic is correctly adressed. Because i can't really explain our customers to do Kernel Builds.. you know why.

greetz
CH

Hello Christian,

Thank you for posting and welcome to the Forum.

We appreciate your feedback and I have submitted it to our Customer Listening System.

We have updated the article provided to you by Ramil, please take a look at step 8 first, then continue with steps 9-11.

If you need additional help, please let me know.

Thank you.

Hi,

i tested it. -> Resultscreen: The automatic Installation of the Kernel Module SNapi failed. Try to installa it later by Hand.

But the Installation finishes. Last Screen says that its not possible to work with volume backups while the kernel modul is missing..

modprobe snapapi26 && lsmod | grep snapapi26 gives me back snapapi26 34608 3

Hi,
Just ignore message "kernel module is missing" during installation. Because snapapi26 kernel module is loaded, volume backup will work.

After installation run these commands:
service acronis_mms start
service acronis_agent start