Self hosted services with laptops?

Self Help

I have some slightly older laptops, all in pretty good condition, that I was thinking of turning into a number of servers. Perhaps run Docker Swarm or Proxmox cluster on them. What kinds of things should I be aware of when trying to pull this off?

Posted Apr 27, 2022, 6:58 PM UTC

213
lunartaser•

Battery overcharge, and as a result, eventual swelling. Either take them out or set the battery limit to 80%, or maybe even lower.

11
xstar97•

do you think getting a smart outlet for the charger that completely turns power off for it automatically or through a smart assistant controlled by the laptop and turn the outlet back on when the laptop goes below 50% power.

conserves power and battery life.

2
lunartaser•

There's some tools for setting the battery limit on Linux, but from a quick google, it seems like some of them are brand-specific, though, so you'd have to do some research for your situation. Then I think you could buy some smart outlets for the laptops that didn't allow a software-based limit.

3
StickusOP•

I kind of like this idea. I have a couple smart plugs that I could use with this

2
StickusOP•

They're all Dell latitudes of various vintages, so they should all have the ability to adjust charging settings in the BIOS. Thanks for the tip!

2
padamdam•

Hard drive wear

Dust in the fans if you store it away

3
StickusOP•

Looking to swap out all the tired old spinners with SSDs, but good reminder about the dust

2
d4nm3d•

My biggest concern with doing this is having them power back on after a power cut.. as far as i know, this is rarely available in the bios on laptops..

Smart plugs can get you around this.. but if for example you're hosting Home Assistant or your VPN on the laptop and you're away from home, then you're shit out of luck and need a physical power on...

If however you can host something on a PI (or similar) that will enable you to have VPN access and thus access your LAN remotely then this can be mitigated.. though it's still a manual process to get things back up and running.

You might look in to getting an IP KVM or even look at PiKVM or TinyPilot as solutions for this.

2
StickusOP•

Good things to be aware of, thank you!

1
servergeek82•

As an idea. I use an old laptop as a backup for my photoprism instance. To be honest I don't care about losing the terabytes of media. But as a tertiary only as the drives on my main server are redundant.

I have a git instance that holds my .yml files for config and .env files for settings. Attempting to setup drineci and gitea for auto deployments.

My home laptop is my monitoring host that holds the uptime kuma and gotify. Still work in progress.

2
SysInt•

good idea i'm doing the same. (Docker Swarm)

a tip from my end: take care of your backup, and all will be good :-D i mean its laptops and a HDD/SSD can break quickly, with a good backup ist just a few mins of work to get everything back online, 100% recommended.

I would not go with a swarm if you dont have good backup solution.

2
StickusOP•

Good point. Looking at a single point of failure with most of these laptops, because only one drive in them. I do have a NAS, so I'll be sure to setup a backup of some sort for them.

2
SysInt•

i can recommend Duplicati as Backup Solution :-) open source and dockerized. I'm using it on my VPS from a random hoster.

My Personal Setup has Hyper-V has hypervisor, wouldn't choose Hyper-V again because it eats up too much recources (-3GB to my recources). In this setup am using Veeam Endpoint Backup (Free for Personal Use) as backup solution. I must admit i had a ssd crash and needed to rely on this backup and it worked perfectly, they give you a bootable iso with all the tools you need to restore everything. It was too convenient and it worked too good to switch over to something else i mean thats all my productive stuff it would make me super sad if i loose everything so having something reliable, which has successfully worked in an emergency does mean very much to me. OpenSource and all Linux would be cool but yea i'm taking the save path (i know) here with this Hypervisor and that Backup solution :-P

2