cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleksandr Rybchenko <oleksandr.rybche...@globallogic.com>
Subject Re: Migration to Cloudstack from OnApp(Xen)
Date Thu, 03 Apr 2014 11:38:12 GMT
Thanks for tips.
In both cases we are using Fiber Channel storages


On Thu, Apr 3, 2014 at 1:18 PM, Nux! <nux@li.nux.ro> wrote:

> On 03.04.2014 10:15, Oleksandr Rybchenko wrote:
>
>> Hi all,
>>
>> we need to migrate from OnApp cloud based on Xen to cloudstack and xen
>> hypervisors. Unfortunatelly there is no guides for this particular case.
>> And Onapp doesn't has way to export VMs. So might be anyone did that
>> before?
>>
>> Thanks
>>
>
> Oleksandr,
>
> If it's onapp, then it's likely LVM storage. How are the cloudstack
> Xenservers configured, also with local LVM or NFS?
> If you do use local storage with LVM then you can simply "dd" the volumes
> over SSH[1].
> If you use NFS server, then I recommend the following course of action
> (take all this with a grain of salt as YMMV):
>
> 1 - create the replacement VM in cloudstack, take a note of which VHD file
> it is using on the NFS server (say /mnt/blah-blah-blah/blah-blah.vhd)
> 2 - shut down the VM
> 3 - mount the NFS in the onapp hypervisor as well, stop the VM to be
> moved, convert the LVM it is using (`virsh dumpxml VM-name` will tell you)
> to /mnt/blah-blah-blah/blah-blah.vhd with vhd-util (make sure it's the
> same file as in step 1!)
> 4 - start the VM on cloudstack, it should now boot from the converted
> volume, change IPs if required etc
>
> - If in Onapp your VM is PV (paravirtual) then it must be the same in
> Cloudstack/Xenserver, same for HVM guests (like Windows etc)
>
>
> Good luck!
>
>
> [1] - I recommend this in order to reduce downtime
> https://github.com/mpalmer/lvmsync
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>



-- 

Oleksandr Rybchenko | IT Lead
GlobalLogic
P +380.44.492.9693  M +380.67.608.1036
www.globallogic.com
<http://www.globallogic.com/>
http://www.globallogic.com/email_disclaimer.txt

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message