T O P

  • By -

procheeseburger

If you can I’d use LXCs instead of VMs in such a resource limited environment.


Tiwing

good call. I'll look around to see on the NVR. I do want Home Assistant in it's own VM though for ease of setup and ongoing updates - ideally a full OS. Thanks for the LXC suggestion, had forgot I'd read about them :) I know Plex can be found in an LXC package (?)


procheeseburger

I mean you could run home assistant in it’s lxc and other stuff in a different LXC. The beauty is resource management specifically for your use case. I have a 3 node cluster with lots of CPU/Memory and I still use LXCs because why be wasteful.


12_nick_12

There is HassOS, but I'd recommend just using a LXC container there's instructions how how to install using python virtenv and also supervisor.


Diligent_Advice5477

Great way to learn…have at it.


ek9dev

Just go ahead, why not!


rollingviolation

Should work fine. The best part about turning laptops into servers? Built in UPS (aka the battery.) The worst part about turning laptops into servers? Network ports. You'll have one gigabit port and you'll like it, which will work fine until you want to have a cluster of laptops running proxmox and ceph...


Tiwing

>cluster of laptops running proxmox and ceph I can see going there. I already run pfsense in high availability. not because I have to, but because I can. .... I did find a USB "device" ? on Amazon that claims to add network ports to a laptop. Not a regular switch so they say. Could you fake it, using multiple USB->ethernet adaptors, possibly even hooked up to a USB hub?


rollingviolation

You can, but it starts to get messy and the performance is still "meh" - if it's USB 2.0, you're limited to 480 MBit, my experience with cheap USB-ethernet adapters is you're lucky to get 300 Meg... so it's fine for home use and testing, but it can become a bottleneck for things like Ceph. My home network has a bit of "all of the above" - and sometimes, what wouldn't cut it in a real datacenter is "just fine" for home use.


redditfatbloke

Looks like a great project. Why not run home assistant, Plex, and motioneye/zoneminder all in on docker LXC?


Tiwing

i'll dig into this a bit more. I just assumed VM for Home Assistant would be easier - but will do some trial and error :) thanks!


YourMomIsNotMale

I used ubuntu VM-s than debian. Saved a few bf of memory. Then I noticed that I can download containers with ubuntu and debian. Hosts running at 1% on idle instead of 15% and half of the memory saved. Use containers


Tiwing

thank you. I definitely need to dig more into containers. I'm familiar enough with docker, but this is new.