Hi, Erik I use cloudmonkey, and get "help migrate virtualmachine": > help migrate virtualmachine (migrateVirtualMachine) Attempts Migration of a VM to a different host or Root volume of the vm to a different storage pool This API is asynchronous. Required params are virtualmachineid Parameters ========== hostid = (uuid) Destination Host ID to migrate VM to. Required for live migrating a VM from host to host virtualmachineid = (uuid) the ID of the virtual machine storageid = (uuid) Destination storage pool ID to migrate VM volumes to. Required for migrating the root disk volume
However, I run "migrate virtualmachine virtualmachineid=ab31a20b-9165-411d-b7d5-xxxxxxxxx storageid=d7f51aae-5c4a-334c-b33f-yyyyyyyyyy" while the VM is in running state, it throw as below: "Error 530, VM is not Stopped, unable to migrate the vm having the specified id" Does it mean cloudstack does not support storage live migration with vmware ? Thanks. Best Regards, Star Guo -----邮件原件----- 发件人: Erik Weber [mailto:terbol...@gmail.com] 发送时间: 2015年2月13日 20:16 收件人: dev 主题: Re: Ans: About Instance Storage Live Migration on VMware According to https://issues.apache.org/jira/browse/CLOUDSTACK-2701 it should be supported. Haven't tried it myself though. -- Erik On Fri, Feb 13, 2015 at 12:52 PM, Star Guo <st...@ceph.me> wrote: > Yes, CloudStack 4.4.2 supports VOLUME live migration with the vm in > running state ( ui and cloudmonkey ), on VMware vSphere. I have test > the live migration with ROOT volume and DATA volume. > And the VOLUME live migration in CloudStack API is difference from > VMware vCenter Storage vMotion which the all files of the VM (.vmdk, > .vmx , .vmxf and .log etc) move to another VMFS of NFS storage. > My question is: Does CloudStack support Storage vMotion? Not only > volume live migration. > Thanks. > > Best Regards, > Star Guo > > -----邮件原件----- > 发件人: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] > 发送时间: 2015年2月13日 13:32 > 收件人: dev@cloudstack.apache.org > 主题: Re: Forward: About Instance Storage Live Migration on VMware > > I am curious, when you say you used VMware's Storage vMotion, do you > mean the intent was to live migrate the storage underlying one of your > VMs? I was not aware that CloudStack supported this. > > I believe CloudStack supports the offline migration of VM disks, but > it seems to me that, say, offline migrating a root disk wouldn't bring > along the config and log files that also shared the same datastore > with that root disk (perhaps it should, though). > > Maybe one of our VMware gurus can explain what is the expected > behavior here. > > On Thu, Feb 12, 2015 at 5:24 PM, Star Guo <st...@ceph.me> wrote: > > > Does any one know about that ? > > > > Best Regards, > > Star Guo > > > > -----邮件原件----- > > 发件人: Star Guo [mailto:st...@ceph.me] > > 发送时间: 2015年2月12日 9:24 > > 收件人: us...@cloudstack.apache.org > > 主题: About Instance Storage Live Migration on VMware > > > > Hi, All, > > > > > > > > My env is cloudstack 4.4.2 + VMware 5.5, and it works well. > > > > I deploy an instance and try to migrate the ROOT disk to another > > vmfs primary storage. After that I find the ROOT disk is in new vmfs > > primary storage but the .vmx , .vmxf and .log etc still in the > > origin vmfs primary storage. > > > > If I want to migrate the instance (all of the files in the floder > > of the > > instance) to new vmfs primary storage, May CloudStack 4.4.2 Support > > to do this ? Thanks. > > > > > > > > Best Regards, > > > > Star Guo > > > > > > > > > > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the cloud > <http://solidfire.com/solution/overview/?video=play>*™* > >