Title
Create new category
Edit page index title
Edit category
Edit link
lbcli Upgrade Server/Cluster
The upgrade can be run on live systems. You can upgrade the Lightbits version by using the lbcli tool. You can upgrade the servers one by one with the lbcli upgrade server command, or the entire cluster at once with the lbcli upgrade cluster command.
During a server upgrade, the server will reboot once to complete the upgrade (only when needed) and properly boot into the new version. During a cluster upgrade, the servers will upgrade one by one, and reboot at separate times to maintain volume connectivity.
This mandates that the cluster be healthy prior to the start of the upgrade operation. As a result, the cluster is ensured to be healthy before continuing with the next server upgrade.
Starting from Lightbits version 3.6.1, there will be no server reboots. For additional information, see the Lightbits Release Notes.
lbcli Upgrade Server
Get the cluster status.
Before running the lbcli upgrade command, test the repo-uri with wget and append
.rpmto make sure it is reachable. For example:wget <repo-uri>.rpm.
Sample Output
Check the status of the nodes (all nodes must be in Active state):
Sample Output
Check the status of the servers (all nodes must be in Enabled state):
Sample Output
Upgrade Server from Remote Repo
Run the upgrade command:
When issuing commands, a number of checks are run, and an error is returned if any of the following occurs:
Lightbits cannot perform an upgrade from the current version to a specified version.
The cluster is not healthy, and the upgrade operation causes a risk of loss of service.
Additional checks will be run in the background at a later stage of the upgrade operation execution. If any of these checks fail and the upgrade operation is failed or skipped, a detailed error will be returned via an event.
To monitor for the completion of the upgrade operation, either poll list servers and check for the change in the server version, or poll list events.
The cluster is healthy, but some volumes will not be fully protected (this will block the upgrade).
Yum is locked.
Example
Example
Until the end of the upgrade process, the server will be in a disable state and with SourceOfRiskOfServiceLoss warning, and the node will be in an Inactive state.
The upgrade should take 10-40 minutes to complete. It is composed of a few stages that could vary in time from system to system. Fetch the RPMs from the specified repository, reboot (when needed) the time of the server, and power up the time of the Lightbits node.
Some servers may enter a state of InRiskOfServiceLoss (in clusters of three nodes, all other servers will be InRiskOfServiceLoss. In larger clusters it may only affect some of the other servers).
The upgrade operation will run in the background. The output of this command is {} in case it passes initial checks. You should then wait and poll until the server is up, the version has updated to the desired one, and the server's nodes are in Active state.
Upgrading a single-server cluster is supported only through the
upgrade servercommand and not via theupgrade clustercommand.
Upgrade Server from File
On each server in the cluster, copy the Lightbits RPM files to an empty folder on the local server - the repo directory.
Then run: createrepo (path of the folder).
Note that this command will create a "repodata" directory that contains metadata. The RPM files must sit alongside the "repodata" directory and not within a sub-directory. If there are updates inside of the repo directory, rerun the full createrepo command to update the metadata within the repodata.
Example
Run the upgrade command:
Example
Until the end of the upgrade process, the server will be in a disable state and with SourceOfRiskOfServiceLoss warning, and the node will be in an Inactive state.
The upgrade should take 10-40 minutes to complete. It is composed of a few stages that could vary in time from system to system. Fetch the RPMs from the specified repository, reboot (when needed) the time of the server, and power up the time of the Lightbits node.
Some servers may enter a state of InRiskOfServiceLoss (in clusters of three nodes, all other servers will be InRiskOfServiceLoss. In larger clusters it may only affect some of the other servers).
The upgrade operation will run in the background. The output of this command is {} in case it passes initial checks. You should then wait and poll until the server is up, the version has updated to the desired one, and the server's nodes are in Active state.
When the upgrade is complete, check the status of the cluster, servers, and nodes.
Sample Output
lbcli Upgrade Cluster
Run the upgrade command:
Before running the lbcli upgrade command, test the repo-uri with wget and append .rpm to make sure it is reachable. For example: https://dl.lightbitslabs.com/<YOUR_TOKEN>/lightos-3-17-1-rhl-8/rpm/el/7/x86-64/lightos-3.17.1b19460224059-1.el8.x86_ 64.rpm
Example
Until the end of the upgrade process, the server will be in a disable state and with a SourceOfRiskOfServiceLoss warning - and the node will be in an Inactive state.
The upgrade should take 10-40 minutes to complete. It is composed of a few stages that could vary in time from system to system. Fetch the RPMs from the specified repository, reboot (when needed) the time of the server, and power up the time of the Lightbits node.
Some servers may enter a state of InRiskOfServiceLoss (in clusters of three nodes, all other servers will be InRiskOfServiceLoss. In larger clusters it may only affect some of the other servers).
The upgrade operation will run in the background. The output of this command is {} in case it passes initial checks. You should then wait and poll until the server is up, the version has updated to the desired one, and the server's nodes are in Active state.
When the upgrade is complete, check the status of the cluster, servers, and nodes.
Sample Output
Before running the upgrade command, you can test the repo with wget: Example: wget https://dl.lightbitslabs.com/<YOUR_TOKEN>/lightos-3-17-1-rhl-8/rpm/el/7/x86-_64/lightos-3.17.1b19460224059-1.el8.x86_64.rpm
Step 3
Move on to the next server.
Tracking Upgrade Status
To track upgrade status, use lbcli list upgrade status.
© 2026 Lightbits Labs™