[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] How to auto start DomU after reboot of Dom0?


  • To: xen-users@xxxxxxxxxxxxx
  • From: Alexandre Kouznetsov <alk@xxxxxxxxxx>
  • Date: Wed, 06 Feb 2013 09:23:50 -0600
  • Delivery-date: Wed, 06 Feb 2013 15:24:45 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hello.

El 06/02/13 07:18, Carlos Ribas escribió:
     I followed some tutorials to install Xen in a Debian Squeeze
server. One of them [1] says to set up XENDOMAINS_RESTORE to false,
because I can have problems with that. So, if my server shuts down or
reboots how can I configure my VM to automatically start?
That option has to do with Xen's feature to save/restore the domains, instead of shutdown/startup. A close equivalent in baremetal computing would be suspend/resume.

     Yesterday I did a quick script [2] that worked well, but I am not
sure if it is the best way to do it. I would like to know what you do
solve this issue.
Squeeze's Xend provides a very simple way to autostart the domains, regardless they was saved or shot down. Check /etc/defaults/xendomains file, it's heavily commented, particularly XENDOMAINS_AUTO section. Note that you will have to create the directory /etc/xen/auto manually. I usually put there symbolic links to config files (that are stored directly under /etc/xen), instead of the configuration files themselves.

Greetings.

--
Alexandre Kouznetsov


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.