Microsoft 虛擬機器轉換器 3.0

 

適用於: Hyper-V Server 2012, Windows Server 2012 R2, Windows Server 2012, Hyper-V Server 2012 R2, Azure, Windows Server 2008 R2 with SP1

System_CAPS_note注意事項

若要下載轉換器,請參閱 Microsoft Virtual Machine Converter 3.0 Microsoft 下載中心 」 上。 從這個頁面上,您也可以下載轉換器所使用的 Windows PowerShell cmdlet 的相關資訊。

可用性和支援的轉換器結束淘汰 2017 年 6 月 3 上, 時。Azure Site Recovery 建議做為長期解決方案。 如這個停用,詳細資料,請參閱 blogpost 重要更新有關 Microsoft 虛擬機器轉換器 (MVMC)

Microsoft Virtual Machine Converter (MVMC) 是針對資訊技術 (IT) 專業人員的 Microsoft 支援的獨立解決方案或解決方案提供者想要的使用者 ︰

  • 將虛擬機器和磁碟轉換為 HYPER-V 主機和 Microsoft Azure 的 VMware 主機。

  • 將實體機器和磁碟轉換為 HYPER-V 主機。

本指南針對企業客戶的 IT 角色,例如 IT 決策人員,IT 專業人員或 IT 實作者。 它提供 MVMC 特性與功能,以及如何安裝和使用 MVMC 做為轉換解決方案的相關資訊的概觀。

優點

MVMC 可以部署具有最少的相依性。 MVMC 支援 Windows PowerShell,因此您可以自動轉換,並將它們與資料中心的自動化工作流程,例如撰寫並執行使用 Microsoft System Center Orchestrator 2012 R2 整合。 您也可以進行轉換以互動方式,透過 Windows PowerShell 命令列介面或以 GUI 為基礎的精靈。

MVMC 3.0 的新功能

MVMC MVMC 3.0 版本包含下列新功能 ︰

  • 線上轉換實體機器的虛擬硬碟 (Vhd) 可以上傳至 HYPER-V 主機。

索引鍵 MVMC 功能

除了先前所列的新功能,MVMC 還提供下列功能 ︰

  • 將轉換並部署至任何下列作業系統上的 HYPER-V 主機的 VMware 主機上的虛擬機器 ︰

    • Windows Server 2012 R2

    • Windows Server 2012

    • Windows Server 2008 R2 SP1

  • 將 VMware 虛擬機器、 虛擬磁碟和記憶體、 虛擬處理器,以及其他虛擬運算資源的設定從來源轉換成 HYPER-V。

  • 將轉換的虛擬機器在 HYPER-V 上的虛擬網路介面卡

  • 支援 VMware vSphere 5.5、 VMware vSphere 5.1 和 VMware vSphere 4.1 HYPER-V 主機之虛擬機器轉換

  • 具有精靈導向 GUI,可簡化執行的虛擬機器轉換

  • 線上轉換之前先解除安裝 VMware Tools (只限線上) 提供全新的方式,將 vmware 虛擬機器移轉至 HYPER-V

    重要

    MVMC 會建立所要轉換再解除安裝 VMware 工具,並且再關閉來源電腦,以保留狀態轉換期間的虛擬機器的快照。 連接至虛擬機器的來源磁碟已成功複製之後,虛擬機器還原到先前的狀態。 此時,在 VMware 中的來源電腦可以開啟,如有必要。

    重要

    MVMC 不會在離線轉換中解除安裝 VMware Tools。 相反地,它會停用 VMware 服務、 驅動程式和 Windows Server 客體作業系統的程式。 對於 Linux 來賓作業系統使用的檔案轉換,不會停用或解除安裝 VMware Tools。 我們強烈建議您以手動方式解除安裝 VMware Tools 離線的虛擬機器轉換時。

    重要

    額外的硬體和傳遞或 USB 裝置中斷連線,並從虛擬機器設定解除安裝任何硬體特定服務或監視不需要的軟體。

  • 支援轉換,以及佈建 Linux 型客體作業系統,從 HYPER-V 主機的 VMware 主機。 如需詳細資訊,請參閱本主題稍後的 「 支援設定的虛擬機器轉換 」。 (不適用於實體機器轉換。)

  • 提供原生的 Windows PowerShell 功能,可讓指令碼和整合 IT 的自動化工作流程

    System_CAPS_note注意事項

    命令列介面 (CLI) MVMC 1.0 中已取代 MVMC 2.0 中的 Windows powershell。

  • 支援離線虛擬機器的轉換。 (不適用於實體機器轉換。)

  • 當轉換和佈建在 Windows Server 2012 R2 和 Windows Server 2012 中的 HYPER-V 支援新的虛擬硬碟格式 (VHDX)。 (不適用於實體機器轉換。)

  • 支援透過 Windows Server 2012 R2、 Windows Server 2008 和 Windows Vista 透過 Windows 8.1 做為客體作業系統,您可以選取轉換,以及數個 Linux 散發套件。 如需詳細資訊,請參閱本主題稍後的 「 支援設定的虛擬機器轉換 」。

  • Hyper-v V 型虛擬硬碟檔案格式 (.vhd 檔案) 包含離線轉換 vmware 虛擬硬碟 (VMDK) 的 Windows PowerShell 功能。

    System_CAPS_note注意事項

    離線磁碟轉換不包括驅動程式的修正程式。

  • 包含線上轉換實體機器的 VHD 和服務佈建 HYPER-V 主機中的 Windows PowerShell 功能

支援的轉換的虛擬機器設定

下表顯示虛擬機器轉換所有支援的設定。

VMware 來源

VMware vSphere 5.5 (VMware ESXi 5.5)

VMware vSphere 5.1 (VMware ESXi 5.1)

VMware vSphere 4.1 (VMware ESXi/ESX 4.1)

VMware vCenter Server 5.5

VMware vCenter Server 5.1

VMware vCenter Server 4.1

目的主機伺服器

System_CAPS_note注意事項

必須啟用 HYPER-V。

Windows Server 2012 R2 Standard

Windows Server 2012 R2 Datacenter

Windows Server 2012 Standard

Windows Server 2012 Datacenter

Windows Server 2008 R2 Standard 含 Service Pack 1 (SP1)

Windows Server 2008 R2 Enterprise 含 Service Pack 1 (SP1)

Windows Server 2008 R2 Datacenter Service pack 1 (SP1)

MVMC 可以安裝作業系統

Windows Server 2012 R2 Standard

Windows Server 2012 R2 Datacenter

Windows Server 2012 Standard

Windows Server 2012 Datacenter

Windows Server 2008 R2 Standard 含 Service Pack 1 (SP1)

Windows Server 2008 R2 Enterprise 含 Service Pack 1 (SP1)

Windows Server 2008 R2 Datacenter Service pack 1 (SP1)

Microsoft 從 VMware 虛擬機器的轉換為 HYPER-V 來賓作業系統

Windows Server 2012 R2 Standard

Windows Server 2012 R2 Datacenter

Windows Server 2012 Standard

Windows Server 2012 Datacenter

Windows Server 2008 R2 Standard

Windows Server 2008 R2 Enterprise

Windows Server 2008 R2 Datacenter

Windows Server 2008 R2 SP1

Windows Server 2008 Standard (x86/x64)

Windows Server 2008 Enterprise (x86/x64)

Windows Server 2008 Datacenter (x86/x64)

Windows 8.1 企業版 (x86/x64)

Windows 8.1 Pro (x86/x64)

Windows 8 企業版 (x86/x64)

Windows 8 Pro (x86/x64)

Windows 7 Enterprise (x86/x64)

Windows 7 Professional (x86/x64)

Windows 7 旗艦版 (x86/x64)

Windows Vista Enterprise x86/x64

轉換 VMware 虛擬機器的 Linux 作業系統

Red Hat Enterprise Linux 6 (x86/x64)

Red Hat Enterprise Linux 5 (x86/x64)

Ubuntu 12.04 (x86/x64)

Ubuntu 10.04 (x86/x64)

SUSE Linux Enterprise Server 11 (x86/x64)

CentOS 6 (x86/x64)

CentOS 5 (x86/x64)

Debian GNU/Linux 7 (x86/x64)

Oracle Linux 6 (x86/x64)

Oracle Linux 5 (x86/x64)

將轉換為 Microsoft Azure 支援的客體作業系統

System_CAPS_note注意事項

支援的 VMware 主機清單完全相同的支援轉換為 HYPER-V 的 VMware 主機清單。

Windows Server 2012 R2 Standard

Windows Server 2012 R2 Datacenter

Windows Server 2012 Standard

Windows Server 2012 Datacenter

Windows Server 2008 R2 Standard

Windows Server 2008 R2 Enterprise

Windows Server 2008 R2 Datacenter

Windows Server 2008 R2 SP1

Windows Server 2008 Standard (x86/x64)

Windows Server 2008 Enterprise (x86/x64)

Windows Server 2008 R2 Web x64

Ubuntu 12.04 (x86/x64)

SUSE Linux Enterprise Server 11 (x86/x64)

CentOS 6 (x86/x64)

CentOS 5 (x86/x64)

Debian GNU/Linux 7 (x86/x64)

Oracle Linux 6 (x86/x64)

Oracle Linux 5 (x86/x64)

重要

使用 Windows Server 2012 R2,虛擬機器必須位於 VMware vCenter Server 5.5/ESXi 5.5。 它不能在任何舊版的 VMware vCenter Server ESXi。

重要

MVMC 不支援 EFI 型虛擬機器。

重要

MVMC 不支援來源虛擬機器中的動態磁碟組態。

重要

SUSE Linux Enterprise Server 11 (SP2 和 SP3) 需要額外的步驟來啟用 Linux 整合服務,從 VMware 移轉到 HYPER-V 時。

轉換前在 SUSE Linux Enterprise Server 11 SP2 或 SUSE Linux Enterprise Server 11 SP3 虛擬機器上執行下列步驟 ︰

  • 編輯 /etc/sysconfig/kernel 加入 HYPER-V 的 LIS 模組。 Hv_ 將模組新增至 INITRD_MODULES 行。 它看起來應該如下所示 ︰

     

    INITRD_MODULES ="mptspi ata_piix ata_generic vmxnet3 vmw_pvscsi vmxnet hv_vmbus hv_netvsc hv_storvsc hv_blkvsc

     

  • 使用下列命令重新建置 initrd,重新建立。 核心命令中指定必須符合目前虛擬機器開機時使用的核心。

     

    mkinitrd-k /boot/vmlinux-3.0.13-0.27-pae.gz-i /boot/initrd-3.0.13-0.27-pae

     

重要

以下的 Linux 版本中,Linux 整合服務會從 Microsoft Red Hat 封裝管理員 (RPM) 封裝。

  • Red Hat Enterprise Linux 5.8 和先前的版本

  • CentOS Linux 5.8 和先前版本

  • Oracle Linux 5.8 和先前版本

轉換前在 Linux 虛擬機器上執行下列步驟 ︰

  • 安裝最新的 Linux Integration Services 封裝。

  • 編輯 /etc/grub.conf 檔案 ︰

    • 尋找包含的區段 ︰ 有 = noprobe hdb = noprobe

    • 變更此區段 ︰ 有 = 探查 hdb = 探查

    • 儲存 /etc/grub.conf 檔案

    • 重新啟動再轉換為 Microsoft 虛擬機器的 Linux 虛擬機器

支援的磁碟轉換設定

支援下列 VMware 虛擬磁碟類型轉換 ︰

  • monolithicFlat

  • monolithicSparse

  • twoGbMaxExtentFlat

  • twoGbMaxExtentSparse

  • streamOptimized

  • vmfs

  • vmfsSparse

  • 差異磁碟轉換

將實體機器轉換為 HYPER-V 支援的組態

下表顯示對 HYPER-V 的實體機器的所有支援的設定。

目的主機伺服器

System_CAPS_note注意事項

必須啟用 HYPER-V 和 BITS Compact Server。

Windows Server 2012 R2 Standard

Windows Server 2012 R2 Datacenter

Windows Server 2012 Standard

Windows Server 2012 Datacenter

Windows Server 2008 R2 Standard (含 SP1)

Windows Server 2008 R2 Enterprise (含 SP1)

Windows Server 2008 R2 Datacenter (含 SP1)

作業系統支援 MVMC 可以安裝

Windows Server 2012 R2 Standard

Windows Server 2012 R2 Datacenter

Windows Server 2012 Standard

Windows Server 2012 Datacenter

Windows Server 2008 R2 Standard

Windows Server 2008 R2 Enterprise

Windows Server 2008 R2 Datacenter

Windows Server 2008 R2 SP1

Windows 8.1

Windows 8.1 Enterprise

Windows 8

Windows 8 企業版

Windows 7 標準

Windows 7 Enterprise

Windows 7 資料中心

從實體機器轉換為 HYPER-V 支援的客體作業系統

Windows Server 2012 R2 Standard

Windows Server 2012 R2 Datacenter

Windows Server 2012 Standard

Windows Server 2012 Datacenter

Windows Server 2008 R2 Standard

Windows Server 2008 R2 Enterprise

Windows Server 2008 R2 Datacenter

Windows Server 2008 R2 SP1

Windows Server 2008 Standard (x86/x64)

Windows Server 2008 Enterprise (x86/x64)

Windows Server 2008 Datacenter (x86/x64)

Windows 8.1

Windows 8.1 Enterprise

Windows 8

Windows 8 企業版

Windows 7 Enterprise (x86/x64)

Windows 7 Professional (x86/x64)

Windows 7 旗艦版 (x86/x64)

Windows Vista Enterprise (x86/x64)