[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: Todd Deshane <todd.deshane@xxxxxxx>
  • 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
  • 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=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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