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

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



Hello,

  As I thought, there is a simple way to do it. Thanks Alexandre!

  Muzaffer, we have only to check if xend starts first, if not this will not work. Probably a "sleep" helps. Thank you. Â

Regards,

-------------------------------
Carlos Eduardo Ribas



2013/2/6 Muzaffer Tolga Ozses <tolga@xxxxxxxxx>
You could also start them using cron like below:

@reboot xm create vm.cfg

Regards
M

ÂmyPhone'dan gÃnderdim

6 Åub 2013 tarihinde 17:28 saatinde, Alexandre Kouznetsov
<alk@xxxxxxxxxx> ÅunlarÄ yazdÄ:

> 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

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

_______________________________________________
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®.