I want to use python and the xenserver API to live migrate locally stored VM's, within a pool.
I am using the xenapi.VM.Pool_Migrate($vm, $host, $options)
call and when I run it, the icon for the VM
in XenCenter turns yellow for a moment, and the script exits cleanly, but the VM
does not move.
I think this is because the VM
is locally stored on the host. But I can manually migrate it to another host within XenCenter, so how do I do this in the API?