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

[Xen-users] About differentiating halted domU and migrated one

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] About differentiating halted domU and migrated one
From: Olivier LAMBERT <lambert.olivier@xxxxxxxxx>
Date: Thu, 10 Sep 2009 16:05:31 +0200
Delivery-date: Thu, 10 Sep 2009 07:06:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=xv8Pnf6SxITIJ0vavmgOwT3saVk6zZ4mSkWgt6TH/KI=; b=CacN/BfVmFScCU+Rrm7pIGKqVbTbfxvqL/+2wYa59DMWaU+BhaYXEqUHiyiyLwSVr2 slAwNlfiyhqjtyhrZzRPL5oG3vid6Am7G6eI9SdbWGQq2OQEehXtS+4RiADA6C68Iqqp 2F3dHHWgEpr28Oz/JZ3DIeHFGvsYXptAPfCf4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=M3CBFzTUA85h/My3dR2GB/HioFytvka95chLbqJDoQ7WqPWwwexzrozHQV+/un7CEI iLkl5j6NnEbe0k/9xTNTlMgDsbBG78LorMgjN12snvXcnOlUBprR9IQ5UMOXs98xr7jz K7CGKXiAbNqrR2gDlbvX7FM/XSez5VuC2a6BE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello everyone,

I started to use Xen API couple of weeks ago. I made an interface in
Ajax/PHP/Sqlite, which is really useful to easily manage Xen.

First, I would like to have a list of Halted VM, even if I decide to
stop them : but they disappear of Xen management when I send
"VM.hard_shutdown".

I found a solution, using "xm new mydomain.cfg" vs "xm create mydomain.cfg".

But if using "xm new" solve a problem, there is a new one : when I
migrate a domU on another dom0, the domU stays displayed in the first
Dom0, in "Halted State". But, here is the hard part : It seems to be
impossible to make the difference between a Migrated DomU and a Halted
one. And It's also possible to boot the migrated DomU on the original
Dom0, which leads to 2 same DomU's !

So, my goal is to "hide" a migrated DomU when it's migrated. But, if I
can't differentiate if it's "Halted" or "migrated", I'm stuck.

Maybe I missed something ?

Thanks.


Regards,

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] About differentiating halted domU and migrated one, Olivier LAMBERT <=