this post was submitted on 11 Jun 2023
12 points (100.0% liked)

Selfhosted

40347 readers
546 users here now

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!

founded 1 year ago
MODERATORS
 

Hi all, just figured I'd put out there what I've currently got running, and see if there are any ideas on what else I can deploy.

Currently my haphazard "lab" consists of four old HP prodesk 400 clients that some office was tossing out. Originally I wanted to do more with virtual machines and playing around, but right now the main "functionality" is a Jellyfin instance for handling media. Since each box originally came with a 500gb hard drive (and at best there's only space for 2 full size drives inside), storage space is what's killing me right now.

So, as follows: Host1 (before I realised you could change the hostname to something cool): Setup running proxmox and truenas in a VM, should probably be more efficient to just put truenas bare metal, but originally I figured more VMS would be fun, and haven't been bothered to fix it

Artemis: the brains of the operation, running one Ubuntu server VM (again, really overestimated how many times I'd need proxmox), which in turn runs containers to handle Jellyfin, and a Minecraft paper server whenever I need it. All the storage is directly mounted in Ubuntu, which was a bit of a learning curve for fiddling with /etc/fstab

Citrus: Truenas core finally on bare metal. Makes up half of my media storage (2x500gb drives as separate volumes).

Ziegler: Spare storage box I spun up when I needed space to dump things. Running truenas scale (I saw Linux and started drooling, but still have no idea what I'm doing and if there's any real difference between core and scale for my use case). I keep it separate from the "Jellyfin boxes" right now, but will most likely end up roping it in if I run out of storage (currently too cheap to go out and buy 2tb drives just yet)

Any advice or ideas for other things I could deploy would be appreciated

you are viewing a single comment's thread
view the rest of the comments
[–] theterrasque@infosec.pub 3 points 1 year ago* (last edited 1 year ago)

My systems:

  • Sunshine - file server and spillover host. Uses ZFS, provides GlusterFS and iSCSI
  • Raspi - Raspberry pi 4 - network DHCP, DNS and control unit, spillover host
  • Blizzard - Node, glusterfs 2nd server
  • Toolbox / GamerStreamer - hybrid windows host with a linux node VM. Windows is used for running windows-only things and stream games via steam
  • Cromie - chromebox converted to node
  • AcerBox - An Acer box running as node

They're all running in a kubernetes cluster. Nodes are primary deployment targets, sunshine / raspi is set as not preferred, but will be deployed to if there's no other node with resources. Storage is done on glusterfs. Services are provided to network via metallb, and ssl cert handling is done via certbot. Ansible is used to set up and configure the cluster, making it pretty easy to add a new node.

In practice this means any one host can go down without services going down. It will take a 10-15 minute time for kubernetes to flag a node as down and not just rebooting or something and reschedule the services, but it's more or less self healing and usually already fixed before I notice it's been a problem.

As for services.. Some game servers, jellyfin, specialized stream servers for a project, nextcloud, postgres cluster, node red, grafana, influxdb, gotify, proget, a web server, and about 5-10 smaller personal projects.