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

Re: [Xen-users] proper shutdown of domUs


  • To: "Ales Jagodnik" <ales.jagodnik@xxxxxxxxxxxx>
  • From: "Anand Gupta" <xen.mails@xxxxxxxxx>
  • Date: Mon, 22 May 2006 00:48:42 +0530
  • Cc: Wilmer van der Gaast <wilmer@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 21 May 2006 12:19:17 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=bng8wMG27PvYyqgMAOD2I7I+gI9ciDeoli9U5tAxdWREJbSEPGclDWpo3Sn2iWZ7UF/6+6YJCOt++C9fueVGGvvdWm1R5lLrft3ae+TyyXZbskJZ7hu20LXgiFPk4dqrUUJK7lwhxtRAJ6mqExwGC0tQrb7bU0Zz+M9zatuLuZg=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

You don't need to do that. As Wilmer already mentioned, xendomains freezes the domU state and saves it in a file. When the dom0 boots back up, xendomains will restore the state in which the domU was when dom0 was shutting down. In other words it does the job for you already.

If you still want to shutdown the domains and NOT save their states you could disable xendomains and place a script which just issue a shutdown to each xen domain running.

On 5/21/06, Ales Jagodnik <ales.jagodnik@xxxxxxxxxxxx> wrote:
Thanks.

This "tries" worries me ;-).

Well, then I will have to devise a plan how to freeze dom0 shutdown so that
domU will shutdown properly with "xendomains stop" (K??xendomains) script.

DomU must really shutdown first before anything in dom0 shuts down.

--
regards,

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