On 23/11/12 13:20, Black Bird wrote: > reading the description of Storage XenMotion in the Xenserver VM User > Guide, I get the impression that this function is only supported through > the use of XenCenter. > > Is there a way of achieving the same outcome using the command line? > And should Storage XenMotion work on XCP or only on XenServer > Enterprise Edition?
Storage XenMotion works on XCP, and can be executed from the command line or the XenAPI. The syntax for executing a storage motion from the command line is 'xe vm-migrate remote-master=<network address> remote-user=<root> remote-password=<pass> vif=<vif uuid>:<remote network uuid> vdi=<vdi uuid>:<remote sr uuid> [destination-sr-uuid=<remote sr uuid>]'. If you find that difficult to remember, try 'xe help vm-migrate'. It's also possible to move a VM's disks while the VM is running, using the new command 'xe vdi-pool-migrate'. Mike _______________________________________________ Xen-api mailing list Xen-api@lists.xen.org http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api