Migrate vm from ESXi to oVirt

By | 2014年4月25日

oVirt: v3.3, CentOS, 192.168.1.111
ESXi: 5.x, 192.168.1.135

For Windows vm, do this
http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE#VMware_to_Proxmox_VE_.28KVM.29
Before you begin make a copy of the VMware image.
Remove VMware tools
Start the Windows virtual machine on VMware and remove the VMware tools via the Windows control panel. Reboot.
Enable IDE
Start the Windows virtual machine on VMware and execute the mergeide.reg (File:Mergeide). Now the registry is changed that your Windows can boot from IDE, necessary for KVM.
Make sure Atapi.sys, Intelide.sys, Pciide.sys, and Pciidex.sys are in the %SystemRoot%\System32\Drivers folder. If any are missing they can be extracted from %SystemRoot%\Driver Cache\I386\Driver.cab which can be opened in Windows file Exlorer like a directory and then the missing files can be copied out.
see Microsoft KB article for details.
Shutdown Windows.

1. Create a nfs export domain on your oVirt datacenter.

2. Install virt-v2v on CentOS and add authentication.

Change permission of .netrc as saying of manual or you will get a warning with wrong permission.

3. Import myvm. Make sure that your vm in ESXi is powered off.

4. Import myvm from export domain to data domain.

Import.

import

Run.

run

发表评论

邮箱地址不会被公开。