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

[Xen-API] XenAPI shutdown after migration issue

To: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] XenAPI shutdown after migration issue
From: Leonelli Mauro <m.leonelli@xxxxxxxx>
Date: Tue, 26 Oct 2010 15:21:09 +0200
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Tue, 26 Oct 2010 06:21:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Act1Cqn2VS0Vyd8GTS2lGpLrvtbRqAABfGrw
Thread-topic: XenAPI shutdown after migration issue

Hi all,

at the moment I am performing a shutdown by mean of

 

XenAPI.VM.hard_shutdown(_session, byVnUUID);

 

When a Virtual Machine has never been migrated the reference of a stopped machine remains by calling xm list.

On the other side if the machine has been migrated at least once by mean of

 

XenAPI.VM.migrate(_session, byVnUUID, hostname, live, null);

 

the very same shutdown command destroys completely the virtual machine.

 

Why this behavior?

 

P.S.

 

Disk image is on a storage shared by all xen hosts and these are the config on xml

<on_poweroff>destroy</on_poweroff>

  <on_reboot>restart</on_reboot>

  <on_crash>destroy</on_crash>

 

 

 



--
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] XenAPI shutdown after migration issue, Leonelli Mauro <=