Ok, so you have your firewall and switch installed and configured! Great! You can add a cluster host to your SERVERS DMZ. Remember, Sovereign Stack is more than just a home node package, so get hardware with heft, especially if you're going to host more than one website.
Begin by connecting your new cluster host to the appropriate ACCESS port assigned to the SERVERS VLAN. It also helps have the power adapter plugged into an UPS for reliability.
Download Ubuntu Server
Insert the USB device into your new cluster host. Your goal is to boot into the USB media (the Ubuntu Server Installer). You may have to modify the boot priority of your cluster host to boot into the installation.
Install Ubuntu Server 22.04 (minimized)
Once you're at the installer interface, choose your preferred language and be sure to update the updater if possible. Select your keyboard layout and continue by installing Ubuntu Server (minimized). DO NOT download third-party drivers.
When you get to the Network connections menu in the installer, you MAY need to perform some additional steps in your DHCP and DNS servers (e.g., PFSense). Sovereign Stack works best when the network underlay is stable.
You need to create a DHCP reservation for each new physical cluster host. After that, you need to static DNS host entries for the host. Something like
If your network connection(s) aren't getting the correct IP assignments during the installer, you may need to check that DHCP reservation and DNS are configured correctly. Conveniently, the Ubuntu installer displays your network adapter's MAC addresses.
During the installation, you may be asked to configure proxy or mirror servers. Just leave that at default for now.
Disks / Formatting
How you format all depends how many SSD/nVMEs you have on your system.
If you have TWO independent SSDs in your system, dedicate the entire second SSD to Sovereign Stack. 1Tb minimum is recommended.
If you have just one SSD, you carve it up into two partitions. Typically this means you have your
/ and boot partitions residing on around
~50 GB of disk space, and the remainder of the disk is an UNFORMATTED partition dedicated to Sovereign Stack.
So, in the Ubuntu installer, choose
Custom storage layout and complete the following steps:
- Remove all existing partitions and start with a unallocated disks. Do this by running the "Reformat" option on each disk.
- Then, under the
free spaceoption, select
Add a GPT Partition.
- The first partition is for boot and
/data. So the first partition size should be at least
50Gand formatted as
ext4with a mount point of
/. Note, this step will also create a
~1 GBfat32 partition for the bootloader partition. Click
Doneand you wiull see your
/boot/efipartitionsl listed at the top.
- Go back to
free spaceand create a new unformatted partition on the remaining space by select
free space -> Add GPT Partition. The
Sizeshould be set to the max value shown. Remember to leave the partition
Createand then press enter.
- Go down to
Doneand press enter. Read the warning and if you're ok with it, select
Continueand press enter.
Complete the installer by entering
ubuntu for the username. Also give the cluster host its name. This should the server name that was specified in your DNS settings for the cluster host.
Provide a unique and sufficiently complex password for the
ubuntu user and store it in your password manager.
Sovereign Stack only requires that you install OpenSSH server as your last step. This is important! This is how Sovereign Stack scripts manage your Linux cluster host!
Proceed with the installation. When complete, select
When directed, remove the USB installation media, then press enter.
Cool, your management machine can easily ssh into your new bare-metal cluster host! The system is configured to start automatically since it does NOT require a full-disk-encryption password. The system boots to Ubuntu Server 22.04.01 and is listening on the network on port 22, SSH. Sweet! You're ready to focus on provisioning your management machine!