Skip to main content

Recover to new VM in XenServer ISSUES

Thread needs solution

I'm testing out the Acronis 12 software before deploying it to all my clients. 

I have sucessfully backed up a linux server hosted on a xenserver using the Acronis 12 software.

I am now trying to recover this VM to a brand new Xen host and VM:

What I am trying to do:

1) Create a new VM, with a larger virtual harddrive, rhel 6.5 (same as backed up vm), same memory, 1 nic card (same as original)

2) Mount the boot iso that was downloaded from acronis 12 webclient

3) boot vm using recoverymode

4) change bootable media to represent the linux file system rather than windows

5) select recover > open up the backup file created > select all the volumes

6) make sure all volumes are now allocated to the new harddrive

7) run restore

This does not work. It says its successful, but when I eject the bootmedia and try to start the VM it states there is no bootable device. The VM is trying to start using the dvd drive, i cannot change this to the harddrive. I am using xenserver 6.0

 

 

 

 

 

0 Users found this helpful
frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 22
Comments: 3800

Hi,

If you're trying to backup and restore a paravirtualized Linux VM on XenServer then it may be affected by a known issue that such VM cannot boot properly post recovery (internal bug ID: ABR-110886). The workaround would be to use a non-PV VM. If this is not the case then please contact our support team for investigation of the issue.

Thank you.

To post my findings incase anyone else needs to know:

Xenserver and Linux; If the XenServer version is lower than 6.5 all of the templates that are linux based does not allow you to boot from anything but the setup DVD. You can however boot into the Acronis Boot Media via the "Boot into recovery mode" action within xenserver. You can then run the acronis restore and the files and volumes actually do restore. 

 

Issue with this is a limitation on XenServers side. After the restore and trying to reboot, the template still thinks nothing has been installed. And wont start or boot from the harddrive. You cannot change this feature as the section is greyed out. It must boot from a linux dvd and the installation must complete. 

Workaround:

Install a basic copy of the linux version you are looking to restore, setup the LVM's to the size the recovery has, once done reboot into recovery mode and than restore as usual. 

If you used Acronis 11.5/7 to backup the device you could always use a management server to convert the recovery to a xenserver vm machine. Once this process is done you can import it into the xenserver (this also takes a long time as you are basically recovering the vm twice, once to convert to vm another to import to xenserver)

If you have Xenserver 6.2 I would suggest highly to updating to Xenserver 6.5, its a pretty easy and simple upgrade. And if anything goes wrong you can always revert back to 6.2 by rerunning the 6.2 dvd.

In my senario; I have a RHEL 6.X server that was backed up using the Acronis 12 software.I have a XenServer v6.5 host. I created a new VM using the RHEL 7 template (This is the only template that will let you choose right off the bat to boot into hdd, dvd or network.). attach the acronis 12 bootable media to the vm. and boot up the vm normally. No need to start it using recovery mode. Remember to change the volume representation to linux instead of windows. and recover as normal, eject the media and bootup. 

 

I tested and verified this works with RHEL 6.X on a RHEL 7 template. I have not tested this out with anything prior to 6.X. 

 

So in short, If you are using Xenserver 6.2 upgrade it to 6.5. If you are thinking about choose a virtual platform and you plan on using Acronis, get VMWARE. Acronis does a MUCH better job with VMWARE compared to XENSERVER.