KVM---Virtualization migration (ESXi to KVM)

Source: Internet
Author: User

1.ESXi to KVM V2V case description

(1). Configure the Task list:

1) migrating Linux systems to KVM virtual platforms under Vmwareesxi virtual platform.
2) Migrate the Windows system to the KVM virtual platform under the Vmwareesxi virtual platform.

Tip: This article only describes the two migration processes, KVM to ESXi V2V can be migrated using the Vmwareconvert tool.

(2). VMwareESXi5.1 and Virtual machine case description

VMwareESXi5.1

IP Address: 192.168.233.154

Account Number: root/1111111

(3). OEL63_TEST01 is using oel63linux virtual machine, IP address: 192.168.233.162

(4). VM2003_TEST02 is using WINDOWS03 virtual machine, IP address: 192.168.233.163

(5). KVM Virtual Platform configuration considerations, KVM Storage Pool configuration Brief process

12345 # mkdir -p /data/vmfs# virsh pool-define-asvmdisk --type dir --target /data/vmfs# virsh pool-build vmdisk# virsh pool-autostart vmdisk# virsh pool-start vmdisk
2.Migrating Linux systems to KVM virtual platforms under the Vmwareesxi virtual platform

(1) KVM Virtual machine configuration, creating ESXi authentication files

The virtual machine must be turned off, or the following prompt will appear.

(2) Start migration

123 [[email protected] ~]# virt-v2v -ic esx://192.168.233.154/?no_verify=1 -op vmdisk -b br0 OEL63_test01OEL63_test01_OEL63_test01_1: 100% [===========================================================]D 0h14m29svirt-v2v: OEL63_test01 被 virtio 驱动程序配置。

To view the configuration file, the disk format is in RAW format and the disk file name is the following format.

SSH login is OK.

3.Vmwareesxi virtual platform for Windows System migration to KVM virtual platform

(1) Support for Windows file system and drivers needs to be installed on a KVM virtual host, which requires the following support packages installed.

libguestfs-winsupport-1.0-7.el6.x86_64.rpm

ftp://ftp.rediris.es/volumes/sites/scientificlinux.org/scientific/6.1/x86_64/updates/security/ libguestfs-winsupport-1.0-7.el6.x86_64.rpm

virtio-win-1.2.0-1.el6.noarch.rpm

http://remoteoutpost.nl/repos/RHEL6-Server-Supplementary/virtio-win-1.2.0-1.el6.noarch.rpm

(2) Start migration

123 [[email protected] ~]# virt-v2v -ic esx://192.168.233.154/?no_verify=1 -op vmdisk -b br0 VM2003_test02VM2003_test02_VM2003_test02: 100% [======================================================================================]D 0h11m45svirt-v2v: VM2003_test02 被 virtio 驱动程序配置。

The system starts normally by looking in the manager.

View the Device Manager and discover that both disk drives and NIC drivers are optimized.

This esxi virtual machine-to-KVM migration process is complete. In turn, you need to migrate with VMware's migration tool.

KVM---Virtualization migration (ESXi to KVM)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.