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

Re: [Xen-users] Save and restore DomU (hvm) on Dom0 restart. CentOS 5.5 + Xen 3.4.3


  • To: Alexander Zherdev <azherdev@xxxxxxxxx>
  • From: Todd Deshane <todd.deshane@xxxxxxx>
  • Date: Wed, 9 Feb 2011 04:32:48 +0000
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 08 Feb 2011 20:34:33 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=nMqQHLbkMROCgj7t+w+wD2czZlG3a8PbatM60UdAa7ioSPKcmhWhW5dbvJka8G6XnZ RyeCSaI5dvcAyeppIYAtuRFwwFfehy4c2P4b/ET7nBiQbJPEyFtjoHGoqE97y3BKPb1z rvvS7Nol7F1j8FgGhGHZ/Yr1OHLJvB9Um3fZY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Sat, Feb 5, 2011 at 11:55 PM, Alexander Zherdev <azherdev@xxxxxxxxx> wrote:
> What are the settings that I must specify to have DomU be saved and then
> automatically started on reboot of the physical server?
>
> In my /etc/sysconfi/xendomains it points to a save folder (which does not
> exist)
>
> My configuration files are located at /vm/cfg/vm-xxxx/vm-xxxx.xen
>
> In my config file I have:
> on_poweroff = 'destroy'
> on_reboot = 'restart'
> on_crash = 'restart'
> on_xend_stop = 'suspend'
> on_xend_start = 'start'
> But, after calling "shutdown -r now", the DomUs are turned off and do not
> start.
>
> My DomU's are Windows 2003 Servers running in HVM virtualization.

You need pv drivers for the shutdown to work properly. So, for example
you could use the gplpv drivers for windows.

For a domain to be started at boot, there needs to be a symlink to its
config file in /etc/xen/auto

Hope that helps.

Thanks,
Todd

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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