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] changing behavior of xendomains stop

To: Matthias Reif <mattreif@xxxxxxxxxxxxx>
Subject: RE: [Xen-users] changing behavior of xendomains stop
From: Steven Timm <timm@xxxxxxxx>
Date: Wed, 06 Jan 2010 13:38:18 -0600 (CST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 06 Jan 2010 11:39:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <OF2AFCE49B.E6BF00D1-ONCA2576A3.006AB1EC@xxxxxxxxxxxx>
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: <OF2AFCE49B.E6BF00D1-ONCA2576A3.006AB1EC@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
thanks--  I looked at /etc/sysconfig/xendomains and
indeed if I set XENDOMAINS_SAVE to "" instead of to /var/lib/xen/save
then the system does a shutdown of the xendomains instead
of a save and it works as expected.

Steve Timm


On Thu, 7 Jan 2010, Matthias Reif wrote:



-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
<xen-users-bounces@xxxxxxxxxxxxxxxxxxx>
Sent: Thursday, 7 January 2010 5:26 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] changing behavior of xendomains stop


I'm running xen 3.1.2 as bastardized by RedHat on a redhat
clone operating system. I'm using the xendomains script
as it came out of the box to start my domU's at boot
and stop them at shutdown.

There are three problems right now:

1) left to its own devices,

service xendomains stop

attempts to do "xm save" on each of the domU's.  that
takes quite a bit of time and I don't actually want to
do that, I would be happy if it would just do an
"xm shutdown" on each.  It takes so much time, in
fact, that the watchdog process appears to be killing the
xm save before it coompletes.

1a) these images take up a lot of disk space that
I don't have.  If someone doesn't know what they are doing
and does a reboot on dom0 without doing "xm shutdown -a" first,
it fills the / disk and keeps it from rebooting. I am
presuming that the size of the image is in fact equal to the
memory footprint of the various domU's?

2) Xendomains is not left to its own devices, the
next thing to shut down is xen itself, and that leads
to partial save and a bunch of non-working xen images
stored in /var/lib/xen/save. that means things don't start
up clean on reboot.

Any advice on easy parameters to fix would be much appreciated.

Steve Timm


Have a look at /etc/sysconfig/xendomains. Here you can tweak the behaviour of 
xendomains incl. doing a shutdown instead of save.

Matthias


--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.

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

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