Airgap Install
Air-gapped mode is required when deployment nodes cannot directly access the Internet.
In this mode, you will:
Host a private APT repository for Ubuntu dependencies.
Host a private APT repository for Ubuntu dependencies.
Download airctl artifacts from an Internet-connected system like a jump host and transfer them to your air-gapped environment.
After preparing these components, proceed to the airctl install to configure and deploy PCD using airctl.
Pre-requisites
For management plane host configuration, follow the pre-requisite section, except for package updates and OpenSSL installation. These steps will be covered later in this document.
NTP Configuration (Client-Side)
If NTP is not already configured on the client nodes, follow the steps below to point them to the NTP server.
Point node to the existing NTP server:
sudo mkdir -p /etc/systemd/timesyncd.conf.d echo "[Time] NTP=<ntp-server-ip-or-fqdn>" | sudo tee /etc/systemd/timesyncd.conf.d/custom.conf
#Restart service:
sudo systemctl restart systemd-timesyncd sudo systemctl enable systemd-timesyncd
#Verify Sync
timedatectl status timedatectl show-timesync --allSet Up Private APT Repository
Download sample scripts and package dependency list on the apt repo host.
download required packages on your repo hosts which should have internet connectivity.
Initialise the repository with the suitable options from the below.
Option 1 — HTTP (Insecure)
Initialise the Repository
Option 2 — HTTPS (Secure, Recommended)
Initialise with Self-Signed Cert
Or if you already have a cert/key:
Configure each pcd nodes with apt repo:
If self-signed, distribute and trust the CA:
Add apt repo on each PCD hosts including compute hosts.
Private Docker Registry Setup
Sample script to setup an Image Repository on a Node:
Run script setup_registry.sh to create docker registry, provide credentials when prompted.
Upload Images to Private Registry
Configure Docker to Trust the Private Registry
Prior to pushing container images, add the registry’s CA certificate to Docker’s trust store and restart the service:
push images using the recommended script push-images.sh
Install OpenSSL
On a server with internet access:
Copy to all nodes and install:
Expected output:
OpenSSL 3.0.7 1 Nov 2022 (Library: OpenSSL 3.0.7 1 Nov 2022)
Package Updates
Install cgroup-tools on each cluster nodes
Configure and Deploy PCD
Step 1: Download the Installer Script.
Run on a server with internet access:
Copy all fetched artifacts to one of the master nodes.
Step 2: Make the Installer Executable
Set the execute permissions on the installation script.
Step 3: Run the Installation Script
Execute the installer with the specified version. This runs the installer using the version number found in version.txt.
Step 4: Add airctl to System Path
Add airctl to the system path to use it globally by creating a symlink in /usr/bin folder.
Configure airctl
Run the following command to generate a configuration file, which will be used to deploy the Self-hosted Private Cloud Director management cluster.
You can choose between a single-master or multi-master management cluster, depending on your installation type (POC or production).
You have now completed the airgap–specific configuration. From this point onward, follow the standard steps after airctl configure as documented in the Install section.
Last updated
Was this helpful?
