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?

BritishJ
link
fedilink
English
-48M

We power off servers in the enterprise all the time and on schedules 😂. Its called saving money.

Encrypt-Keeper
link
fedilink
English
78M

Uh, in your “enterprise” maybe lol.

BritishJ
link
fedilink
English
-38M

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.

Encrypt-Keeper
link
fedilink
English
78M

Ok scaling is not what we’re talking about here lol.

BritishJ
link
fedilink
English
-6
edit-2
8M

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.

Butt Pirate
link
fedilink
English
78M

Most of us don’t have clusters so shutting down the server means taking the server and all associated services completely offline.

Do you take your product completely offline for 8 hours every single day?

Encrypt-Keeper
link
fedilink
English
88M

No Donny it’s not. You’re out of your element here.

FippleStone
link
fedilink
English
28M

They’re fuckin’ nihilists dude, they don’t believe in anything

BritishJ
link
fedilink
English
-38M

But it is. They’re stopped and deallocated. They start up when demanded. And shutdown when below a threshold or a certain schedule.

Encrypt-Keeper
link
fedilink
English
38M

I’m starting to understand why British admins are paid so much less than their American counterparts.

BritishJ
link
fedilink
English
08M

You do understand, when you have VM’s set to auto scale, they shutdown when not in use, if you’re using horizontal scaling.

@WordBox@lemmy.world
link
fedilink
English
78M

Right you don’t shut them down, you scale them down. My server also uses less power off peak demand.

BritishJ
link
fedilink
English
-48M

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

I see where your head is at here, but it sounds like you’re focusing on containerized items. A lot of people are going to look at you real weird if you think of scaling down a container as equivalent to shutting down a server. We can all see where your mind is going and there is logic there, but it’s more akin to closing chrome when you’re not using it than it is to shutting down the computer running chrome.

Even physical hardware, if your paying power you can have clusters of physical hardware power up and down based on usage. There is no point in having 10 physical hosts running when the workload for n+1 means 3 servers overnight. With bnc, ipmi, ilo, idrac it will power them up as needed.

BritishJ
link
fedilink
English
-18M

Finally someone who gets it.

Yup. I run those kind of clusters. But unless your in home datacenter territory, that sort of config isn’t likely to happen in self hosted.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 289 users / day
  • 759 users / week
  • 1.55K users / month
  • 4.09K users / 6 months
  • 1 subscriber
  • 4.24K Posts
  • 87.8K Comments
  • Modlog