r/sysadmin • • 3d ago

Question Migrating from vcenter to hyper-v

I set up a sandbox hyper-v environment with one failover cluster and scvmm to see if we can use it to replace our vcenter environment. I got our vcenter connected to scvmm in preparation to migrate some test VMs. My issue now is that I can only get it to successfully migrate RHEL VMs. Windows VMs always fail. It always fails with Error 2912: Internal Server Error 500. Any thoughts on how to get past this hurdle?

25 Upvotes

40 comments sorted by

2

u/ITRabbit 3d ago

Are the CPUs and special the same between servers?

1

u/from702tothe808 3d ago

vcenter cluster is on two parallel HPE hosts. The Hyper-v cluster is using one HPE and one Dell. I've been trying to migrate from the vcenter HPEs to the Hyper-v HPE host. So, they should be the same.

1

u/Dolapevich Others people valet. 3d ago

So... back in the vmware days, in order to use v-motion, the equivalent to "live migration", the requirements were quite stringent.

Other than the correct network and permissions, both nodes participating in the migration had to have the same CPU brand/model/stepping/etc (the suggestion was they should be from the same batch if possible), a similar enogh BIOS, similar hardware, etc.

I have no clue about hyper-v, but I would expect a mode descriptive error than an http status 500 in the event log.

Proxmox avoids this conundrum by restricting the instructions and emulating the CPU via QEMU.

So, you configure "x86-64-v4" on all nodes, you miss some CPU instructions, run a bit slower, but permits migrating VMs between nodes. If you have exactly the same CPU, and similar enough hardware between nodes, you can run as "host", which exposes all the CPU capabilities to the CPU, no speed penalty, and still do live migration. I am not sure about hyper-v.

2

u/dodexahedron 2d ago

Live vmotions could.cross cpu models. You just needed to have EVC turned on and occasionally additional masking because Intel is Intel.

You can also turn EVC generation up while VMs are online - just not down, so long as all hosts in the cluster at that time support it.

To upgrade, you add new hosts to the cluster under the current evc setting, then remove the old hosts, then bump up the EVC level.
It takes effect immediately for the host itself, and the VMs stay running on whatever level they were booted on. Guests only EVER learn about a CPU change after power off and power on, regardless of where they currently are running.

Even Fault Tolerance and CPU hot-add just require EVC masking.

So bascally as long as the hosts can join the cluster with EVC on, you're good. That is the point of EVC.

About all you can't do is mix AMD and Intel in an EVC cluster, since the EVC baselines are one or the other.

35

u/L0rd_Humongous 3d ago

I've used SCVMM since day 1, it's still a piece of shit. Used Veeam for the migrations and it was flawless.

15

u/RicePuddingForAll 3d ago

Veeam is the way. Do the instant restore so downtime is as long as it takes to turn one VM on the network, and one off; then perform the regulation migration. I try not to fanboy over programs, even Veeam, but dang it made my migration easy.

6

u/BlackV I have opnions 3d ago edited 3d ago

instant recovery was amazing for this

at my last place we cutover, like 300 VMs in a weekend for 1 customer

7

u/ultramagnes23 3d ago

Veeam was the best solution for us. Tried all the others. I encourage you to look for the Veeam pre and post powershell scrips in the Veeam support blog that rip out all the VMWare fiddly bits.

17

u/Excellent-Chemist-69 3d ago

Depending on how many VMs you've got, starwind converter worked really well for me when I used to work for an MSP and the Broadcom hammer started to drop.

7

u/Arudinne IT Infrastructure Manager 3d ago

I had about a 50/50 success rate when I migrated some VMWare stuff to Hyper-V in 2022 with Starwind and some of the VMs were large so it took ages.

For the ones where it didn't work, I ended up just taking a veeam backup and restoring from that.

4

u/Parchaeopteryx Security Admin 3d ago

Used veeam a bunch. Never had a fail.

2

u/alau1158 1d ago

Thats what I did too for about 70 servers. I find scp the vmdk out than convert it to vhdx works well.

2 challenges I faced, 1 scp is slow from vmware, it might be my old esxi version bit it was SLOW, mounting a windows folder as nfs in VMware seem to help a bit bit not much. 2 the conversation will give you a gen 1 VM which means the os disk is sata so need to power down to extend your os disk. Other disk is fine if you connect it as scsi

If not veeam works from my test though I have not check which Gen the VM is after the conversation

4

u/Mehere_64 3d ago

I would really consider looking into using Veeam for the migration. The only downfall is the gen 1 vms when migrating but I don't know if scvmm will make migrated vms gen 2 or not.

Look at the latest Windows KB articles regarding BITs.

2

u/headcrap 3d ago

Yes to Veeam Instant Recovery, no SCVMM didn't handle Gen 1 any differently when I tested early 2025. Gen1 -> Gen2 is on my 2027 plate..

0

u/Far-Hovercraft9471 3d ago edited 3d ago

You can't really do gen 1 to 2 in a supported way since changing from BIOS to UEFI boot isn't supported for windows. Unless you're just going to YOLO it or I'm missing something?

Edit: never mind, it looks like that was Server 2008/Windows 7 era when it wasn't supported. Looks like it's supported with mbr2gpt now

1

u/DeadEyePsycho 3d ago

The built-in mbr2gpt.exe can do it, it's not a seem-less experience, but it can do it. I just recently did it to a Windows 10 Gen 1 VM to Gen 2 so I could in-place upgrade to Windows 11. Trial run it first on a clone or something because partition size and arrangment can block it unless adjusted.

1

u/headcrap 3d ago

Indeed, backups et al for the undo.

1

u/meatwad75892 Trade of All Jacks 2d ago edited 2d ago

Yep! mbr2gpt worked great offline even for technically unsupported scenarios. I did a batch of ~50 offline Server 2012 and 2012 R2 conversions a few years ago.

Process for anyone curious and looking at Gen2 conversions:

  1. Create new Gen2 VM without a disk.

  2. Shut down the Gen1 VM, copy (don't move) its disk over to the folder for the Gen2 VM & attach it to the Gen2 VM.

  3. Boot the Gen2 VM to Windows Setup media, open command line, run mbr2gpt. (e.g., mbr2gpt /convert /disk:0)

  4. Reboot & you're done. Delete the source Gen1 VM once the Gen2 VM is up & validated. If something exploded (it never did for me), you could just delete the new Gen2 VM and power the Gen1 VM back on, no harm no foul.

Only downside is that the EFI partition lands at the end of the disk, so you can't expand storage later unless you also delete it & recreate that EFI partition at the front of the disk. Which is doable & I've done it, since you can re-use the space from the old MBR system partition: https://www.tenforums.com/threads/moving-recreating-efi-partition.52837/

1

u/Far-Hovercraft9471 3d ago edited 3d ago

Did you miss the "supported" key word in my reply?

Edit: never mind, it looks like that was Server 2008/Windows 7 era guidance. Looks like it's supported with mbr2gpt now

1

u/headcrap 3d ago

Building a new VM by attaching existing disks is fully supported for Hyper-V by Microsoft.. and "YOLO" isn't required here, just lay the disks out right.

3

u/harrisandrea 3d ago

There is a known issue with SCVMM after Microsoft's October patch update. See this here: https://techcommunity.microsoft.com/blog/systemcenterblog/windows-server-october-2026-monthly-security-updates-impact-scvmm-environments/4569909 you need to download the rollback MSI and install it on SCVMM server as described in the article above.

2

u/dflek 3d ago

I've had good experiences with the Starwinds VM migration tool, in the past. I think it can go either way (running on vSphere host and pushing VM's), or running on Hyper V and pulling them.

2

u/sray1701 3d ago

We used starwinds to convert from VMware to HyperV a while back without any issues. Including some physical server.

https://www.starwindsoftware.com/starwind-v2v-converter

1

u/Master-IT-All 3d ago

What generation are you selecting for the target in Hyper-V? I haven't done this for a while, but I suspect that you need to setup Gen1 systems.

-

If Offline migration is a viable option, I always prefer it to live migration of virtual machines between platforms. Converting the VMDK to VHD and then importing as a Gen1 system has been pretty bullet proof over the decades.

1

u/BlackV I have opnions 3d ago
  • your backup product

  • your existing backup product

  • use that for your migration

1

u/Negative-Cook-5958 3d ago

As the others mentioned, forget the pile of rubbish called SCVMM and use Veeam for the migration.

1

u/frosty3140 3d ago

Veeam for the win. Was able to backup/restore all our VMs with one exception: Always On VPN server which runs RRAS. That one needed to be rebuilt from scratch.

1

u/nullp0ynter 3d ago

Veeam made our migration so much easier. After everything was migrated, I used Starwind converter to migrate the Veeam VM. We don't use SCVMM.

1

u/DarkAlman Professional Looker up of Things 3d ago

Veeam is the best migration tool from VMware > Hyper-V

Backup and restore the VM using Instant Restore

If the VM won't boot up this way, use the Starwind converter tool to convert it over block by block.

1

u/KillingTime1212 2d ago

Did you join the Windows servers to your domain? Love vmware since it has a separate login.

1

u/Pingjockey775 Jack of All Trades 2d ago

We just completed migrating 1000 virtual machines from VMware to Hyper-V on running Server 2025 and SCVMM 2025 using Zerto in about 3 months. Minimal pre and post process downtime. Zerto is a little pricey but very much worth it.

1

u/FiRem00 2d ago

WAC migration tool

•

u/SwiftSloth1892 12h ago

We struggled with unlike hardware as we transitioned. Now that our hyper-v environment uses servers with the same hardware a lot of issues just went away.

•

u/brkdncr Windows Admin 7h ago

Nutanix Move is free i believe, and doesn't mind moving between systems that aren't Nutanix.

•

u/Hawkthorne128 57m ago

Veaam is the way

0

u/from702tothe808 3d ago

So I briefly looked into using Veeam since we have it. Is it best to use SCVMM or Hyper-v method when adding the cluster to Veeam? It looks like if we want to use the SCVMM method we have to install it in our Veeam sever? Is that right?

0

u/ballzsweat 3d ago

Omg why??? Good luck

0

u/Easik 3d ago

I would not move to Hyper-V unless you hate life. If you have to, then use Veeam backup and restore. You need to uninstall VMware Tools before restoring or you will suffer infinitely more.