This is my first time running my own virtualization environment. PVE looks like the best option. I'd like to get some advice on setting it up.
I have a Supermicro box (HW RAID 1 available) with the following config
I have a Supermicro box (HW RAID 1 available) with the following config
- 2x WD Red 4TB drives
- 1x 2TB NVME SSD
- 1x Xeon E 2136
- 2X 16GB RAM
- 2X 1Gbps NICs
- 5 static IPs
- Dedicated IPMI port
- I need to run about half a dozen VMs
- Guest VMs will be Ubuntu, mostly Bionic, maybe 1 Xenial.
- Guests need to have as native as HW possible access to use security keys and HSMs such as YubiHSM2
- Guests do not need to be hard constrained on resources, as I will be the single admin on all guests.
- Guests are constantly reading and writing to disk. A data dir on each guest needs to be backed up with as high as possible consistency on a daily basis. The system/application dir should be backed up once a week. Uptime is of utmost importance, but guests can pause operation for a few seconds and pickup where they left. I can backup the entire guest if this is easier and won't increase downtime much (for example with incremental backups)
- Guests ideally share IPs: no guest will bind to the same ports (for SSH I can use a different port for each guest). I would like to avoid NAT so I don't have to manage port forwarding.
- PVE and guest remote access would be via an SSH tunnel or VPN.
- I foresee adding another NVME drive in the future, and possibly 2 more HDs. Currently I use LVM to add more space to the system.
- What is the recommended filesystem(s) to use?
- Should I rely on HW RAID for the HDs or should I use PVE's RAID manager? Or maybe I can RAID 1 between the SSD and one of the HDs, leaving the other HD for backups.
- Anything you foresee I should handle in advance given my intended usage?
- If this increases complexity nevermind, but it would be ideal to have each guest system/app dir on HD and the data dir on NVME (only the data needs NVME speeds)
- It would be great to have the swapfile on Raid 0 in the HD (I guess this throws HW RAID out the window - no problem)
Last edited: