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-api

Re: [Xen-API] Powering Down/Up Virtual Machines

To: "Caruso, Joseph" <Joseph.Caruso@xxxxxxxxxxx>
Subject: Re: [Xen-API] Powering Down/Up Virtual Machines
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Thu, 10 Jul 2008 06:51:54 -0400
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 10 Jul 2008 03:52:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4821D5B6CD3C1B4880E6E94C6E70913E02EFC7B0@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <4821D5B6CD3C1B4880E6E94C6E70913E02EFC7B0@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx

Joe,

  was that running virtual machine created using 'xm create'? If yes, then that's why it disappears because 'xm create' does not put the machine into the pool of 'managed virtual machine', otherwise if it is created using 'xm new' and then 'xm start' it would not disappear upon shutdown.

  Stefan



"Caruso, Joseph" <Joseph.Caruso@xxxxxxxxxxx>
Sent by: xen-api-bounces@xxxxxxxxxxxxxxxxxxx

07/08/2008 11:50 AM

To
<xen-api@xxxxxxxxxxxxxxxxxxx>
cc
Subject
[Xen-API] Powering Down/Up  Virtual Machines





Hello,
 
My application is using the Java API and I’m running into a problem.   The application first makes a connection to the master host and successfully retrieves all the resident Virtual machines(Host.Record.residentVMs).   Next, a single virtual machine running on the  master host is powered down.  Finally, my application retrieves all the Virtual machines.  The powered down virtual machine is no longer resident on the master host.   What happened to it?  I eventually need my application shutdown and then restart  virtual machines. I can’t restart since it’s not on the host system.  I’m using the Java API.
 
Any help is appreciated.
Joe_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>