This content has been marked as final. Show 9 replies
There is no upgrade path from 2.2 to 3. You have to do a fresh install. Either method you listed will work. The time it takes to create a template from a VM in 2.2 is tremendously long, so I found it easier to tar-gzip the shutdown guest and save it off on another server and then import that into 3.1.1 person found this helpful
Heres what we did to move ~80 guests from 2.2.2 to 3.11 person found this helpful
1. Shut down the VM on 2.2
2. On a 2.2 node, cd into /var/mount/ovs and run: python -m SimpleHTTPServer
This will create a http server on port 8000, in which you can then use the 3.1 documentation to import the vms as templates.
Hint: you need to browse to the running_pool/VMNAME and copy and paste the cfg and img files into 3.1's import wizard.
This removes the timely step of tar/gziping and moving files around.
after tar and gzip the 2.2 guests, in 3.11 I can run import the tar.gz as a template?
Thanks a lot
aha the simplehttp server is a great tip!
thanks a lot
Sorry to resurrect an old thread, but I have to say that the SimpleHTTPServer method with multiple file entries is SO much faster than the tar and gzip method that I had been previously using. It is definitely THE way to move VMs from 2.2 to 3.1.
Dave thanks your idea ,I have done this in the production successfully
how do you get this method to do so ?
Was the migration done on two different servers? if so:
1. Do you need to manually update the vm.cfg file before loading it with OVM Manager? or 2. does OVM Manager update it for you automatically?
I'm assuming its the first one, just want to hear from someone who have already tried it.
update: Dave - that was an awesome tip with the python -m command
Edited by: user8020796 on Aug 28, 2012 3:49 AM
The most reliable way that I have found to migrate vms to different/other OVM servers is to import the disks first, and then create a new vm pointing to the imported disks.
Obviously you need to know the details of the vm you are recreating, such as OS version, PVM vs HVM, etc.
And, yes, the Python SimpleHTTPServer tip is on my top ten all time best tips!
Yes, I agree, we've done whole machine moves using the template import method (of course with the python http server) and we've also done single disk imports, and creating a new VM and attaching those disks.
We've witnessed in moving some VMs verbatim, sometimes the vnc password in vm.cfg gets retained and you have to manually edit the vm.cfg on OVM 3.1 to remove it otherwise the console will not function.