I’m thinking about making some changes to my home server to make it a little more robust and let me do some cool new things with it (like actually trust it for backing up data to with NextCloud, replicating VMs or data across sites, etc). I’m just looking for any advice people might have for this process to migrate hypervisors.
What I currently have:
- Windows 10 Pro OS with Hyper-V
- Running some applications on the host OS (Plex/PRTG/Sonarr/Radarr)
- Running a few VMs for things I set up after I realized “I should be doing these in VMs…”
- 4 HDDs for data, each just mounted individually. 2 for TV, 1 for Movies, 1 for Backups
What I’d like to have:
- Better OS for running the hypervisor (Proxmox is what I’m reading may be best, but I’m open to suggestions)
- Nothing running on the host OS other than a hypervisor
- All my services running virtualized, be that via Docker in a LXC or a guest OS.
- My Drives all in a RAID 5. Planning to add more drives at some point as well.
My thoughts on the process are that the “easiest” way may be:
- Just throw a new OS drive in to install Proxmox on
- Export my VMs from Hyper-V and import them into Proxmox
- Set up the services I had running on the host OS previously in their own VMs/containers
- Make a new RAID either: a. with new disks or b. by combining data from my existing disks so I can get a free few disks to start the RAID with, then moving data into the RAID and clearing out more disks to then add to the RAID, rinse and repeat until done (that’s a lot of data moving I’d like to avoid…)
I wasn’t sure if it would be a smarter idea to do something more like this though (assuming this is all possible, I’m not even sure that it all is). If this is possible, it might reduce my downtime and make it so I can tackle this in bits at a time instead of having an outage the entire time and feeling like I need to rush to get it all done:
- New OS drive for Proxmox
- Use Proxmox to boot my Windows 10 drive (this I’m not sure about) so that everything continues as it’s currently set up.
- Slowly migrate my services out of the Windows 10-hosted VMs and host-installed services
- I probably still have to deal with the RAID the way I mentioned above
Is there any other method I’m just totally not thinking of? Any tips/tricks for migrating those Hyper-V VMs? That part seems straightforward enough, but looking for any gotchas.
The reason I haven’t done anything yet is because I only have so much time in the day, and I’m not trying to dedicate an entire weekend to this migration all at once. If I could split up the tasks it’d make it easier to do, obviously there are some parts that would be time-consuming.
Thanks in advance!
Personally I tried proxmox and ended up switching back to a basic debian with qemu.
Proxmox is certainly easier, but they make some weird decisions like not supporting shared filesystem’s (albiet theyre a bit ghetto, and they probably don’t want to deal with those issues on an enterprise front)
You can even use Broadway in gtk3 to have an accessible web interface, for something like virt-manager.
LXD has a built in web UI as well
Proxmox supports Ceph as its preferred shared storage method, but it’s just Debian under the hood so you can use NFS or iSCSI or whatever if you prefer: https://pve.proxmox.com/wiki/Storage
Yeah sorry that was my phrasing, I meant VM - VM shared files or VM - Host, a la virtiofs or samba share (latter is supported but has meh performance)
Proxmox is enterprise-oriented, so I’m not surprised. Personally I’ve just used the regular network to transfer files in and out of the VM. I suppose you could use NFS on the host, but I don’t know any use case for that off the top of my head. The hypervisor should just be a hypervisor.
https://forum.proxmox.com/threads/virtiofsd-in-pve-8-0-x.130531/
https://lists.proxmox.com/pipermail/pve-devel/2023-June/057270.html
Shit eh, my googling skills must be falling
Nah all of this was pretty recent I didn’t even know about it until I searched for it haha.
Did the exact same, proxmox has obnoxious kernel restrictions and I like to roll my own.
Also video acceleration is weak on proxmox, but otherwise it’s solid.
Scripted my lxc and that was the last major win for proxmox.
Thinking of whipping up my own Godot based webui/application for VM and LXD management, anyone hmu if you want updates or would be interested
Sure, don’t know Godot, mostly do my work in scripting or python, but I might be able to help.
Nothing like a quick ui to make this stuff easier.
Exactly my thoughts, my ideal is to eventually hook up some type of node system for easy scripting for just simple shit like starting/stopping VMS
I’ll send you a ping if I get anywhere interesting
How hard is replication across servers with just debian and qemu? I’m honestly not super great on linux knowledge. I’m a Windows sysadmin by trade, with maybe 10-20% linux. I run a few Ubuntu server VMs at home and some RHEL at work. So I’m looking for something as easy to set up and well-documented and supported as possible. Proxmox just seemed like the “industry standard” for selfhosting, but I was also looking at Unraid (which is supposedly better at storage and less good at virtualization) or even ESXI, but I didn’t want to get into the VMWare payment bubble if I needed anything more than a simple host.
Ngl proxmox would be your best bet then, especially for reliability and being able to forget about most of the linux background.
Qemu is what proxmox uses behind the scenes, but puts an easy to use webUI in front of everything, minus a couple less used/less stable features some power users like