I’m currently traveling for months at a time and my homelab has become unreachable to me over VPN due to a unknown complication after a power outage.
Just as a learning experience for all, my mistake was that I set-up my VPN very far down the stack - as a wg-easy app inside TrueNAS SCALE’s apps ecosystem. My very important reason for doing it was that way was that wg-easy allows for setting up client devices with a QR code…
Anyway, the NAS is not booting back up nor do the TrueNAS apps. I should’ve set my VPN up right at the front of the network - on my MikroTik router that also supports Wireguard. The funny thing is I was so happy that my NAS has IPMI and whatnot but now I can’t even access it.
For now the NAS is kept powered on from what I know, it just doesn’t boot. This should help prevent bitrot until I’m back. All important files are backed up on a 3rd party service.
It’s a shame my Jellyfin and Navidrome inaccessible, but I’ll live.
Now I’m thinking about buying an UPS so that this doesn’t happen in the future. I’d like the UPS to be fanless and rackmount, so that limits me to ~700VA territory.
Devices in my homelab pull about 65W idle and spike to say 150W when everything is booting. ISP modem, router, POE+ switch, AP, NAS. I might add another 20W due to a Lenovo M920q in the future.
I only really care about NUT and graceful shutdown instead of long runtime on battery.
I was thinking about this: https://www.apc.com/us/en/product/SMT750RMI2U/
In my country I can get it with new batteries (no front panel) and a network card for NUT for a total of 180 EUR.
Would that work? Would you be afraid of leaving an UPS (it is kinda like a bomb after all) unattended an leaving your home for 6 months at a time?
…(it is kinda like a bomb after all)…
WAT? I’ve never heard a UPS referred to as “kinda like a bomb” before.
Keep your UPS maintained, replace the batteries when they age out, and it will be fine. If your UPS supports automated self-tests, use them.
My employer has UPS units spread all over the region we operate in, and we don’t have any issues, despite leaving them mostly unattended for years. I have several in my house and I’ve never given them a second thought aside from battery replacements.
Do they make them with LiPos? Everything I’ve ever owned had sealed Lead/Acid batteries. Really hard to cause any damage with those.
Lead acid can boil over and fill a badly ventilated room with flammable hydrogen and other toxic gasses.
A well maintained LiFePO4 battery that some modern UPS use it probably less risky, but I think the risk for both is very low.
To highlight the low risk, every (non-EV) car in the world uses a lead acid battery.
Had one of power powervar’s lead acid batteries swell up and overheat on us, but it was probably also installed several years ago.
As long as you replace them on a regular basis, totally fine.
There are probably newer ones that come with LiPos. But every consumer grade one I’ve seen is traditional lead acid batteries.
If you hit them with a flame thrower they explode
Man, I don’t even run my desktops without a UPS. Maybe I’m jaded from too much tech support, but I feel like not having a UPS is like not using a condom for a random hookup: it’s fine until it dramatically and seriously isn’t.
Almost every desk at my workplace has its own lead-acid battery. That’s well over 1000. We haven’t had any fires or explosions.
Removed by mod
You want the ability to remote power cycle everything and to get a quick status. Get a single board computer and use it as a jumping off point. From there you can go get some smart plugs that can be connected to the single board computer.
UPDATE: Turned out that the culprit of the downtime was my switch - the D-Link DGS-1210-10P rev. B1.
The way the management web interface of the switch works is pretty unintuitive. Namely, if you change some settings in the web interface and hit save in one of the sections, the settings are saved in the volatile memory of the switch. This basically means that the settings are only saved in RAM, which is cleared on power loss. To save the settings into non-volatile memory which persists on reboots, you need to find the “Save” section at the top of the UI. This is described here: https://networkengineering.stackexchange.com/questions/20158/dlink-switch-loses-configuration-on-power-off
So basically, my problem was that the settings weren’t commied to nonvolatile memory and on a short 1 minute power loss the switch restarted.
I got an UPS anyway now, SMT750RMI2U




