I’m on the pathway for setting up a Proxmox cluster with 3 thin clients, 2 of which are deployed (but not the cluster until I get the third machine running). I’m thinking of installing 4 VMs as follows: a) one for OpenWRT so that I can get rid of my SKY router b) one for Opensense c) one for Frigate d) one for Homeassistant/OpenHabian e) one for everything else (about 8 services with docker) The thin clients are Optiplexes with 16-32 GB RAM. Do you think I am overdoing this? Basically I want to keep my network VMs free from everything else so that I don’t have to reboot these when I have to reboot the VM with all the services.
- Creat@discuss.tchncs.deEnglish3 days
Without knowing what exactly you’re planning, OpenWRT and OPNSense seem redundant. Both are router/firewall, with the latter being much more capable. I can’t imagine it can’t take on both roles you’re planning for them, unless you need some support specific plugin?
- trilobite@lemmy.mlEnglish3 days
Openwrt does some funky thing with SKY fiber (sky uses ipv6 to customer routers and their hub does the ipv6 to ipv4 translation), which i understand openwrt handles opensense doesn’t. I read it on a forum somewhere but still need to do my homework. Opensense does handle this particular ipv6 to ipv4 translation which i understand is done with some protocol not supported by opensense. Basically, its so i can get rid of the sky router on my network.
- hereiamagain@sh.itjust.worksEnglish2 days
If that’s all openwrt is doing, then just get an old AC-1304 for like $10 shipped on eBay, and slap it on there.
I’ve done that about… 6 or 7 times now, some for myself, others for friends and family. Mostly just used as Wi-Fi 5 APs, but I use one as my main router. I’m not doing anything super fancy here 🤷♂️
They work great, solid, cheap.
Maybe not a good fit for you, others can chime in, but thought I’d mention it.
- Meska@lemmy.worldEnglish2 days
Router inside a proxmox is not good , buy a cheap mikrotik,maybe put a pihole inside a vm if you want some filtering , ha with proxmox needs dedicated network cards between the hosts to be reliable and it’s not worth with a small setup , you can still have the cluster and migrate the vms without ha. And please dedicate one real machine to pbs 😅.
- trilobite@lemmy.mlEnglish18 hours
Ah, just replied to another message on this point. Network VMs are therefore not an option? Or could i have a cheap mikrotik with 2 cards (lan and wan) and have a openwrt fir my sky ip6 handling, opensense for virtual lans, dhcp, etc and pihole for filtering? So wan->openwrt->opensense->pihole->lan all on one device?
- corsicanguppy@lemmy.caEnglish3 days
If you set it up right, you can push VMs to another pve node before bouncing the node.
I want to keep my network VMs free from everything else so that I don’t have to reboot these when I have to reboot the VM with all the services.
Yeah. Just migrate the important machines and bounce what you want. No problem.
Also
- cluster the pair now.
- use ZFS replication and HA
- if you use pve containers, you don’t have to allocate a container VM (containers are really bad, but pve has options if you must)
- B0rax@feddit.orgEnglish3 days
This. Chose ZFS for the file system when installing proxmox. You can not switch it later
(well, you can join them as a cluster, migrate everything over to one node, kill this first mode and reinstall it with zfs and then join the cluster again, but that is a pain.)
- davad@lemmy.worldEnglish3 days
Are you trying to do HA with the network VMs? If so, maybe check that failover for the network devices works the way you expect.
Are you overdoing it? Probably. But most of us are. That’s part of the fun.
- Lka1988@sh.itjust.worksEnglish3 days
I’m on the pathway for setting up a Proxmox cluster with 3 thin clients, 2 of which are deployed (but not the cluster until I get the third machine running). […] The thin clients are Optiplexes with 16-32 GB RAM.
What specific models are you running? I have a trio of Optiplexes on 7th and 8th gen Intel hardware just for Proxmox. It’s great, I can run pretty much whatever I want.
I’m thinking of installing 4 VMs as follows: a) one for OpenWRT so that I can get rid of my SKY router b) one for Opensense
OPNSense already does everything OpenWRT can do, and more.
c) one for Frigate
Frigate runs in Docker. You don’t need a separate VM for it.
d) one for Homeassistant/OpenHabian
I’ve heard of OpenHabian, but there seems to be a lot of tribalism around it.
e) one for everything else (about 8 services with docker)
A single VM can run much more than 8 services without so much as a sneeze.
Do you think I am overdoing this? Basically I want to keep my network VMs free from everything else so that I don’t have to reboot these when I have to reboot the VM with all the services.
That is actually part of the reason Docker exists; individual services can be restarted very quickly. I have 4 VMs dedicated to just Docker services, and rarely have to reboot an entire VM unless I specifically did something to it (maybe 3 or 4 times over the last year).
You won’t notice the downtime.
- frongt@lemmy.zipEnglish3 days
The thin clients are Optiplexes with 16-32 GB RAM
Are you sure? I’ve never seen a thin client with more resources than just enough to run the remote software. Do you mean micro PCs?
Not sure why you need two routers, either. But it seems reasonable if they have enough resources to run all your stuff on two nodes, because you’ll be able to live migrate them around to reboot the nodes.
Note that if you pass through any PCI devices, like a GPU for frigate, you won’t be able to migrate or suspend that VM.
- B0rax@feddit.orgEnglish3 days
These tiny pcs are sometimes called thinclients. They are, however, full blown PCs.
Look also at Lenovo M720q or m70q or the like.
Possibly linux@lemmy.zipEnglish
3 daysYou don’t need that many VMs. For networking get a dedicated box (can be a used consumer device) and then create a few VMs to run podman containers.
If you do want a dedicated instance for a service use LXC
- trilobite@lemmy.mlEnglish3 days
The reason i’m not considering a dedicate box for Openwrt/opesense is due to the redundncy offered by the proxmox cluster which i would loose with a dedicated machine.
Possibly linux@lemmy.zipEnglish
3 daysI’m not sure you understand how that works
The proxmox cluster still need a network.
- trilobite@lemmy.mlEnglish18 hours
You’re right. I’m sure i don’t understand, which is why i posted here for opinions :-) I was thinking about this the other day … i would need at least two physical interfaces presumably on the optiplexes, one for lan and one for wan. So, this may not be a goer from the start. So, here if my next question: how do you maintain network redundancy? Two devices that each have two network cards?
Possibly linux@lemmy.zipEnglish
9 hoursI wouldn’t worry about network redundancy
If you do need it for some reason check out this guide
https://openwrt.org/docs/guide-user/network/high-availability?s%5B%5D=01

