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] Restarting xend while domU are running

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Restarting xend while domU are running
From: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Date: Tue, 9 Aug 2011 13:05:07 +0100
Delivery-date: Tue, 09 Aug 2011 05:15:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1k5qd8m.13uqv24ppr758N%bertrand.lupart@xxxxxxxxxx>
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: <1k5qd8m.13uqv24ppr758N%bertrand.lupart@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Bertrand LUPART wrote:
Hello,

Story:
- xend 3.2.1 crashed on Dom0 and didn't restarted (xend.log below)
- DomU are still running


Question:
- Is it safe to restart xend while DomU are still running? Won't xend
try to start allready running DomU and mess up stuff?
- Is it safer to log into each DomU and shutdown it manually before
restarting xend?

Due to a bug in the combination of Xen and kernel I've been running, I've often had to restart xend with guests running. The process had been :
guest 'hangs' with 100% CPU usage
stop xend
kill xenconsoled
start xend
guest 'comes back to life'

So I'd say it's generally safe - but *don't* stop/restart xenstored !

However, while playing around with Xen4.0, I did find a setting to "shutdown guests when stopping xend" - I haven't experimented yet as to how that affects the situation.

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

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