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
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to