WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Alexander Zherdev <azherdev@xxxxxxxxx>
Subject: Re: [Xen-users] Save and restore DomU (hvm) on Dom0 restart. CentOS 5.5 + Xen 3.4.3
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=5R3FAMxuSMCetmB7e5dT8UVHIuot4GNrkslxiLc434k=; b=QBKd7UXgiekEx4MK58al0absYHVSVMQYO7ehsBBb3H12Jg91nMpFkLLmUindVnZ4i+ gbeuvK/reuP0re8vgxai9s+5qXZFqj7MxAHOit70Z6jVnpcxzctaOy3loT7eNDnNXwVC 1AM0bFKrEGoAE1xTPiaLzauDl76G8IIvsNuhM=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <748561.82141.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <748561.82141.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>