this post was submitted on 29 Apr 2024
43 points (100.0% liked)

Chat

7483 readers
37 users here now

Relaxed section for discussion and debate that doesn't fit anywhere else. Whether it's advice, how your week is going, a link that's at the back of your mind, or something like that, it can likely go here.


Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

busy as usual, currently reading Alt-America (David Neiwert)

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 5 points 4 months ago (7 children)

It's going. It's been a very busy couple days already at work. But I talked about work last week, so I'll give an update on something more interesting (to me): My homelab! ๐Ÿค“

My UPS arrived like a week ago. I set it up and hooked up devices to it: server, router, and a small switch are on the battery backup. Which gets me about 17min of runtime on the battery if power fails. Pretty good.

I was able to install the UPS software as an ESXi VM. And I got that to communicate with the ESXi host. Configured some delays to ensure it didn't try to shutdown the server due to a momentary blackout/brownout, and I even got the software to send me email notifications (thank you SMTP2GO).

Then it was time. I unplugged the UPS from the wall. And waited for it run out of battery. And guess what? It shut down the server! Even before the UPS completely ran out of power. That said, I didn't take a stopwatch to it, or really get a chance to monitor how it was shutting down VMs. It looked like they were all shut down properly after I powered on the VMs again, but I can't say for certain. I could tighten this up. Either way, it basically did what it was supposed to do.

Next thing I need to figure out is how to get it to boot the server back up once wall power is back. I have some ideas on how to do it manually (if I wasn't home when power was lost), but I think it'd be neat to figure out how to do it automatically.

[โ€“] [email protected] 4 points 4 months ago

Yay for a UPS! I'm sure you'll find some funky way of getting automagic reboots going.

load more comments (6 replies)