Skip to content

aiminickwong/oVirt-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

V2V

说明

  • virt-v2v 可以对其他 Hypervisor 上运行的虚拟机(例如:VMware ESX(i),KVM 或 Xen 虚拟化环境中的虚拟机)进行转换,进而运行在 EayunOS 虚拟化管理平台上。

前提条件

  • 在 EayunOS 上附加 NFS 导出域

  • Virt-Manager 平台

    1. 一台需要被转换的 Virt-Manager 中的虚拟机。
    2. 该虚拟机所属的主机中安装以下包:
      • 虚拟机 OS 为 Windows:

        yum -y install libguestfs-winsupport
        yum -y install virtio-win
        yum -y install virt-v2v
      • 虚拟机 OS 为 Linux:

        yum -y install virt-v2v
  • VMware ESX(i) 平台

    1. 一台需要被转换的 ESX(i) 中创建的虚拟机。
    2. 在**EayunOS 的 node **中验证是否有以下包:
      • 如果虚拟机 OS 为 Windows,需要验证:

        [root@35host ~]# rpm -qa | grep libguestfs-winsupport
        libguestfs-winsupport-7.2-1.el7.x86_64
        [root@35host ~]# rpm -qa | grep virtio-win
        virtio-win-drivers-0.1-105.fc22.noarch
        [root@35host ~]# rpm -qa | grep virt-v2v
        virt-v2v-1.28.1-1.55.el7.centos.4.x86_64
      • 如果虚拟机 OS 为 Linux,只需要验证:

        [root@35host ~]# rpm -qa | grep virt-v2v
        virt-v2v-1.28.1-1.55.el7.centos.4.x86_64
  • Xen 平台:关于 Xen 虚拟机的转换,可以采取远程和本地两种转换方式:

    1. 采用远程转换的方式(即,在 EayunOS 的 node 中进行转换):
      1. 一台需要被转换的 Xen 的虚拟机。
      2. 在**EayunOS 的 node **中验证是否有以下包:
        • 如果虚拟机 OS 为 Windows,需要验证:

          [root@35host ~]# rpm -qa | grep libguestfs-winsupport
          libguestfs-winsupport-7.2-1.el7.x86_64
          [root@35host ~]# rpm -qa | grep virtio-win
          virtio-win-drivers-0.1-105.fc22.noarch
          [root@35host ~]# rpm -qa | grep virt-v2v
          virt-v2v-1.28.1-1.55.el7.centos.4.x86_64
        • 如果虚拟机 OS 为 Linux,只需要验证:

          [root@35host ~]# rpm -qa | grep virt-v2v
          virt-v2v-1.28.1-1.55.el7.centos.4.x86_64
    2. 采用本地转换的方式:
      1. 一台需要被转换的 Xen 的虚拟机。
      2. 该虚拟机所属的主机中安装以下包:
        • 虚拟机 OS 为 Windows:

          yum -y install libguestfs-winsupport
          yum -y install virtio-win
          yum -y install virt-v2v
        • 虚拟机 OS 为 Linux:

          yum -y install virt-v2v

转换虚拟机

virt-v2v 命令可以对其他虚拟机监控程序(hypervisor)上运行的虚拟机进行转换,从而在 EayunOS 虚拟化管理平台上运行起来。想要在 EayunOS 管理平台上使用其他 Hypervisor 的虚拟机,分为一下两个步骤:

  1. virt-v2v 会自动打包虚拟机的磁盘文件和元数据,然后将它们上传到 EayunOS 管理平台的导出域中。
  2. 导入虚拟机到 EayunOS,详细过程参见:http://docs.eayun.cn/zh-CN/EayunOS/4.1/html/administration-guide/%E8%99%9A%E6%8B%9F%E6%9C%BA/%E5%AF%BC%E5%85%A5%E5%92%8C%E5%AF%BC%E5%87%BA%E8%99%9A%E6%8B%9F%E6%9C%BA_t.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published