Single Host Virtualisation
This article is a stub. You can help The Open Homelab project by expanding it.
The most barebones aproach to a homelab is using a single host computer. Here we will focus on three approaches: Whitebox builds, pre-built servers and your personal computer.
Whitebox dedicated host
This one is a no-brainer. You choose your hardware, install a type 1 or 2 hypervisor and you have a dedicated machine to work with. It allows for greater flexibility in choosing your hardware and controlling the overall cost of the build, however, unless you go for server or workstation-grade hardware, prepare to lose access to enterprise-only features (IPMI, for example) and other features (64GB+ RAM support, ECC, etc). Also, if using a hypervisor with a Hardware Compatibility List, check your build (and the internet) before buying, to ensure that your hardware is compatible with the hypervisor or that you can, at least, load specific drivers during installation to ensure full compatibility.
For more information refer to the whitebox section of Building a Homelab.
Ranging from cheaper, SMB-oriented servers like the HP Microserver line to full blown 4u-dual-socketed-enterprise-goodness, they are the usual go-to when setting up your homelab. Usually fully supported by most hypervisors right out of the box, they provide a more enterprise-like experience. Due to their big range of applications, their hardware specifications can change considerably. For example, let's choose 3 different servers from HP to illustrate the differences and their intended usage:
|Server||Number of CPU Sockets||Number of RAM slots||Max RAM||Intended use|
|HP Microserver Gen8||1||2||16GB (2x8GB DDR3 ECC Unbuffered)||file server/light virtualization for SMBs|
|HP Proliant DL120 G7||1||4||32GB (4x8GB DDR3 ECC Unbuffered)||single-application server/light-medium virtualization/Web|
|HP Proliant DL380 G7||2||18||48GB (12x2GB DDR3 ECC Unbuffered @ 1066MHz)
384GB (12x32GB DDR3 ECC Registered @ 800MHz)
|medium-large scale virtualization|
While it is quite tempting to go down the high-performance road, one must be careful. These servers have heavy power consumption, are noisy, etc. The golden rule is to scale the server to the needs of the lab, and not the other way around. Doing it in such a way allows one to take the most out of the hardware, instead of having a 24-core, 300GB RAM behemoth running only 8 light VMs and sinking lots of unneeded power.
There are lots of advantages by going with a pre-built server:
- Entry-level servers (Microservers/TS140/etc) are cheap and good quality, capable of running most lab environments.
- Older generation hardware readily available from ebay/craigslist/etc.
- Usually quite cheap for the hardware if buying used, and cheap to upgrade as well.
- Good brand ones will have extensive information available on the internet, which can become a life-saver when diagnosing some weird problem
- Old servers are still quite capable of running everything you can throw at it
However, there are also some cons:
- Rack-mounted servers are noisy, and power hungry
- They might throw a fit if using non-OEM parts (the microservers do this) and/or have non-standard parts (PSU, fans, headers, etc).
- New servers outside the SMB level are quite expensive.
- Low WAF
Everything considered, they are a solid choice, however care must be taken to choose the appropriated hardware.