Live data from Hacker News

Scripts for Streamlining Your Homelab with Proxmox VE

tteck.github.io

101–110 of 113 posts

Re: Scripts for Streamlining Your Homelab with Proxmox VE

#101

Earlier quoted context omitted.

Some software really prefers to control the whole host, usually highly integrated stuff. Some examples: - Unifi Controller installs like a half dozen dependencies to run (Mongo, Redis, etc last time I used it), much easier to isolate all that in a VM - Home Assistant's preferable and most blessed install method is Home Assistant OS, which is an entire distribution. I've run HA in Docker myself before but the experien…

HomeAssistant also does some voodoo with Bluetooth, wifi, ipv6 and mDns for IOT devices. For this reason it seems best suited to a host machine instead of a docker container.

Something like HomeAssistant, it would be good if it had an agent to handle all the low-level networking stuff that could be run directly on the host, and then all the other stuff which doesn’t directly require that can run inside an unprivileged Docker container.

Re: Scripts for Streamlining Your Homelab with Proxmox VE

#102

Earlier quoted context omitted.

Yeah, all done as blind execution of remote code. Bleh.

yes, but come on: you download it and quickly check yourself

Its not just one script that you're curling and execing. That scripts curls and execs some other scripts. And those others. You're pretty much auditing a whole codebase at that point, for better or worse.

Re: Scripts for Streamlining Your Homelab with Proxmox VE

#103

Earlier quoted context omitted.

Also, for homelabbing, there's a magic incantation that allows you to configure Proxmox away from the default High Availability cluster mode. By default, the HA mode insists that all nodes are up or others won't come up, making this tweak (it may be contained in the OP scripts, I don't recall) allows you to retain many of the benefits of having Proxmox machines "connected", without requiring you treat them like a HA…

Would this work for having proxmox modes across multiple datacenters? IIRC it was sensitive to latency I don't really use the HA features of proxmox that often, mostly just for migrating vms across hosts. But I had been thinking of re-installing some of my remote servers with proxmox and hooking them up to the same cluster so that I could potentially shut off all of the servers in my basement and run everything from…

OP may know better, but in part it may depend on the ms latency between the sites?

Re: Scripts for Streamlining Your Homelab with Proxmox VE

#104
post #25

Why proxmox and not simply using libvirt? I am very happy with kvm, but always looking to make my life better.

Good GUIs for great software are really compelling.

I'm a virsh/kvm user myself, but I admit I'd probably leverage more features of the platform if the interface was easier to use.

Re: Scripts for Streamlining Your Homelab with Proxmox VE

#105

Earlier quoted context omitted.

This this a negative or a positive? And more broadly, a lot of software could be summarised as a pretty packaging of a basic tool.

It really depends on your perspective and what you want out of a homelab. If you want to tinker with servers as a hobby it's a huge plus. If you want things to Just Work, this is probably not for you

I've been a "Just Work" person for a long time, but over the last couple years I've shifted to DIYing more instead of buying turn-key products. I replaced my off-the-shelf NAS with a custom TrueNAS box, and swapped my router+firewall+switch+WiFi all-in-one with a low-energy device running pfSense and a dedicated WiFi AP.

I have been pleasantly surprised to find that, after the initial research & setup, things still "just work!" In some cases, more reliably (and way more quietly!) than before.

Re: Scripts for Streamlining Your Homelab with Proxmox VE

#106
post #24

Serious question: What is the advantage of Proxmox for power linux users that can run a debian or ubuntu server box + KVM ? I'm always reading stuff about people using proxmox but don't really understand its 'edge'

Easier, and it's debian, so, stays easy, very low overhead.

Like any distro, it has some quirks, but, those are worth dealing with because the day to day is almost always frictionless.

Re: Scripts for Streamlining Your Homelab with Proxmox VE

#107
post #96
post #48

Earlier quoted context omitted.

I was in a similar boat and finally got around to trying out Proxmox in the last year or so. I just wanted share my own experience here, since it's a bit different than the "standard" uses I've seen. I had been running a k3s cluster (k8s flavor) on some Raspberry Pis, but decided I needed some non-ARM nodes, and "invested" in a few low power "1L" AMD64 PCs (6-8 core + hyper-threading). I was initially going to just i…

This is a great answer, thank you! It really makes sense to build a box with Proxmox at home with this view. Nice!

Running it at home on a few 1L thin clients is pretty grand. Quiet, performant, and everything you learn scales to enterprise well.

Re: Scripts for Streamlining Your Homelab with Proxmox VE

#108

Earlier quoted context omitted.

Also, for homelabbing, there's a magic incantation that allows you to configure Proxmox away from the default High Availability cluster mode. By default, the HA mode insists that all nodes are up or others won't come up, making this tweak (it may be contained in the OP scripts, I don't recall) allows you to retain many of the benefits of having Proxmox machines "connected", without requiring you treat them like a HA…

Would this work for having proxmox modes across multiple datacenters? IIRC it was sensitive to latency I don't really use the HA features of proxmox that often, mostly just for migrating vms across hosts. But I had been thinking of re-installing some of my remote servers with proxmox and hooking them up to the same cluster so that I could potentially shut off all of the servers in my basement and run everything from…

I've not noticed anything latency-sensitivty, perhaps the Ceph feature? I'm not using that though.

There's also the issue of quorum of it's only a 2-node cluster, though I've personally not had any issues with it, despite repeatedly restarting the different nodes.

I see no reason why you couldn't do this to allow you to move your VMs from home to elsewhere and back again as you just mentioned.

Re: Scripts for Streamlining Your Homelab with Proxmox VE

#109
post #62

Earlier quoted context omitted.

yes, but come on: you download it and quickly check yourself

Not really that simple. All the scripts there curl|bash more scripts. If you want to audit the contents you’ll have to follow quite a few.

yes, I had a better look at not trivial ones, and you are all correct

Re: Scripts for Streamlining Your Homelab with Proxmox VE

#110
post #25

Why proxmox and not simply using libvirt? I am very happy with kvm, but always looking to make my life better.

Good GUIs for great software are really compelling. I'm a virsh/kvm user myself, but I admit I'd probably leverage more features of the platform if the interface was easier to use.

I've had like 75% success on throwing XML files at ChatGPT and telling it what I want to do for weird things like passthrough or pinning. It gets me most of the way there. That is not a compelling user interface as is. :)
Post reply on HN