Since I needed to document the process anyway I thought I share my experience of migrating a domain controller from a hyper-v cluster to a proxmox cluster with ceph storage. I wrote this with these 2 wiki articles as background information:
Note: Be aware that keyboard input might be funky, i.e. you set your client and windows to English but it is somewhere in between us en and de. Extra fun as you need `\/:`. Also input was sometimes laggy in the recovery console, so be sure to check commands before execution.
One observation: network speed is displayed as 10G even if the underlying hardware is 2x25G (was displayed as 50G on hyper-v).
- https://pve.proxmox.com/wiki/Windows_2019_guest_best_practices
- https://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE#HyperV
Note: Be aware that keyboard input might be funky, i.e. you set your client and windows to English but it is somewhere in between us en and de. Extra fun as you need `\/:`. Also input was sometimes laggy in the recovery console, so be sure to check commands before execution.
- have an admin account profile on the DC so that you can login without network (no local admin on DC)
- shutdown vm if it is not already
- copy vhdx from hyper-v os disk storage to proxmox storage
- create vm on proxmox with similar settings as original vm, do not start it yet
- include qemu agent
- display spice (personal preference as soon as there is a GUI involved)
- machine type q35 (personal preference)
- efi for boot (I use the ceph storage here as well)
- use virtio for network
- remove main disk created in vm create dialogue again
- import disk, example for vm id 666 and dc03 vhdx from a mounted storage to rbd ceph storage.
Bash:# as root qm importdisk 666 /mnt/pve/migration/dc03-os.vhdx rbd
- attach disk with correct settings (slightly opinionated)
- Bus/Device: SCSI (SCSI Controller: Virtio SCSI)
- Discard: enabled
- Cache: write-back
- attach virtio driver iso
- ensure boot options include scsi
- ensure networking is disconnected
- open VNC console
- boot windows and let it reboot until you get the command prompt option buried somewhere in the advanced troubleshooting options
- load storage driver, adapt to server version and drive letter of attached virtio iso. You might want to use the `wmic` cmdlet to check before and after
Code:drvload D:\vioscsi\w2k19\amd64\vioscsi.inf dism /image:c:\ /add-driver /driver:d:\vioscsi\w2k19\amd64\vioscsi.inf
- continue the boot process
- install addition drivers/tooling/services from iso, see also Best Practices in Proxmox Wiki
- install Guest-Agent
- install Drivers and Services via msi and do not deselect anything
- install virtio-win-guest-tools (otherwise mouse was still funky)
- reboot (you can switch to spice now if you want)
- check for missing drivers in Device manager
- configure network adapter in windows (it is a new device and it defaults to dhcp …)
- enable networking in vm config
- remove iso and reboot
- check services provided etc.
- configure backup and ha if needed
One observation: network speed is displayed as 10G even if the underlying hardware is 2x25G (was displayed as 50G on hyper-v).
Last edited: