Category Archives: Infrastructure

Uninterruptible Power

Cyberpower OR2000PFCRT2U - Uninterruptible Power
CyberPower Uninterruptable Power Supply (UPS)

Uninterruptible power for our network, servers, and storage is key to our Home Lab’s high-availability strategy.

Our Home uses residential power, so we experience frequent power interruptions. Here in New England, storms and wind events cause power outages lasting from a few seconds to as long as a week. As a result, we need a reliable, tiered power backup system to protect our equipment and keep our Home Lab online.

Power Architecture

We use a two-tiered power architecture. The first tier uses sine-wave Uninterruptable Power Supplies (UPSs) to protect our equipment from surges and provide a few minutes to maybe an hour of backup power.

Backup FunctionUPS DeviceLoad CapacityLocationNotes
Main Server and NAS Drives2 x CyberPower OR2200PFCRTU2 x 2000VA/1540WServer RackLoad shared power backup for Dell Server, NAS devices, and Ethernet Switch
Core Network EquipmentCyberPower PR3000LCDSL3000VA/2700WNetwork RackCovers Router/Firewall, Core Switches, and PoE Wired Devices
Office NAS and ComputersCyberPower OR2200PFCRTU2000VA/1540WOfficeCovers main file storage NAS, Office Ethernet Switch, and Computers

We have standardized CyberPower equipment for this tier.

Cyberpower OR2000PFCRT2U - Uninterruptible Power
Generac 20 KW Propane Power Generator

The second tier uses a Generac 20 KW whole-house generator. The generator system automatically kicks in about a minute after an extended power failure begins. Our generator and associated large propane tank can power our home, including our Home Lab and Amateur Radio Station, for 7 – 10 days. Our generator system includes automatic load heading devices for our air conditioner, range, hot tub, and other high-current devices to avoid overloading our generator.

Redundant Internet

A weak link in our power backup strategy is our Internet connection. Our modems are backed up by our two-tier power management system. We also have redundant connections to fiber- and cable-based ISPs to provide additional resilience in the face of wide-area power outages.

Power Monitoring and Managed Shutdown

We are using the Network UPS Tools software running on Raspberry Pi computers to manage our critical UPS devices. This software allows us to remotely monitor the operational condition of our UPS devices and enables our Storage Devices and Servers to sense conditions when a complete backup power loss is imminent and perform a controlled shutdown to protect themselves and the data that they store. You can find a summary of the available features here.

NUT Setup and Configuration

Raspberry Pi 4B NUT Server
Raspberry Pi 4B NUT Server

Each of our NUT Raspberry Pi devices is PoE-powered. They are built using the following components:

We have moved our NUT servers to a rack-mount solution. You can learn more about it here.

Software Components and Installation

We followed the process in the following video to install the software on each of our NUT Servers.


The software components required are as follows –

Automatic Shutdown

We configured automatic shutdown for our Servers and NAS devices using the following approaches –

The following table shows the overall configuration for out automatic shutdown setup –

DeviceMonitored UPS(s)DelayNotes
NAS-1, NAS-2NAS Upper UPS &
NAS Lower UPS
20 minUPS supports longer runtime on battery
NAS-3Server Lower UPS20 minUPS supports longer runtime on battery
NAS-4Server Upper UPS & Server Lower UPS20 minUPS supports longer runtime on battery
NAS-5Server Upper UPS20 minUPS supports longer runtime on battery
NAS-6Network UPS5 minEarly shutdown to conserve battery
NAS-7Network UPS12 minVM/LXC storage - must be longer that servers
PVE1 ServerServer Upper UPS & Server Lower UPS10 minShutdown before
NAS-7
PVE2 & PVE3 ServersNetwork UPS10 minShutdown before
NAS-7
NAS-11 (Pi NAS)NAS Upper UPSn/aNo NUT support
NAS-12 (Pi NAS)NAS Upper UPSn/aNo NUT support

Configuring Synology NASs

Configuring a Synology NAS device to use our NUT servers is straightforward once the NUT servers are properly configured to meet the interface Synology DSM expects.

Synology NA UPS Configuration
Synology NA UPS Configuration

Configuring Proxmox Servers

Steps to configure a Proxmox server to work with a NUT server is more complex. The basic steps are:

Ensure that email support is working on the server (we used Postfix to enable mail forwarding)

Install the NUT Client Package
apt-get install nut-client
Configure the NUT Client

# Edit the following files in /etc/nut

vi /etc/nut/nut.conf
vi /etc/nut/upsmon.conf
vi /etc/nut/upssched.conf

Create a custom shell script to process various UPS events. The script includes e-mail notifications and logging as is placed in the /etc/nut directory.

With these steps completed, we can restart the NUT client by rebooting the server.

Welcome To Our Home Lab

Home Network Dashboard
Home Network Dashboard

This site is dedicated to documenting the setup, features, and operation of our Home Lab. Our Home Lab consists of several different components and systems, including:

  • A high-performance home network
  • A storage system that utilizes multiple NAS devices
  • Multiple enterprise-grade servers in a high-availability cluster
  • Applications, services, and websites

Home Network

Home Network Core, High-Availability Storage and Secondary Server Rack
Home Network Core, High-Availability Storage, and Secondary Server Rack

Our Home Network uses a two-tiered structure with a core based upon high-speed 25 GbE capable aggregation switches and optically connected edge switches. We use Ubiquity UniFi equipment throughout. We have installed multiple OM4 multi-mode fiber links from the core to each room in our house. The speed of these links ranges from 1 Gbps to 25 Gbps, with most connections running as Dual-Fiber LACP LAG links.

We have redundant Internet connections which include 1 Gbps optical fiber and a 400 Mbps/12 Mbps cable modem service.

Out Network Rack also includes two SuperMicro Servers and a pair of Synology NAS drives in a high-availability configuration. These drives provide solid-state storage for Proxmox Virtual Machine disks and Docker volumes.

Main Server and Storage

Main Server Rack and NAS Storage Rack
Main Server Rack and NAS Storage Rack

Our Server Rack houses our main Dell Server and several of our Synology NAS Drives. It features redundant UPS power and includes rack-mounted Raspberry Pi systems which provide several different functions in our Home Lab.

Our servers run Proxmox in a high-availability configuration. In total, we have 104 CPUs and 1 TB of RAM available in our primary Proxmox cluster.

This rack includes an all SSD storage high-speed NAS that we use for video editing. It also includes a NAS which stores our video and audio media collection and provides access to this content throughout our home and on the go when we travel.

High Capacity Storage System

Main NAS Storage Rack
Main NAS Storage Rack

Our NAS Rack provides high-capacity storage via several Synology NAS Drives. It features redundant UPS power and includes additional rack-mounted Raspberry Pi systems which provide several different functions in our Home Lab. This rack also houses our Raspberry Pi NAS and NAS 2 systems.

Our total storage capacity is just over 1 Petabyte. Our setup also provides approximately 70 TB of high-speed solid-state storage.

Power Over Ethernet (PoE)

Main Power Over Ethernet (PoE) Switch

We make use of Power Over Ethernet (PoE) switches at many edge locations in our network to power devices through their ethernet cables.

The switch shown above is located centrally where all of the CAT6 ethernet connections in our home terminate. It powers our Surveillance Cameras, IP Telephones, Access Points, etc.

Home Media System

Our Home Theater
Our Home Theater

We use our Home Network and NAS System to provide a Home Media System. Our Media System sources content from streaming services as well as stored video and audio content store on our Media NAS drive and enables it to be viewed from any TV or Smart Device in our home. We can also view our content remotely when traveling or in our cars via the Internet.

Surveillance System

Synology Surveillance System
Synology Surveillance Station

We use Synology Surveillance Station running on one of our NAS drives to support a variety of IP cameras throughout our home. This software uses the host NAS drive for storing recordings and provides image recognition and other security features.

Telephone System

Telephone System Dashboard
Telephone System Dashboard

We use Ubiquity Unifi Talk to provide managed telephone service within our home.

Ubiquity IP Telephone

This system uses PoE-powered IP Telephones which we have installed throughout our home.

Applications, Services, and Websites

We are hosting several websites, including:

Set-up information for our self-hosted sites may be found here.