I believe this is a slightly controversial topic, at least from what I have gathered so far. Some say its best to leave the server on to spare the life time of the spinning rust. Other seem to prefer to save power and boot the server off each night. So wanted to chip in and hear what folks here do and why do what you do.
Bonus question; Do you guys have a UPS? Is it a must have for a homelab, or does it just depend on the usecase?
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters DHCP Dynamic Host Configuration Protocol, automates assignment of IPs when connecting to a network DNS Domain Name Service/System ESXi VMWare virtual machine hypervisor NAS Network-Attached Storage NUC Next Unit of Computing brand of Intel small computers PiHole Network-wide ad-blocker (DNS sinkhole) SSD Solid State Drive mass storage VPS Virtual Private Server (opposed to shared hosting)
8 acronyms in this thread; the most compressed thread commented on today has 19 acronyms.
[Thread #862 for this sub, first seen 10th Jul 2024, 12:55] [FAQ] [Full list] [Contact] [Source code]
For a while I had a low-power server for my personal things that stayed on all the time, and a more powerful computer that hosted a minecraft server. As the player count dwindled, I decided to make the minecraft server automatically shut down at midnight, and wake up at 8 in the morning using
rtcwake
. And eventually I disabled the rtcwake thing entirely, and made the smaller server run a webui that could wake up the minecraft server using wake-on-lan. So if anyone wanted to play, they would first have to remotely turn on the server through a web page. This was all password-protected ofcourse.Also, no, I don’t use a UPS. I’ve never seen anyone use a UPS in the country where I live, and I don’t think I’ve experienced a power outtage in like 4 years. Whether or not you need a UPS seems to be largely dependent on where you live.
No one should be powering off their servers. Thats really not the way to go about anything. Now there’s nothing stopping you from doing that either if you want to and it makes you happy or your life easier.
But if you want a simple answer to a simple question, no, nobody sane is doing that lol
We power off servers in the enterprise all the time and on schedules 😂. Its called saving money.
Uh, in your “enterprise” maybe lol.
In pretty much any enterprise using the public cloud. Everything is auto scaling, so shutdowns when not needed. Dev environments shutdown over night… If you’re not shutting down and scaling in the public cloud, you’re doing it wrong.
Ok scaling is not what we’re talking about here lol.
Is it shutting down servers… Yes. it just does it based on parameters and thresholds.
Then you get things like VDI servers and jump boxes that only need to be on between certain hours, so get shutdown outside them hours.
Right you don’t shut them down, you scale them down. My server also uses less power off peak demand.
No we shut them down. They get deallocated the same way as shutting down a virtual server does. They’re not containers, the scaling part just turns them on and off based on workload or schedule