Building a rack mounted proxmox server for my smart home
HTML-код
- Опубликовано: 5 июн 2024
- My new smart home runs Proxmox, on a rack mounted self built server. Check out how I researched what to buy, how I built it, how I installed Proxmox, and how I eventually installed Home Assistant on a Virtual Machine using Prox Mox.
❤️ Found this video useful and want to support the channel? I'd love a donation at paypal.me/homeautomationguy
Links:
Step by Step instructions from the video, on my website: www.homeautomationguy.io/prox...
Proxmox Helper Script Library: tteck.github.io/Proxmox/
Installing Proxmox: www.proxmox.com/en/proxmox-ve...
Docker and Home Automation playlist: • Docker and Home Automa...
Chapters:
00:00 - Why build a home server?
01:42 - Choosing a rack mounted server case
03:00 - Choosing components for my server
04:32 - Assembling my home server
05:24 - Choosing my home server operating system
07:41 - Installing Proxmox on my home server
10:21 - Configuring my hard drives for Proxmox storage
13:38 - Installing Home Assistant on Proxmox
15:31 - Bringing it all together and next steps - Хобби
14:03 this made me laugh so much, I’d totally do the same thing as I think I’m hardcore then quickly realise I have no idea! But that’s what makes doing this sort of thing so much fun! Keep up the great work
We've all been there.
I had to pause the video cause I was laughing so hard. Glad I am not the only one...
Love it when someone honestly shares the stress I enjoy so much.
I been thinking of creating my own 2U server to run as my NAS replacement and also home assistant machine. Interesting that both you and Jeff just recently did this, must be a sign from the universe.
I absolutely love your candour in this video. Not giving a shit about other people's complaints is a very valuable attitude! I'm intrigued by the choices you're making in your new home as you're doing a lot of the things I want to do, with similar considerations so I have fallen for the clickbait you set up in this video and can't wait for the next one! From one massive nerd to another, I salute you. 🤓
Thanks Ed! I appreciate the comment!
I'm glad you looked at the power usage. This is something I'm looking at more and more. I have an old hp microserver as my NAS with 4x4TB hard drives. This consumes 50W 24x7. My ha box is a small dell which is only 11W. I'm thinking about using the HA box with a 12TB USB drive and samba share. Then using the microserver as scheduled backup only so it isn't on all the time.
Great video, may I suggest few things? :)
1. Add another M.2 SSD, this time get the Optane 1600X (the 58GB size) and add it as a SLOG to your ZFS. Also, since you're using a whole SSD for proxmox, perhaps you should create on that SSD an additional partition and assign it as a cache for the ZFS. This will improve performance considerably on the VMs
2. Don't use "mkdir" for those sections that you created in the proxmox (around 13:00 on the video). Create ZFS Datasets. This will allows for a better usage of the ZFS storage, and you can also assign parameters for those Datasets for better performance.
3. The Intel fan - I strongly recommend replacing it with a low profile Noctua fan. It's not the cheapest option, but it works great, it's silent and it can operate great even if your machine using the CPU fully (100%) continuously.
Good luck and I'm glad that I've stumbled on your channel. Subscribing now.
Thanks for the tips! I'm here to learn and share
But i think that better is to install passive radiator, that will be colded by case fans, like on real servers
In your video at 6.25 mark you say that a hypervisor (ProxMox) runs on the host system OS... In this case and as you depict with your video graphic, that is Incorrect. ProxMox is a Type 1 hypervisor and IS the actual OS that runs "bare metal" on the host. An example of a Type 2 hypervisor is VirtualBox, which DOES run on top of (within) the host OS (such as Windows or Linux).
Thanks for the videos. i live in Europe and find very hard to find smart switches that have good functionality and can be deemed. Americans have so many options. Will love to see what you find helpful.
Greate video as always.
I currently have a similar setup for my home lab not rack mounted though just a plain computer with AMD Ryzen 5 3400G, 8GB ram runing 3 CTs with docker, dashy and adguard as my Adblock/DHCP server and 2 VMs one with Home assistant and the other with Fluidd for my 3D printer.
Before the update to new parts all of the above was on a netbook with a smaller CPU Intel Celeron N2808 and 8 GB ram.
Proxmox gives great flexibility you can create, delete, test for both Cts and VMs.
The integrated backup system is also great.
The license on that software is an interesting flavour of open source: Affero GPL. Basically designed to equate offering the software as a service with distribution. So people modifying the software and offering products around that offering must give back their changes, which wouldn’t be a requirement under the regular GPL. Thought you might find it somewhat interesting. :)
Next time I’m building a VM/container host I’ll consider this one, cheers.
New subscriber to your channel and I’m really liking what you’re doing. Looking forward to the smart switch video as that’s where I am with my setup. Not using HA but have been a long time HomeSeer user with Z-Wave and WiFi devices as I prefer HomeSeer’s interface and general functionality over HA. Need to get some zigbee stuff in though!
Thank you so much for this video 📷
My pleasure 😊
Great video! Careful with ZFS - it’s awesome for setups with many many drives but its cache will eat your RAM! For a setup like yours I’d prefer an LVM based RAID 1 mirror for the 2 x 8TB HDDs and use the 1TB SSD as a writeback lv-cache. Then you get a ton of storage for your VMs and other data, with redundancy plus the speed boost of having the SSD sit in front. You could set the SSD cache mode to writethrough if you’re worried about data loss caused by sudden SSD or power failure and still benefit from increased SSD read speeds but not write speeds.
I’m running Proxmox on a much smaller and cheaper scale - an old Mac Mini with 250gb SSD caching to a single 2TB HDD as an LVM. I back it all up to an external USB HDD using Proxmox Backup Server - I’d recommend checking that out as a fantastic backup solution for your VMs and data! It does the works!
Enjoy the rabbit hole that is Proxmox!!! 😂
I’m new to Proxmox but I have to say it has been great so far.
My favoured VM is a windows 10 for one of the kids to Remote Desktop into from her iPad so she can do her homework on without me having the buy her a new computer, been great so far.
That's great! I was thinking of using a Windows 10 VM for my daily browsing so I don't get infected with any viruses or other nasties, and then using my desktop PC more sparingly for video editing and gaming.
I recently did something similar but i use a 3 tiny pc node cluster that has home asssistant, two pfsense vms in CARP, unifi network LXC and a portainer LXC. all three have mirrored 64gb OS drives and a mirrored 256gb drive for VM (I am looking into how to use this hardware better with a shared storage solution).
The networking side of things is done with VLANs.
I also made sure to only really use networkable solutions for my zigbee and BLE and hope that my current TUBEZB will be upgradable to broadcast thread. This stops your Home assistant from being tied to one node in particular due to hardware passthrough.
Doing it this way i now have high availability on my home assistant and seemless failover of my router. I can technically lose up to two nodes before anything will go offline.
I am looking to expand my cluster to 5 with the addition of two storage servers running unraid and a few more VM hardware-pass-through tied devices such as Plex (GPU).
Sounds fantastic, but have you measured the power usage? That is what puts me, and I expect a lot of others, off having a “business” grade solution at home.
Good for you. This is your project, everyone can piss off. Good video BTW
Amazing job, Im just moving onto a full server rack setup also (snagged some dell r710s) and am moving home soon with plans to do a full smart home setup so will be interested in following this along. (I am also moving from windows sever 2019 for my HS to proxmox so this was super helpful)
I moved away from r420 for its power hungry
I use Proxmox and it works very well. I personally am sick of hearing about containers. I have enough on my plate and learning docker is not on my list. That is just me. I ran HA on Proxmox for over 4 years and worked great. I run mqtt, node-red esphome and zigbee2mqtt each in their own LXC on Proxmox. They are a container, but none of the hair pulling setup of docker. Maybe raising the rack off the floor in case a a flood at least.
Great choice on ProxMox!
Thanks! So far it's been great!
Proxmox's been great, handy to be able to clone your vms as well. I used to have my HA as a clone as a backup/slash test bed. (just don't run them both at same time same ip) The git hub links great nice one! Good luck
Loved this video, was waiting for this, I would also like to add pfsense into proxmox, just curious to know that do we need additional nic card into server ( dual nic one for wan and other for lan) or not ?
So cool. With the virtualization, it's possible that 2 people to use their own keyboard, monitor, mouse ... at the same time in same machine. (just for cool 😆)
I thought the laundry comment/ network cabinet was hilarious, keep it coming and stand your ground!
Great to see you dive in to proxmox like me. Your boot disc could be smaller if you just was the OS. I would like to see how you host Frigate on such setup. My proxmox is similar intel machine and truenas as backup server again intel desktop hardware. Had a Dell r420 once but got rid of the power hog. I did setup Frigate on another old desktop following your tutorial which I want to eliminate if I can host it on proxmox.
My choice for home rack server was my old Intel PC with unraid system. Home Assistant is running on separate Rpi4. Rpi4 is ON 24/7 and server only if needed to reduce extremely high electricity cost.
Great video! I'm also new to Proxmox after 12+ years only running unRAID and Docker containers. Now I'm looking to run some services, like AdGuard, HA and virtualizing PFSense, on a small proxmox server so I'm not too dependent on keeping the big server running. Fun learning!
I think the laundry room works great, as long as the rack is up on some 10 cm legs you shouldn't have to worry. ;)
Regarding the Intel CPU. In the B-roll showing the parts used @00:08, I see that it says 12400F on the box? I do believe that CPU doesn't have QSV, and I hope you've just gotten the wrong box.
You're absolutely right. I got sent the wrong CPU so I had to get it replaced from the vendor. I've the non F model, which has integrated graphics. Luckily I noticed and could get it swapped whilst I waited for "Motherboardgate" to get resolved 🤦♂️
Nice video series!
I've never used Proxmox but 1 TB just for the system itself without VM's feels a lot. What more is stored on that SSD now a days?
I started using Proxmox last year, but could not figure out how to get the HA qcow2 image to work. I ended up just spinning up another vm and running HA in a docker stack. I look forward to trying the scripts you have shared to fix some of my mistakes. I love the ease of spinning up new VMs on proxmox and deleting my mistakes.
What are you doing with pihole to track cookies?
And nice video. Did something similar a couple of years ago. No room to have a rack so my 2U is hanging vertically on a wall with a nice wooden cover on top lined with sound proofing foam - works really well. You can totally fit an HBA and loads more hard drives in a 2U if you try hard enough!
Awesome. I have a tiny micro PC with proxmox and i can do a lot of stuff. Including a VM with Home Assistant OS. Was too fun to learn all of that.
Your setup is good if you are going to use it for video transcoding that you mentioned. Otherwise would be overkill i think.
Nice setup! I'll probably be migrating off my RPi 3 soon, so it was great to see how easy it can be. Having a separate hard disk for Proxmox sounds like a cunning plan, but the lack of RAID-1 for those VMs would make me twitchy, even with backups. Given that Proxmox won't need massive bandwidth for its own housekeeping, I'd be tempted to boot that off a SATA SSD and give the two NVMe drives over to the VMs.
If it makes you feel any better my setup is adjacent to a water softener, water heater tank, and the entire home piping manifold. That could change eventually but it is quite cold down there.
Fantastic video, was looking into setting up a home server with Proxmox as well, still in the planning phase. However, one of the more interesting issues I've come across in my research has been Frigate playing nice with Proxmox. Have seen quite a few testimonials of people having issues with latency and TPU passthrough, especially when running in a VM. Have you ironed out how you'll be incorporating Frigate?
Very cool setup! Looking forward to build a similar setup eventually. I have been looking into the old Dell servers as an option but, idk. I'll have to see how much all of this would cost me now. Very helpful video though.
Old servers are cheap to buy, but they tend to use a lot more power to run them when compared to an old PC
You had me at 1:30 to 1:35. I look forward to listening to the rest!
SSH’ing isn’t necessary. There is a shell console built right into the Proxmox gui. Copy and paste works there for Proxmox and LXC comtainers. For VM’s you need to SSH in.
Also why split your SSD’s? Install Proxmox as a ZFS mirror between the two. PVE uses about 6GB of space. That leaves you over 900gb for VM hard disks, container disks, isos and container templates. VM’s and containers can’t eat up the entire dish as they are provisioned with the max amount of space they can ever use when you create them.
As for running ZFS on those Barracuda’s? They are SMR drives and ZFS both hates and eats SMR drives for breakfast. You are going to get read errors that ZFS won’t be able to recover from, so please back up anything important over there.
Make the best use of your hardware.
*Googles SMR and ZFS* That doesn't sound ideal...
Cheers for the comment Mike. As I said, I'm a total noob when it comes to Proxmox and ZFS so I kinda just figured my way through as best I could. It's the community comments like this that keeps me learning better and better practises!
@@HomeAutomationGuy Mike was talking about your SSD's. They do not use SMR.
@@marcelfotografie6046 he was talking about the 'barracudas' - which are the hard drives. which are SMR. which is not best practice to use on ZFS.
@@dobrzpe Ah yes indeed. YT did not show me the Barracuda part so I thought it was a reaction to "Also why split your SSD’s? Install Proxmox as a ZFS mirror between the two."
About how you added the “additional storage” (~13:07). Using a “directory” type for storage certainly works. But since the Raid-1 is built using ZFS you can get a lot of advantages if you use a “ZFS” file system here. Before you do the research to learn ZFS it will work almost identically to a “file system”. But ZFS can do snapshots, rollbacks, compression, ZFS Sync to another system, etc.
Thanks for the comment, a few people are saying that! I guess I need to do some reading up on ZFS
no judgement co-locating a rack in the laundry. Space and companion approval are important considerations. Just try and make a point to clean it a few times a year.
You can disable the "local" storage you dont need in Datacenter- Storage menu ;)
Since you are now using HAOS instead of the docker variant, are you limited to HAOS add-on's only? Or can you continue to add docker containers via proxmox? (i.e. piehole). Regarding MQTT, would that be done via proxmox container or HAOS add-on?
Great video and great inspiration, I am just looking to do the same! What is your actual power consumption?
About 40-50w when it's idle
Instead of creating folders, you can also create datasets which allow you more flexebility in terms of settign qotas and creating and sending snapshots
I'm still learning about ZFS, so I'm sure I did a lot of things sub-optimally. Thanks for the tips!
I'd make one small recommendation for your disk setup: setup proxmox again, but ask it to install to both of your nvme disks as zfs in raid1. That means, when one of your nvmes dies, proxmox will keep running and you can replace the failed drive at ease. And if you ever decide to add a second proxmox server, having your VMs on zfs means you can use replication to further increase the fault tolerance of your VMs - replicate every couple minutes, and configure HA so that the VMs get restarted on the other node when their original proxmox host dies. And in peaceful times you could then also benefit, by having one proxmox node migrate all its VMs to the other, so you can power off the machine to clean dust out or make hardware changes. Our kiddo doesn't even notice the opnsense firewall VM being migrated while gaming!
That's awesome! Thank you very much for the tips!
I love this idea! please let us know how it goes becouseI loved how you did it with docker. If this works very well for you then I'd switch over as well but im using cloud flare tunneling would this also work with proxmox I can't seem to find much on the web for tunneling and proxmox
wow this is what i am think of doing, get a nice rack:P and get it all in one place, my plan in to run HA and audio, and survalince, so bakup is a must
great video
It's been fun setting it up! Unfortunately none of my guests seem to think the rack is as nice as I do 🤣
Loving this whole series of videos. I'm 7 months into my home automation journey with Home Assistant. Started on a RPi4, but due to exponential growth, and just for the heck of saying "I did a thing" in Jeremy Clarkson stylee, I move my HA into a Proxmox VM on a Lenovo mini pc this weekend 😮. I did the "was that it?!" thing when I was done too. I was planning on moving my Zigbee2mqtt into a separate VM, but after hearing your comment about other VMs in the same hard drive eating up all the space and preventing Proxmox from running, I'm not do sure now. I might have to invest in another hard drive 🤔. Keep up the good work 👏
Thank you!
Thanks for that video! What's the power consumption of the new rack server when idle?
40-50w
Was there no way to at least wall-mount that laundry room server rack? Great video!
How much power (cpu, gpu, ram, etc.) would a machine need to run a router, a vpn, a streaming service (like Plex or so), and be solid for Blender rendering in virtualization without choking or needing to upgrade again too soon? Anyone?
I'm a step behind you. I just got a 11th i5 nuc. Should I use docker or proxmox?
Have you considered using something like TrueNAS to configure RAID at the virtual level instead of the hypervisor level? Personally I find it a bit easier to work with than PXMX and it has some extra features.
Do you prefer VM's or Docker at this point? Any interesting differences you can share?
You might want to add a temp/humidity sensor (Aqara one should do just fine) to keep an eye on the humidity in the laundry room. I know it spikes a great deal in mine which is not ideal for hardware. Turning on a dehumidifier during those spikes could potentially help.
Yeah, I've got one in there and it's been quite consistently low. The dryer has a chamber that captures the moisture and drops it into the drainage system with a small hose.
I've just followed along with this but using the latest version of proxmox and HA but don't have a raid setup just a m.2 and a 1tb 2.5 ssd to store the containers. When I look at the summary of the VM the ram usage is sitting at about 85-90% when sitting on the startup screen of HA. Any ideas why this is so high?
Additionally now that I have restored my HA backup none of the addons will run! :( I was using a raspberry pi before and the RAM usage is sitting at 90% usage
Any Pro's and Con's for running Home Assistant as a OS Installed VM or Docker Container?
With thos set up, how much of ur 1TB of nvm is consumed which u used specifically for proxmox?
Use water detectors device which alert you and out under rack. I just learn from another guy today. Will help you!!
Great tip!
Hi Can you share the hardware spec of the new server, maybe with a PCPartPicker list? I'd be interested in knowing how it handles Frigate and what the power consumption is. Thanks,
Hello Alan, i am enjoying your videos a lot. thanks a lot, i have learned a lot from you!
i would like to ask something, Will you make a video of how you setup frigate (in docker) in proxmox with coral tpu passthrough? As you were using frigate before for motion detection, i suppose that you are still using it.
Thanks
Yes, I will be making a video about that. I've just managed to get my hands on a PCIe Coral, so I wanted to test it all out first before I made the video. Stay tuned!
you mention sometimes using your old system for gaming. Are you still planning on using the server for that? If so, are you going to get Windows or some other OS on there? VM or container?
I'll keep using my existing desktop PC for gaming and video editing, since it works perfectly well. I am just happy that I can shut it down now when I'm not physically sitting at it and save the energy consumption!
In one of your dockets, I see MySQL. What do you use that for? Thanks. Love your videos. Ole to ZigBee!!! lol
Also, I never saw a video with your partner talking shit about your smart home. I think it would be funny if he came on your videos and had jokes. Like how Automate Your Life wife does on his channel. My wife supports my love for smart home and she teases me a lot, but she loves what I do as well. She admits that it is amazing. What's funny, I tried to teach her some things because if something happens to me, she would not know how to troubleshoot issues. She has no interest in learning it, she just allows me to do whatever I want and let me know if something is not working.
Another question. I have a five year old Sengled ZigBee light bulb and it is not working or responding. I do not have HA yet, still on Smartthings and have crap loads of hubs. When we move in a few months, I plan on building a server for HA using your techniques racks and dockets. I would love for you to do a video about replacing devices that break and replacing it without having to redo all your automations. The problem I have in Smartthings and Alexa is when replacing items, the automations remove the devices. I then have to go through all automations and scenes. The Aqara app allows this, I want to know if HA has this capability. Thanks.
Haha, I just asked about a 2u build in the home assistant Facebook group and got bashed for wanting to put everything on a single machine heh. Proxmox with home assistant, truenas, frigate
This man is brave with Seagate Barracuda drives in a raid...... At least it'll make a good future video 😃
Other comments have mentioned the same... What have I walked in to 🫣🤞😂
6 years and I've never had one fail 🤷♂️
I would've got Ironwolf Pro or Exos.
I have some Seagate Barracuda and never have issues with.
@@fvgoya These drives are not designed for 24/7 operation such as a server or NAS runs. Cheaping out on drives only cost you in the end with failed drives and lost data.
I think IMPI board would be nice. Not to deal with monitor for boot etc.
Are you going to run frigate on that Proxmox installation? Or will you look for another solution?
some are trying their best to has as little as possible power consumption, others don't care ;-)
nice build anyway
I'm using less power than I used to with my desktop PC! So that's a win in my books.
I understand that you used to use docker to run home assistant. Did you have to completely start over or is there a way to used a backup of the old config on the new proxmox home assistant?
That's a good question, I'm not sure! I started fresh in my new house as I had new rooms with new automations that I wanted to create.
I'll look into it, sounds like a good topic for a video ☺️
Will you be using zigbee2mqtt again?
@@samuraiintellectual I sure will be. But as a Home Assistant Add-on!
Do you plan on running mqtt inside your hassio install or use the script to install another proxmox container ?
Don't think restoring an old backup will make any sense, because what you mentioned. The home environment is probably completely different. But you can manually copy some things, like automations and other logic. Just copy from the old yaml files into the new ones.
Like the new setup, I have something similar with Proxmox, but with a low power Supermicro motherboard. It's nice to have an IPMI for remote management.
Can I ask which camera brand do you use, what works good with HA?
I use Unifi
Why don't you mount the rack onto the wall? keeps the water out when there is a flood.
I only subscribed when you said you are a massive nerd... I can relate.
I love being a nerd ❤️. Welcome to the channel!
Well, I was not one of those who complained about your cable management, however, those who left feedback most probably wanted to help instead of offending you. Choosing the right expressive words about your viewers' comments on a channel that is all about cool techy stuff is very important, especially whilst you are growing your channel unless you are saying, you don't give a sh** about my comment too. Good video though about Proxmox.
nice video. I had also the home Assistant Countainer and I want to chenge to the OS version. How should I backup and restore all data on th OS version. And I am using current a LAN coordinator not a usb doungle. I would be happy, if you can help me. Thanks
You can use the HA Backup tool to back up from HA Container and restore to HA OS. I believe it should restore most things these days
I am waiting for the next video. I am trying to find the perfect wall switch for myself. Is not easy. I am looking for switch compatible with ZHA with available relay on/off, decoupled mode, and actions single, double, hold and release. 1 and 2 gang.
Same. My house is old so no neutral which limits things. Also need to make sure they are 'wife' friendly who likes switches. Have used Fibaro in the kitchen so can keep standard switch. Also looking to replace 3 gang dimmer switch with it not easy as double sized. Looking at using Condeco dimmer modules using the same front plate.
I will be soon building a proxmox server. Quick question: Why choose a desktop CPU instead of a server grade CPU?
Price
By any chance is it possible to make NordVPN run in portainer? Possible
Wish you hadn't gone so fast during the HA install. I would liked to have seen how you installed it step by step. Did you have to setup a VM or container of some sort first?
Nope. Just run the script in the terminal window of your proxmox server.
@@HomeAutomationGuy wait. really?!? that script spun up a new VM, put in the settings, AND installed HA? i'm going back to watch that again. i assumed you created the VM first so you could define it's parameters and the script *just* installed HA!!
@@dobrzpe It sure did! It even gave me pompts during the script to override the default number of CPU cores, allocated disk space and memory too. I didn't do anything except SSH into Proxmox and paste in the shell script link.
@@HomeAutomationGuy that's amazing! thanks for the response. i'm just learning, myself...
What host os did you use?
proxmox IS the host OS. (his graphic was a little confusing on that point!) there is nothing else installed, just proxmox.
Love the cable management comment (I just don't give a sh) I hear ya. Works works.
Exactly! It's not like I have to look at it every day. (Unlike the equally terrible cable management on my work desk...)
Does this mean that you are running HomeAssistantOS with supervisor instead of your previous docker setup?
Yep. I am. I thought I'd try something new this time around and learn new things
Can you set up either JellyFin or Plex on your home server?
4:57 i notice you happen to be using what looks like a generic PSU, isnt that bad for something like this 24/7 rackmount your building?
did you think about putting some 10gbe love in your new server?
I sure did think about it... but then I realised that I'm already being excessive enough by just having a home server at all, so I thought that could be a future addition if I find the 1gbe too slow. 🤣
Doesn’t this generate a lot of overhead on the system?
Not that I've noticed
If you can not, or are unwilling to, move the electrics out of the laundry - then why not simply move the laundry ? Water and drainage piping is much easier to move than a fist-full of cables anyway.
I can appreciate that your partner may not want the washer/dryer/etc in the kitchen - and I would agree with them - but can you not extend to a small "conservatory" which would accommodate white goods quite nicely even in summer, and would actually be closer to your washing line (old fashioned if you will, but I prefer it to a dryer, and not only for the costs).
As server OS you could also have chosen unraid. It´s much easier/nicer than Proxmox and Truenas to use and very straight forward. Also supports VM´s and containers. However OS´ss are a religion for many...
Good video …. However I do have some complaints …..
I’ve been running proxmox for a year and would recommend 2 changes
1. The barracuda drives need to be NAS level drives due to proxmox runs 24/7 not shutting down
2. You shouldn’t of installed the OS on that 1TB drive you wasted that drive!!! Wipe it and install proxmox on a 32 or 64 gb sd card that goes into a usb insert the usb with the sd card in it and boot off that will save that drive and give you an extra 1tb of storage
Also side note be careful how you explain proxmox the demo you gave when you showed the graphic you said proxmox goes on top of your computers OS that would be a type 2 hypervisor proxmox is a type 1 it is the OS
Enjoyed the video keep up the good work :)
Thanks Tim! I appreciate the pointers. Like I said in the video, I'm a total n00b when it comes to Proxmox so I appreciate getting tips like this from people way more informed than me!
1. please uip that rack you dont come back from a holiday finding a pipe burst and youre servers took a swim. 2.i still would use a storage server even if you still use the hdds in youre server for storage. so that you have a wa y to store in multiple locations and tbh drive servers are made to store loads of disks instead of trusting on one or two drives.
If you put it in the wettest room in your house, if that is your decision, how cannwe trust your decision on anything else, at all?
You shouldn't trust my decision on anything. I'm here to tell you what decisions I made, why I made them, and then you can figure out for yourself what works best for your own specific circumstances!
all bood but the proxmox disk is too overkill, buy a smaller ssd and put the 1tb in raid 1 with actual one to have more space efficiency
My home virtual environment is currently spread over three NUCs and two thin clients all running ProxMox and a re-purposed old PC running ProxMox Backup Server. It's creaking at the seams a bit now and so I've been looking at upgrading following the same sort of path as you have.
Unfortunately, for me, your solution is just too expensive. I know you haven't provided costings, but looking at your parts, I reckon that machine cost you over £1200. Not saying that yours isn't a valid solution - far from it, it's a very capable configuration.
One option is second hand (assuming Dell for price/availability) server costing around £400 plus another £350 for disks. This would be spec'd well above your build (128GB RAM, 20 cores, hot swap drives, redundant PSU and fans), but in terms of power consumption, it would certainly be greater, and whilst the initial outlay is much lower, the five-year costs would therefore be significantly more.
Assuming for the moment, an electricity price of £0.30/kWh (£2.63/Wy), that your solution consumes 50W on average and the Dell server uses 200W, the costs to buy and run each option for five years are as follows:
Purpose built, 50W, £1200 + £131/year = £1850
Dell, 200W, £750 + £526/year = £3400
The problem is that the Dell server has so much more compute power, it's not really a fair comparison. So despite the fact that it has almost twice the five year cost, whether it's worth it or not really depends entirely on whether the compute power is required or not.
All this leads me on to thinking that perhaps for my requirements, the best overall option is actually just to buy another NUC instead...
NUC (second user, i5, 16GB RAM, 1TB SSD), 30W, £200 + £79/year = £595
This has the major advantage that if one of the NUCs fails, I can restore essential VMs to one of the other ones until I replace it.
So... Thank you for the video, it's certainly given me food for thought and made me consider my decision more completely!
Why not use proxmox own terminal for the helper scripts? That is what it is for.
You sure can. I just find web based terminals a bit of a pain. I'm old, SSH is my jam 😬🤣
@@HomeAutomationGuy Oh, that make sense. I was like "why?" when you did it. 🤣
Only one comment really in a otherwise good video. Humidity is going to be a problem in a laundry room. Consider some sort of dehumidifier, or you will regret it.
You know, I originally thought the exact same thing. But my Aqara temperature and humidity sensor has never had a reading above 54%! The dryer drains condensation into the plumbing, so nothing seems to get into the air. The temperature also hasn't gotten above 26 degrees celcius.
I have been keping an eye on it though! I've even considered a "Red Alert" automation that plays sirens and flashes red lights when the temp or humidity goes above a threshold 🤓
@@HomeAutomationGuy
Fairy nuff. Best to keep a humidity sensor hooked up though in case there are any 'accidents'
6:24 your image descibes a type 2 hypervisor (ex. virtualbox) which runs on an OS.
But proxmox is a type 1, runs straight on the hardware. There is no OS. Proxmox is the OS
Oh, my apologies. I incorrectly assumed it was just running on Debian. Like I said, I'm a total n00b at it and learning a ton from the community commenting on my videos. Thanks!
@@HomeAutomationGuy proxmox is a 'modified' debian version. And uses KVM for virtualisation. But proxmox is the OS. The advantage is that you can actually assign gpu's etc to your vm's. Which is alot harder with type2. The type 1 has direct control of the hardware.
Can’t believe you let those cables, kidding, comments are good for the channel I guess but wow people get upset by freaking cables lol.
It's the internet. People get outraged about everything 🤣
@@HomeAutomationGuy yup, but you have the right attitude about it
Seagate drives eh? I guess it's better than using wd green drives. Wait...
Rack on the laundry room? Why not? Keep the bits clean and avoid bad network smells. 😂
Bad smells cause terrible packet loss.
you can do alot of this stuff by buying used servers off of Ebay for half the price
Absolutely, if you know what you're buying it's a great option. Just be aware that prebuilt servers might consume more power, as they're designed for business use.
@@HomeAutomationGuy and VERY LOUD fans
I’m about to convert my attic space into a new network / water heater / laundry space. Oops.
Keep the network up high and hope the roof doesn't leak. WE'RE IN THIS TOGETHER NOW! 💪🫣
🤣😅😅😅At the end of the day, i really don't give shit. subscribed
My server, my rules
Love your pre-emptive STFU to the cable management complainers.
The only thing i find dumb, is that you use an core i5 12th gen cpu.
The problem is,
1st, 12th gen is the only generation that doesn’t support any virtualization.
13th gen supports sr-iov, and 8th gen till 11gen supports GVT-g or GVT-d. 12th gen supports nothing and plain passthrough could be tricky.
2th, you dont have ECC, ecc is crutial for running a server 24/7. Otherwise you get errors over time.
Better choice would be an Ryzen 5800x/5600X with a dedicated lowend cheap gpu (for simple passthrough or multi acess via docker or lxc containers, like for plex/jellyfin or ffmpeg converters).
Ryzen supports ecc ram with a lot of mainboards.
However, your hardware choice shows only that you don’t have any clue or made any research what hardware you need for a cheap server.
The next thing is how youre using your storage, not much to complain there, but definitively not the way i would so this.
Without vdevs or l2arc/cache drive, your storage will eat up all the ram (that has no ecc btw, which will result in data corruption overtime) and additionally will be super slow.
Even your nvme ssd will be super slow, wouldn’t have used zfs for only one nvme storage device, instead a simple lvm drive which gives additionally the ability to run docker without issues. Docker doesn’t runs well on zfs.
However, your hdd mirror will eat up the ram space, your nvme will eat ram additionally, in worst case you get data corruption, in best case your io latency will be super slow.
For example, what im using: An Ryzen 5800x with 128gb ecc ram, 4hdd disks in zfs
Then i have an 4x bifurbication pcie nvme adapter:
2x 512gb nvme drives in a mirror, that mirror has 2 partitions, one as vdev and one as l2arc (100gb+400gb)
1x 32gb optane as cache
1x 2tb nvme drive for VMs/LXC (Here i don’t need a mirror, because i have simply backup jobs)
and in the mainboard nvme slot, i have an 512gb ssd, for the os and some other crap, 2 lxc containers and one vm.
The 4hdd raid10 zfs mirror (can be Raid-z2, but z2 has no benefits, other as causing more overhead) has 36TB netto space, 72TB in total (each drive has 18tb).
That 36TB storage is blazing fast, i have there all my Samba shares and use that storage for backups either. I would even say its faster as some ssd storages.
And my proxmox server in total is relatively cheap either, just all the drives, especially the 18tb hdd drives were expensive as fuck. DDR4 ecc ram is pretty cheap and it makes no sense to cheap out there. 128gb ecc ram (4x 32gb modules) Costs in total like 300€, thats cheaper as one 18TB HDD Drive!
And ram gives the most benefit in every aspect inside an server!
Additionally i do have an fail over sever, which is simply a cheap nuc… That nuc just takes over the opnsense routing, if i need to upgrade and reboot my main server. Just to have Internet and most of my things working, when the main server fails. Which never happend btw.
However, without those 4x 18tb hdd drives, my server costed around 1000€, maybe 1200€ but not more. And it has 128gb ECC ram.
Btw, i have a GPU either (Nvidia gtx 980), and i used it for jellyfin and some rdp sessions, but nowadays i don’t use it, because every client does its own decoding (shield with kodi or appletv with infuse).
And for rdp sessions it doesn’t provide that much benefit. I found at least a better way.
However a GPU is probably not neccesary anymore these days for most ppl. But a cheap gpu for transcoding is always an option.
In Short, probably i have an Server that is too expensive for most, but really guys, if you need a Server, then don’t cheap out on bullshit.
A server costs around 1500€ with drives, if you want benefit of that, then throw simply everything else away and host simply absolutely everything on that one server.
Like no raspberrys anymore anywhere in the house, use opnsense as your router and throw the router away, throw simply everything away that you can host.
Cheers