[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] XenAPI shutdown after migration issue


  • To: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.