Ask Your Question
0

Migrate Vmware windows instance to openstack

asked 2014-09-04 03:32:03 -0500

amz168 gravatar image

hi, I have window 2012 instance running in Vmware ”vmdk”, how to make this vm compatible with openstack?. Do I need to install the VirtIO drivers before converting to qcow2? And if I need to install the VirtIO how to do it in window 2012 on pre-install windows VM?

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
1

answered 2014-09-04 08:06:06 -0500

Anand TS gravatar image
Hello, 

    Steps to migrate Vmware windows instance to openstack 

    1. Download latest Virtio drivers from http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/

    2. Power off the windows vm and add virtio-win-0.1-81.iso to the CDROM and power-on the machine

    3. Install virtio drivers ( Redhat Virtio SCSI Controller and Redhat virtio ethernet adapter )

    4. Copy the VMDk file and upload to glance. Then launch the instance.
edit flag offensive delete link more

Comments

It work with Windows server 2008. But with windows 2012 it did not work. look like installing the VirtIO driver in windows 2012 in not enough. Windows did not recognize the driver.

amz168 gravatar imageamz168 ( 2014-09-07 00:52:55 -0500 )edit
0

answered 2014-09-04 04:41:14 -0500

SGPJ gravatar image

In Openstack controller, do below for to convert from vmdk to qcow2:

$ qemu-img convert -f vmdk -O qcow2 centos64.dsk centos64.qcow2

Not sure about VirtIO. Best way is to do above conversion and see you are able to launch the qcow2 image as VM.

edit flag offensive delete link more

Comments

I did convert it to qcow2, but when I upload the image it failed to boot and the kvm did not recognizance the hard disk. I think kvm need the virtio driver. But I don't know how to install it in existing VMware instance

amz168 gravatar imageamz168 ( 2014-09-04 05:05:51 -0500 )edit
0

answered 2015-05-27 05:57:10 -0500

I have converted the vmdk image and installed the virtiodrivers launching the image with qemu and virt-manager. However in openstack is not booting. How can I see more debug ?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-09-04 03:32:03 -0500

Seen: 1,147 times

Last updated: Sep 04 '14