Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have just upgraded to Ubuntu Server 12.04 and permanently run a Xen guest.

We have migrated to the xl toolstack for Xen (from xm) as suggested which unlike xm does not have support for managed domains. xm is being removed in Xen 4.2 so I need to migrate away.

How should I configure my host to autostart Xen guests?

share|improve this question

2 Answers 2

www.gossamer-threads.com/lists/xen/users/259014 suggests to me that Xen 4.1 with xl is unfortunately not a great combination.

The "fix" is to go back to xm until Xen 4.2 is packed in Ubuntu, at which point xendomains won't depend on xend, so you can start guests at boot and use xl.

share|improve this answer

There is a best practice in place & it has nothing to do with xl:

Do >nano /etc/default/xendomains then deactivate VM restore using XENDOMAINS_RESTORE=false & save

Then, create the subfolder auto underneath the /xen folder.

mkdir -p /etc/xen/auto

cd /etc/xen/auto

create a symlink to the virtual machine that you want to auto start at Dom0 boot & don't forget the dot at the end of the command

ls -s /etc/xen/yourvm.cfg .

Reboot

I asked to disable the restore feature because i had problems with it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.