【问题标题】:Move-VM fails when moving Hyper-V VM from 2016 to 2022 [closed]将 Hyper-V VM 从 2016 移动到 2022 时,Move-VM 失败
【发布时间】:2022-06-10 17:53:38
【问题描述】:

在我的 powershell 窗口中,它在管理员下运行。我运行此命令将 VM 从迁移源(2016 服务器)移动到迁移目标(2022 服务器):

PS C:\> Move-VM -Name "WIN10A" -DestinationHost SRV2022 -IncludeStorage -DestinationStoragePath E:\HV

这是出现的错误:

Move-VM : Virtual machine migration operation failed at migration destination.
Virtual machine migration operation for 'WIN10A' failed at migration destination
'SRVHV.domain.local'. (Virtual machine ID 6A2E2C6A-266C-4903-85D8-674090805D1E
At line:1 char:1
+ Move-VM -Name "WIN10A" -DestinationHost SRVHV -IncludeStorage -Desti ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (:) [Move-VM], VirtualizationException
+ FullyQualifiedErrorId : ObjectNotFound,Microsoft.HyperV.PowerShell.Commands.MoveVM

我为 VM 的处理器打开了兼容性。 我还从虚拟机中删除了网络适配器,但仍然出现错误!

使用 GUI 我得到这个错误:

The virtual machine cannot be moved to the destination computer. The hardware on the destination computer is not compatible with the hardware requirements of this virtual machine.

当我运行这个命令时,我得到 {21024} 的不兼容性:

Compare-VM -Name WIN10A -DestinationHost SRVHV

感谢任何帮助。

【问题讨论】:

    标签: powershell hyper-v


    【解决方案1】:

    我想我解决了。 VM 已检查 CPU 兼容性。在它移动之前我必须执行以下操作:

    1. 从 VM 中删除网络适配器
    2. 在两台 HV 主机上,我必须启用“允许增强会话模式”

    然后,我只需在目标 HV 主机上添加网络适配器并将 IP 设置回其静态地址。

    【讨论】:

      猜你喜欢
      • 2023-04-08
      • 2019-03-28
      • 2018-07-18
      • 1970-01-01
      • 2018-12-02
      • 1970-01-01
      • 1970-01-01
      • 2023-03-08
      • 1970-01-01
      相关资源
      最近更新 更多