将 Ubuntu 18.04 LTS 从 hyper-v 迁移到 ESXi

将 Ubuntu 18.04 LTS 从 hyper-v 迁移到 ESXi

我正在尝试将 Ubuntu 服务器 18.04 从 hyper-v 迁移到 VMWare VCenter 7.0.2。事后我发现 VCenter 转换器 6.2 不支持 18.04。有没有办法成功地将其从 hyper-v 迁移过来?我尝试运行 GRUB 修复程序,因为从表面上看这是问题所在,但它不起作用。

编辑:Starwinds 日志

4/7 8:51:12.819 43f4 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
4/7 8:51:12.819 43f4 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.268
4/7 8:51:12.824 43f4 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
4/7 8:51:12.824 43f4 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
4/7 8:51:12.827 43f4 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 10, MinorVersion 0, BuildNumber 19042
4/7 8:51:12.830 43f4 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - c9c70000
4/7 8:51:12.831 43f4 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - c9c70000
4/7 8:51:19.054 43f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnection
4/7 8:51:25.332 43f4 Facility ???INFO: WrapperHyperV::connect: Host - \\luciussextius\root\virtualization\v2
4/7 8:51:25.475 43f4 Facility ???INFO: WrapperHyperV::init_version: HyperV version: 6.3.9600
4/7 8:51:25.478 43f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputVM
4/7 8:51:31.508 43f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
4/7 8:51:33.492 43f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eESXConnectionTo
4/7 8:51:50.747 43f4 Facility ???INFO: WrapperESXI::connect: m_url - https://10.16.0.99/sdk
4/7 8:51:50.805 43f4 Facility ???INFO: WrapperESXI::connect: fullName -  , key - 52e25633-51de-8f2c-4bdc-f1ea78518924
4/7 8:51:50.805 43f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVMSettingsESX
4/7 8:51:50.865 43f4 Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 7.0.2
4/7 8:51:50.865 43f4 Facility ???INFO: VMConverter::ESXIConverter::GetHostListInfo: ESX version: 7.0.2
4/7 8:52:01.765 43f4 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
4/7 8:52:01.779 51e8 Facility ???INFO: CPPConverting::Convert: InConvertType: 8, OutConvertType: 6
4/7 8:52:01.876 51e8 Facility ???INFO: VMConverter::ESXIConverter::CreateVM: createVM is false, 
4/7 8:52:01.876 51e8 Facility ???ERROR: CPPConverting::ConverterESX: Create VM error
4/7 8:52:01.882 51e8 Facility ???INFO: WrapperHyperV::connect: Host - \\luciussextius\root\virtualization\v2
4/7 8:52:01.949 51e8 Facility ???INFO: WrapperHyperV::init_version: HyperV version: 6.3.9600
4/7 8:52:01.952 51e8 Facility ???ERROR: CPPConverting::Convert: FAILED```

答案1

您可以尝试使用 StarWind V2V Converter 迁移您的 Ubuntu 18.04 VM。我刚刚测试了将 Hyper-V 上新部署的 Ubuntu 18.04 转换为 ESXi。到目前为止没有问题。可能会有所帮助:https://www.starwindsoftware.com/starwind-v2v-converter

答案2

如果从 Hyper-V 导出的是 ova / ovf,则不需要任何额外的转换器。

只需确保整合所有现有快照、删除已安装的设备、ISO 等 - 导出 VM。成功导出后,只需导入新的 ovf/ova 文件即可。

如果 grub 启动了,就说明启动过程成功了...对于第一部分,如果它停止了,就需要调查任何故障/错误消息。

但大多数时候的问题是,fstab 不包含 UUID,而只包含 /dev/sd 名称,这可能是由于新的硬件设置或设备顺序而导致的错误。

例如:
/dev/sda是第一个检测到的 IDE/SATA/SCSI 类型的磁盘。在这种情况下,由虚拟机管理程序模拟(完全虚拟化)。

/dev/vda是第一个检测到的半虚拟化磁盘驱动程序。如果两者都引用同一个磁盘,它比模拟的 sdX 设备更快,因为与模拟驱动器相比,它的操作开销更少。

相关内容