XCP-NG - Good choice? Multiple questions... How about Intel RSTe?

Hello Forum,

This is my first post, so be gentle with me :wink:
I am currently in the proces of replacing my trusty HP Microserver N40L with a selfbuild machine.
The machine is a ASRockRack C246WSI with an I3-9300 and 32 GB of ECC RAM. Storage is 2x Crucial 500 GB SSD, 2x 6TB Seagate NVR grade spinning rust and a 250GB SSD for videocapture from my security camera’s. I want to make 2 raid 1 volumes (1 boot and applications and 1 storagetank). For NVR footage I don’t need redundancy.

My current machine runs Ubuntu server 18.04.6 with some services running from the OS and some from Docker.

Things running:

  • webserver with a recipe database
  • Unifi admin
  • Mosquitto MQTT server
  • Samba for filesharing on 4 Windows machines
  • Xeoma nvr (probably to be replaced by Frigate NVR)
  • Home assistant, ESPHome, Zigbee2MQTT in Docker

I would like to run everything in VMs (especialy Home Assistant because then I can run Home Assistant Operating System)

At the moment I have some Questions:

Is XCP-ng a good choice?

I want a system that is stable and easy maintainable.
Home assistant needs access to some USB devices like my Zigbee dongle (Conbee2) and RFXtrx433XL USB 433.92MHz Transceiver, so passtru is essential.

How to setup RAID?

At the moment I run a test setup with the disks defined as RAID1 in bios (Intel RSTe). XCP-ng installed without problems on one of the raid volumes.
Is this methode preferred, of should I use pure software RAID or…?

NAS functions

I want a pretty simple NAS solution (mainly windows shares), which program is best fit this task (Truenas/OMV)?

Thanks for taking the time to read this post :wink: and perhaps shed some light on my questions.

Cheers,
Kees

Yes Xcp-ng is great! But since you’ll need to run Xen orchestra (for now at least until they release xoa lite that is) and many other VMs will find that you need a lot of RAM… This is why I suggest you try our Proxmox first since you’ll be able to leverage LXC containers as well as KVM+Qemu VMs. When you enable nesting and keyctl in a container you’ll be able to use docker/podman in them and use it as a real machine. The other benefit is, that you can use ZFS as the software raid backend and use moundpoints to expose directorys to the container. So you don’t have to create virtual disks.

Another great things is Intel’s GVT-g which works great on Proxmox. It allows you to split the iGPU into multiple mdevs and pass them to VMs.

I’ve heard some good things about Intel’s RTSe, weird to setup but quite performant. The problem I see with it is that it doesn’t checksum every block like btrfs and zfs do, so if corruption occurs, RTSe can’t tell which of the drives is lying/correct.
This is true for pretty much any RAID1 solution that does no checksumming. So I personally would go with either BTRFS or ZFS for RAID1.

Hm yeah there are some options… I personally use the turnkey file server template which is a small Debian based lxc container with webmin to control SAMBA. It works pretty well, but looking back I would rather go with cockpit + GitHub - 45Drives/cockpit-file-sharing: A Cockpit plugin to easily manage samba and NFS file sharing.

Since samba runs in userspace it runs great in containers :wink:

1 Like

Thanks @modzilla, lots to think about. I think I will spend some time with Proxmox. I like the Debian-Samba-Cockpit solution (atm I run Ubuntu-Samba-Webmin bare metal).

Looks like that proxmox with a lxc/VM’s mix is more lightweight. I noticed that only XCP-ng with XO-ce already uses 7GB ram.

Cheers,
Kees

1 Like

Yeah totally XD

You can get away with less, but it just does need more RAM than Proxmox.

Also I just got into the Proxmox Backup server and it works great! It’s easy and it does it’s job really well!

Besides, you can run libvirt on Proxmox as well, if you need to, but be sure to install it one by one with --no-install-recommends… I did that for a project that needed the libvirt Terraform provider and it works rather well. You’ll need to add the vmbr0 or all the needed bridges yourself tho

I mean in theory you can also just use 20.04 or 22.04 and run everything with libvirt and cockpit. Cockpits VM integration got really good in the last time!

OK, proxmox up and running, testing fileserver now. I installed turnkey fineserver, which works like I know, very little overhead.

Also tried cockpit, but I cannot manage groups in cockpit and I use groups in Samba to define usergroups to shares…

Nice journey :wink:

1 Like

XCP-ng now supports vGPU “slices” with AMD GPUs quite nicely. To be thorough, you might want to weigh the security risks, not just the RAM savings, with running containers. If your resource constraints allow, a hybrid of containers in VMs is another consideration.
The xcp-ng website /docs folder has a compute.html file that explains #gpu-passthrough.