[openstack-dev] Manual VM migration

2014-05-21 Thread Naveed Ahmad
Hi community, I need some help from you people. Openstack provides Hot (Live) and Cold (Offline) migration between clusters/compute. However i am interested to migrate Virtual Machine from one OpenStack Cloud to another. is it possible ? It is inter cloud VM migration not inter cluster or comput

Re: [openstack-dev] Manual VM migration

2014-05-21 Thread Aditya Thatte
Hi, What kind of errors are you getting? Can you give more details about what you have tried? On Wed, May 21, 2014 at 11:02 PM, Naveed Ahmad <12msccsnah...@seecs.edu.pk>wrote: > > Hi community, > > I need some help from you people. Openstack provides Hot (Live) and Cold > (Offline) migration be

Re: [openstack-dev] Manual VM migration

2014-05-21 Thread Diego Parrilla Santamaría
Hi Naveed, we have customers running VMs in their own Private Cloud that are migrating to our new Public Cloud offering. To be honest I would love to have a better way to do it, but this is how we do. We have developed a tiny script that basically performs the following actions: 1) Take a snapsho

Re: [openstack-dev] Manual VM migration

2014-05-21 Thread Aditya Thatte
Hi Diego, we have a push button technology that does all of that, plus a few additional things. Please look at our talk here https://www.youtube.com/watch?v=NW_D9bEsHAk&feature=shared On Wed, May 21, 2014 at 11:17 PM, Diego Parrilla Santamaría < diego.parrilla.santama...@gmail.com> wrote: > Hi N

Re: [openstack-dev] Manual VM migration

2014-05-21 Thread CARVER, PAUL
Are you sure steps 1 and 2 aren’t in the wrong order? Seems like if you’re going to halt the source VM you should take your snapshot after halting. (Of course if you don’t intend to halt the VM you can just do your best to quiesce your most active writers before taking the snapshot and hope the

Re: [openstack-dev] Manual VM migration

2014-05-21 Thread Aditya Thatte
Thats correct. On Thu, May 22, 2014 at 3:23 AM, CARVER, PAUL wrote: > Are you sure steps 1 and 2 aren’t in the wrong order? Seems like if > you’re going to halt the source VM you should take your snapshot after > halting. (Of course if you don’t intend to halt the VM you can just do your > bes

Re: [openstack-dev] Manual VM migration

2014-05-21 Thread Naveed Ahmad
I have devstack based Openstack cloud on two different machines. I am interested to migrate instance from A to B devstack cloud. I tried to copy instance files from Cloud A ( ../../data/nova/instace--ab-cd-ef ) to Cloud B. I am also copying related metadata of instance from its database to destin

Re: [openstack-dev] Manual VM migration

2014-05-21 Thread Naveed Ahmad
Hi Diego , Thanks for sharing steps for VM migration from customer end to your cloud. Well! i am not going to propose new idea for VM migration. I am using VM migration for POC of my research idea. I have few question for you! 1. Can we use suspend/pause feature instead of snapshot for saving

Re: [openstack-dev] Manual VM migration

2014-05-22 Thread Diego Parrilla Santamaría
Yep, wrong order. You are right. Thanks! -- Diego Parrilla *CEO* *www.stackops.com | * diego.parri...@stackops.com | +34 91 005-2164 | skype:diegoparrilla On Wed, May 21, 2014 at 11:53 PM, CARVER, PAUL wrote: > Are you sure steps 1 and

Re: [openstack-dev] Manual VM migration

2014-05-22 Thread Diego Parrilla Santamaría
Hi Naveed, I don't think it's a good idea to suspend/pause. If you want to keep the state of the VM then have a look at the live migration capabilities of KVM. Our script is very simple and works for any VM without attached block storage. Here goes the little script. Keep in mind it's something v

Re: [openstack-dev] Manual VM migration

2014-05-22 Thread Naveed Ahmad
Hi, Thanks for response and sharing script. Can i use this script with devstack based cloud platform.? Actually Live Migration is available between inter-cluster. so that why i was talking about the suspend/pause the VM before migration. Regards On Thu, May 22, 2014 at 8:45 PM, Diego Parri