Post-Installation Steps

After a successful Lightbits cluster installation, perform the following steps.

Back Up Important Content

Back up the following contents to a secure location. This will be useful if another node is added in the future or other troubleshooting is required.

  1. Back up the ~/light-app directory and all of its contents. The contents of the Ansible directory will be helpful in the future if there is a need to add servers or check over how a previous installation was done.
  2. Back up the generated JWTs. Back up the system-jwt and the default project jwt. By default they are placed in the home directory: ~/lightos-system-jwt and ~/lightos-default-admin-jwt.
  3. Back up the generated certificates. By default these are placed in ~/lightos-certificates.

Check Cluster Health

  1. Copy the contents of the system jwt file ~/lightos-system-jwt into the clipboard.

From the Ansible host, run cat ~/lightos-system-jwt; echo;. Note that we add the last echo to generate a new line at the end, so that it is easy to determine where the JWT ends.

The contents will be similar to this:

Bash
Copy

The contents of a JWT are long and all are on a single line.

  1. Log in to any Lightbits server and paste the contents into the shell. The JWT will now be available via the $LIGHTOS_JWT environment variable.
  2. Check the state of the servers, nodes, and cluster.

The servers look healthy as they all state "NoRiskOfServiceLoss":

Bash
Copy

The nodes also look healthy, as they all state to be "Active":

Bash
Copy

Also check that the cluster health state is ok:

Bash
Copy

At this point the cluster's health has been confirmed at the node, server, and cluster level.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard