My Homelab

Note: This page makes gratuitous use of ASCII diagrams. Consider yourself warned!

Home Network

My small office / home office (SOHO) network is pretty complex. It’s more SO that HO, in fact, and spans the entirety of the home with Ethernet switches and multiple WiFi access points.

Network Diagram:

   + +   + ++
  +    +     +
+  INTERNET   +
  +   +  + + +
    +  +  +
       |
       |              +----------+
 +-----+-----+  +-----+ VOIP Box |
 |   Cable   |  |     +----------+
 |   Modem   |  |
 +-----+-----+  |     +----------+
       |        +-----+ rpi/kodi |
       |        |     +----------+
 +-----+-----+  |
 |GW Router &|  |
 |Wifi AP #1 |  |  +---------+   +---------+
 +-----+-+---+  |  | Mythbox |   |HDHomerun|
       | +------+  +----+----+   +---+-----+
       |                |            |      +--------+
 +-----+-----+          +--+  +------+   +--+ Kodi / |
 | Switch #1 +--+          |  |          |  |  XBMC  |
 |           |  |       +--+--+------+---+  +--------+
 +-----+-----+  +-------+ Switch #2  |
       |                |            |   +----------+
       |                +------------+---+Wifi AP #2|
 +-----+-----+                           +----------+
 | Switch #3 |
 |           +-------------+
 +-----+-----+             |
       |             +-----+-------+
 +-----+-----+       |Raspberry Pi |
 | Wifi AP   |       |  Gateway    |
 |    #3     |       +-----+-------+
 +-----------+             |
                           |
                           |
                           |
 +-----------+       +-----+-------+
 |   pliny   |       |  Switch #4  |
 |           +-------+             +------+
 +-----------+       +--+----+-----+      |
                        |    |            |
                +-------+    |         +--+-------+
 +-----------+  |            |         |old+caesar|
 |  augustus |  |   +--------+--+      | [offline]|
 |           +--+   | Lenovo PC |      +----------+
 +-----------+      |  [unused] |
                    +-----------+


LackRack Cluster

I made use of 3 IKEA Lack tables for my “lackrack” – these cheap ($9.99) tables are the perfect dimensions for 19″ rackmount equipment. Adding a few casters ($7.99) from IKEA produces a nice two-tiered mobile unit, for under $50 incl. tax.

Some Photos:

Cluster Diagram:

 
  +--------------------------------------+
  |--------------------------------------|
  |-|                                  |-|
  |-|                                  |-|
  |-|                                  |-|
  |-|                                  |-|
  |-|    +------------------------+    |-|
  |-|    |         pliny          |    |-| 
  |-|   +--------------------------+   |-|     
  |-|   |        old-caesar        |   |-|
  |-|   +--------------------------+   |-|
  |-|   |                          |   |-|
  |-|   |        caligula          |   |-|
  |-|   |                          |   |-|
  |--------------------------------------|
  |--------------------------------------|
  |-|    |     ethernet switch     |   |-|
  |-|    +--------------------------+  |-|
  |-|      |                        |  |-|
  |-|      |                        |  |-|
  |-|      |                        |  |-|
  |-|      |        augustus        |  |-|
  |-|      |                        |  |-|
  |-|      |     Linux Container    |  |-|
  |-|      |        & VM Host       |  |-|
  |--------+                        |  |-|
  |-| rpi  |                        |  |-|
  |-|      |                        |  |-|
  |--------------------------------------|
  +--------------------------------------+
   | |                               | |
   +-+                               +-+

Cluster

From top to bottom:

  • pliny : 1996 Dell XPi P75D Laptop – runs NetBSD 7.0; hosts a small website here. Original 75Mhz Pentium / 12MB ram / 512MB HDD.
  • old-caesar: 2009 Acer 4736z Laptop – runs NetBSD 7.0.2, currently offline. Pentium T4200 / 3GB ram / 320GB HDD. Used to power this website until stability issues (hardware?) forced me virtualize this site.
  • caligula: a 2009 Lenovo M58 SFF desktop. Core2Duo E8400 / 2GB ram / 640GB HDD. Runs Ubuntu 16.04; currently offline since I don’t have a use for another power-hungry PC.
  • switch: An old Dlink 24-port 10/100mbit switch. Unmanaged. Given to me as a gift, along with another such switch. I don’t have any need for faster switches.
  • augustus: Self-built custom PC/Server. Thermaltake V21 chassis; big fans keep it cool while being very quiet. Intel i5-4460 / EVGA GTX750Ti / 16GB ram + 32GB zram / 120GB SSD + 3TB HDD for VMs.  Runs Ubuntu 16.04.  I use LXC containers for when GPU access is required; VirtualBox for all other VMs. Hosts caesar, the NetBSD VM which runs this site.
  • rpi: Raspberry Pi Model B, 512MB version – runs NetBSD 7.99. Used as the gateway firewall (using NPF), with DHCP and BIND9 for the cluster.  Uses a USB ethernet dongle for the 2nd connection. Good for about 30mbps, which is more than enough for X11/RDP and handling traffic to my server.

Power Consumption

I am a power-monitoring freak. I keep tabs on all my computers with my trusty P3 Kill-A-Watt monitor.

Item Power Consumption
pliny 10W screen off / 15W screen on
old-caesar 11W min / 13W avg / 17W max
caligula 45W idle / 65W peak
ethernet switch 4-5W
augustus GPU Installed: 40W avg / 110W max
GPU Removed: 30W avg / 70W max
rpi 2-3W
Cluster Total 65W avg / 135W max  [as of 2017/02/10]