A little recap on the history of my GeekLab and how it's evolved over time.
What is a GeekLab?
They come with many names: GeekLab, HomeLab, House Server, call it what you like. Many are salvaged PCs, I know of one based on a Mac server that got blown through a wall (or more like the wall got blown through it) when a nearby oil tank exploded. Many are end-of-line PCs picked up cheap and then bits added. Some are purpose built servers, although it appears this is considered an automatic disqualification in some circles of geekdom. Many home NAS boxes are capable of running applications in addition to sharing files, so they also count.
And at the other end of the scale, the humble Raspberry Pi is more than capable of being the basis of a home lab. Even repurposed routers upgraded with alternative firmware such as OpenWRT to let them run Linux programs can fulfill many of the functions.
The first home server I had was in Boston. We'd just got cable internet on our street and we the second people on it and for a long time we had the full 2MB virtually to ourselves. The server was an ex-company laptop, propped up on lego bricks to improve cooling underneath and it acted as a NAT gateway and a download server. Until some plucker broke into the apartment and stole it.
GeekLab v1
My first real house server was an HP Proliant ML115 G5 from a clearance sale and came with Windows 2003R2 Small Business Server. I added some 2TB WD Green disks that cost an obnoxious amount of money at the time, twice the cost of the server and Windows if I remember rightly, but they lasted nearly 20 years running pretty much non-stop in each of the subsequent GeekLabs. One might even still be in use in an old PC thinking about it.
Like all good house servers it lived in a cupboard under the stairs and I very quickly learned about ducting the fan exhaust into another room to stop it overheating. It's main purpose was a file server with Exchange providing shared calendar between desktop and phone and as an email repository so the ISP mail server didn't overflow. Plus a DAT drive for backup.
I'd been using Parallels to run desktop VMs and at work we'd start using vSphere but only the infra guys were allowed anywhere near it. VMware Player let me start experimenting with what VMware was capable of and I did a P2V of the Windows server just to see how it worked. Which came in rather handy a few months later when it started to shutdown intermittently and then one evening it just died...
GeekLab v2
The Geeklab was reincarnated on an HP Proliant ML110 G7 on the basis of a new bare-bones server was probably going to work out cheaper than replacing parts on the old one until it worked again. The disks, tape drive and DVD-ROM were all retained and I did consider just restoring Windows and carrying on but the free VMware ESXi hypervisor was there with an HP-supported install ISO with all drivers pre-installed and why the heck not?
ESXi 5 installed nice and easily, running off an SD-Card so all the disks were available as datastores and it just worked. The earlier P2V of the server was imported via VMware Converter and latest data restored from tape and I started to play.
ESXi 6 was released and upgraded and found it didn't like the tape drive at all. Even though it was recognised as a USB device and could still be attached to a VM for use, VMware had introduced a limitation to discourage people from using the free edition in production environments. I guess they figured GeekLabs wouldn't bother with backups. The workaround was to install an ethernet-to-USB bridge (Silex?) and install the driver directly on the Windows VM and with some careful routing of cables the DAT drive was still able to fit inside the host and all was well again.
And then HP did something horrible to the backup software that came with the DAT and then decided that if I wanted the fix I would need to take out a support contract on the DAT and the server itself at an annual cost of more than I paid the for server to get any sort of update, even BIOS fixes, so I needed to replace the backup solution.
By this point I had some Ubuntu VMs running so I started experimenting with Bacula. I even managed to get it working with the USB bridge which by this point was living in a plastic box with the DAT unit in another room so I didn't have to mess about under the stairs to change the tapes. The USB bridge was then replaced with a Raspberry Pi running the Bacula storage daemon which proved a bit finnicky and had the drawback that if something bad happened to the server I'd still lose the backup controller so the whole of Bacula was moved to the Raspberry Pi and the the BaculaPi has been running ever since, with the only change being swapping the DAT drive for a pair of USB hard drives and Ubuntu upgrades.
The ML110 had two NICs on the motherboard, a primary shared with the ILO feature than connected to the house network and a secondary that connected to the wifi and broadband router. The secondary NIC suddenly dropped to 100 MB, which looking back might have been at the same time I acquired a new WiFi bridge and a PoE adapter, but since this was only connecting to the broadband router it wasn't a major problem. Then the primary NIC failed completely and running both house, WiFi and internet on different VLANs on the single port wasn't so good. The server was retired and will likely get sold for parts at some point.
GeekLab v3
This time I cheated. With HP having decided to screw over their customers by charging for fixing their own bugs it meant having a good look around. I still wanted an ESXi based lab since Windows Server and Hyper-V is expensive. Intel were doing nicely with the NUC concept and there was a lot of good info about which machines were fully supported by VMware, which were not officially supported (not that I'd be buying a support contract but by using supported components you at least know you're in with a decent chance to get it working) and quite a few good write-ups of machines that it hadn't liked for one reason or another.
I was very seriously considering a built-your-own, but eventually settled on a Dell T440, running ESXi 7 on the basis of it will be more than sufficient not just for what I wanted as a GeekLab but also as an excellent starter server for a project I was considering with some former colleagues that would have required some serious compute to begin with. That never actually came to pass so I have some extremely capable hardware that rarely has to exert itself. It averages about 40% RAM utilisation and 2% on the CPU so definitely a bit over-specified.
Surprisingly Dell were very difficult to buy from. Apparently ordinary people, even geeks, don't buy server products only companies do and they would only talk to me if I used an email address from a "recognised workplace". But eventually it was all sorted, I ended up with everything they promised and some extra memory (possibly assisted by recordings of what their sales rep had really said). And probably the most over-packaged set of drive mounting screws ever.
This also needed a replacement UPS as apparently the "enterprise grade" power supply doesn't like the APU BackUPS 650 I had been using for the last two servers, which gave a stepped-sine AC output when the power failed which freaked out the Dell PSU causing it to shut down immediately. That took several calls to Dell support before they would admit they'd missed that from the documentation, which is a bit embarrasing since they were selling APC UPS devices. The server is currently connected to a Cyberpower unit that gives a proper sine wave AC output, or at least sufficiently clean for the Dell to be happy with.
The onsite support has been useful with a precautionary swap out of PSU and motherboard after it started making worrying sounds and constantly cycling the fan, but otherwise it's been a great little server.
Current workloads
So what am I using a GeekLab for? Well it varies depending on what I'm working on.
The "base load" of VMs is:
- Two Samba 4 domain controllers + DHCP servers
- Samba 4 file server
- Internal mail server running Postfix & Dovecot
- A Nextcloud server for calendar, webmail and deck
- A Mezzmo DLNA media server
- A proxy server
- Internal firewall (and potentially a web filtering proxy)
A test area as a duplicate so I can try things out without disrupting critical users, especially if it involves the domain.
A sandpit area with:
- Samba 4 domain + DHCP server
- Internal firewall
- Other servers are created as needed, e.g. Joomla and Nextcloud experiments, trying out major upgrades or reconfigurations before moving on to proper testing and deployment.
A Work area that enables:
- My work laptop and phone to reach the internet and printer but isolated from everything else.
- Dev servers created as needed for specific projects
A public area for any internet facing servers that currently only contains the reverse proxy
And separately there is a Raspberry Pi running Bacula for making sure I have a backups just in case something exciting happens, a VLAN switch, the UPS and of course a VDSL router.
Not a bad setup, and providing the magic smoke stays firmly contained inside the boxes then it should last a good while yet.
The intention is to explore the design decisions over a few articles and of course update changes as they happen from now on.