HYPERV live migration between 2 differents intel processor failed

Matthieu OLLIVIER 30 Reputation points
2023-02-21T10:21:56.9433333+00:00

Hello,

I have a cluster with 4 hyper V.

I have 2 servers with a GenuineIntel Intel64 Family 6 Model 85 Stepping 4 processor,

and the 2 others with GenuineIntel Intel64 Family 6 Model 85 Stepping 7 processor.

Since i migrated my hyperV servers from 2016 to 2019, the live migration between the servers with differents processors failed. (error 21502).

The compatibility box is checked.

I would like some help.

Thanks.

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,703 questions
0 comments No comments
{count} votes

16 answers

Sort by: Most helpful
  1. arambasil 0 Reputation points
    2023-09-28T16:42:07.5133333+00:00

    The error code 21502 you are encountering during live migrations in Hyper-V usually relates to processor incompatibility between the source and destination hosts. In your case, the different processor stepping levels (Stepping 4 and Stepping 7) may be causing this issue.

    Here are some steps you can take to address this problem:

    Processor Compatibility Mode:

    • As you mentioned, make sure that the "Processor compatibility" option is enabled for the virtual machines (VMs) that you're trying to live migrate. Enabling this option can help with migrating VMs between hosts with different processor versions.

    Update Hosts and VM Configuration:

    • Ensure that both the source and destination Hyper-V hosts are running the latest firmware, drivers, and Windows updates. Keeping both hosts up to date can improve compatibility.
    • Verify that the VM configuration version is compatible with both Hyper-V hosts. VMs created in older versions of Hyper-V may not be compatible with newer hosts. You may need to upgrade the VM configuration version if necessary.

    Use PowerShell for Migration:

    • Try using PowerShell for live migrations. You can use the Move-VM cmdlet with the -IncludeStorage parameter to perform the live migration. PowerShell provides more control and flexibility over the migration process, and it may help overcome compatibility issues.

    Processor Features and Compatibility:

    • Check if there are specific processor features enabled or disabled in the VM settings that are causing the compatibility issue. Make sure that any processor-related settings are consistent between the source and destination hosts.

    Processor Compatibility Mode Overrides:

    • In some cases, you may need to specify processor compatibility mode overrides for individual VMs. This can be done through PowerShell using the Set-VMProcessor cmdlet with the -CompatibilityForMigrationEnabled parameter.

    Check Hyper-V Logs:

    • Examine the Hyper-V event logs and look for specific error messages or warnings that provide more information about the compatibility issue. This can help pinpoint the exact cause.

    Processor Microcode Updates:

    • Check if there are any microcode updates available for the processors on your hosts. Microcode updates can sometimes address compatibility issues.

    Contact Vendor Support:

    • If you continue to experience issues, especially due to processor-specific compatibility problems, consider contacting Microsoft Support or the hardware vendor for further assistance. They may be able to provide specific guidance or updates to address the issue.

    It's worth noting that live migrations between hosts with different processor versions can be challenging, as compatibility issues can arise. Ensuring that both hosts are as similar as possible in terms of processor features and configurations can help mitigate these issues.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.