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: Todd Deshane <todd.deshane@xxxxxxx>
Subject: Re: [Xen-users] Save and restore DomU (hvm) on Dom0 restart. CentOS 5.5 + Xen 3.4.3
From: Alexander Zherdev <azherdev@xxxxxxxxx>
Date: Thu, 10 Feb 2011 16:24:55 -0800 (PST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 10 Feb 2011 16:26:22 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1297383895; bh=CnVFKgkXTzG1mTldK7g8YZqpU2zt48csWTdoQe0JiHM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=XnjZ12wP4luA9jABy4FYSTajo/Ee9cKxzQww8dKr24CBncLCl2EMcF8gqJ0GWkuPdv6cOLCsh7LzLp4hY/gJFHTyFjWVY/9IqVqb3hHdTY4ILrrSKTgc5/2CUA3+S1rR4uZTvsDziI5sG7OMPczWF4wC0Z1FS7YSs2JSmz9bGAg=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=B9QSoMo+q8TFC/9e6yLH/QkljzEn/Pw6AKOve5zEtN2bAfB30cPX8Qb8eVdf0HbP/ho3GQKYmOTk90o76fA4lWtXZCYtx2mdtiCQU31PUaF1uaJdJt2CgSNhvDBLrSrExxcpRIv2cnRTgGmRxtUNQxmrMvsO4w97E7e3KYNmF6g=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTin-yq1C1L0ZJNX85HKqSo_1khUvcbwxysr6Qm_p@xxxxxxxxxxxxxx>
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> <AANLkTin-yq1C1L0ZJNX85HKqSo_1khUvcbwxysr6Qm_p@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thank you for responding Todd,

Do I need to have the PV drivers to save the state?

What I want to happen is:

When shutdown/restart is initiated:

1. Xen pauses all running VMs
2. Xen saves the state of all VMs to disk (memory and cpu state)
3. Xen shuts down
4. System shutsdown/restarts

When system is started/restarted:

1. Xen starts
2. Loads the state of all the VMs
3. Resumes VMs

I do *NOT* want the VMs to know they were shutdown. Hickup with network connections/time is the only thing that will be perceived.
 
Alexander Zherdev
azherdev@xxxxxxxxx



From: Todd Deshane <todd.deshane@xxxxxxx>
To: Alexander Zherdev <azherdev@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Sent: Tue, February 8, 2011 8:32:48 PM
Subject: Re: [Xen-users] Save and restore DomU (hvm) on Dom0 restart. CentOS 5.5 + Xen 3.4.3

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:
>
>
>
>
>
> 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
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>