Controller Node

Controller Node

Verify Requirements

Check the operating system

Currently we only support Ubuntu 20.04.5 LTS. Verify the operating system by

Check disk space

Here, we see that there is more than 20GB free in the root file system.

Check available memory

We see that total memory is more than 8G.

Set up Linux users and permissions

We need somewhere to run the tools, and an account to run them as. We recommend not using the root account to do so. Ensure you have a non-root user account, with paswordless sudo configured. We will refer to this account as deploy-user, and their group as deploy-group. Replace these with your own values.

How to make the user expeca use sudo without password. Add it to the very last line.

Ensure permissions and groups

Log out and back in to refresh group membership, then verify.

Set directory permissions

For this example, we'll be putting files into /opt/, so we need to ensure that it can be read and written by members of deploy-group

Install dependencies

Now we need to install some dependencies, then check out and set up chi-in-a-box

Configure networking

Apart from the management interface, there are 2 ethernet ports available on the controller machine, simillar to the figure, we create 4 virtual interfaces with 2 bridges.

Create the file /etc/systemd/network/20-veth-internal.netdev and insert:

Create the file /etc/systemd/network/20-veth-public.netdev and insert

Create the virtual interfaces by restarting networkd

Assume MGMT_IF is the reserved interface with the static ip MGMT_IP and the gateway MGMT_GW_IP for ssh connection to the controller. Configure netplan by editing the config file /etc/netplan/00-installer-config.yaml:

Apply the changes by running sudo netplan generate && sudo netplan apply.

Last updated