Perform manual upgrades via the CLI
Manual upgrade mode lets you control CubeCOS upgrades directly through the command line. With this approach, you log in to nodes remotely and run system commands to manage the update process.
Use manual upgrade only if:
- One-click upgrades have failed
- You need precise control over specific nodes
- You're running CubeCOS version 3.0.0
If you're running CubeCOS version 3.1.0 or later, try the one-click upgrade first.
Prerequisitesβ
Before you start, review the prerequisites and upgrade workflow sections in the one-click upgrade guide.
Upload the firmware filesβ
Before you upgrade, verify your cluster health and upload the necessary files.
Check cluster healthβ
Before starting the upgrade, check the health status of your cluster to ensure all services are running properly.
-
Enter the cluster management mode.
cluster -
Check cluster health:
check -
Verify all services show
okstatus.
Verify all nodes are healthyβ
- Open the CubeCOS UI.
- Go to Home > Nodes.
- Confirm all nodes show a healthy status.
Upload firmware filesβ
-
From your local machine, upload the firmware and MD5 checksum files to the
/var/update/directory:scp <local-file-path> <your-username>@<your-cluster-ip>:/var/update/Replace:
<local-file-path>: Local path to the firmware or checksum file<your-username>: Your cluster username<your-cluster-ip>: Your cluster IP address
-
When prompted, enter your SSH password.
-
Repeat the upload operation for all hosts in the cluster.
Verify uploaded firmware filesβ
Before starting the upgrade, make sure that all the firmware files have been uploaded to each host in the cluster.
-
Enter the update management mode.
update -
List uploaded firmware images:
list -
When prompted, select
local. This option specifies the location of your uploaded files.
Install the firmwareβ
Install the firmware onto all the hosts in the cluster.
-
Enter the update management mode.
update -
Start the interactive install process.
update -
When prompted, select
local. This option specifies the location of your uploaded files. -
Select the image file that you want to install.
-
Enter
YESto confirm the installation. -
Wait for the installation process to return complete.
Migrate VMs before rebootβ
To ensure service continuity, migrate all virtual machines (VMs) from the node to other nodes before upgrading and rebooting.
A cluster upgrade can affect performance, so make sure you perform this task during a maintenance window.
Run the following command on the master node only.
-
Enter the IAAS management mode.
iaas -
Access compute management:
compute -
Evacuate VMs from the node:
upgrade_host_evacuation
Reboot the clusterβ
Firmware upgrades require a reboot.
Only a manual migration is required on the master node of the cluster. Subsequent hosts will automatically migrate VMs and reboot sequentially.
Run this command on the master node:
-
Start rolling reboot operation for the entire cluster by executing the following command on the master node.
reboot -
Once the master node has completed the bootstrap process, the second node automatically reboots.
-
Before the reboot, the VM is automatically migrated to other nodes. After the reboot, auto-bootstrap is triggered automatically.
-
This will be performed for all nodes in the cluster.
Verify the upgradeβ
After the upgrade, check the health status of your cluster to ensure all services are running properly.
-
Enter the cluster management mode.
cluster -
Check the health status of the cluster.
check -
Ensure that the health status is
OK. The following example shows the expected output:Service Status ReportIaasDb ok [ mysql(v) ]Baremetal ok [ ironic(v) ]K8SaaS ok [ rancher(v) ]ObjectStor ok [ swift(v) ]... # output abbreviated
Check firmware version on all nodesβ
After the upgrade, check the firmware version of each node matches the version you uploaded.
-
Enter the firmware management mode.
firmware -
Check the version on the active firmware partition.
list -
Ensure that the version of the active firmware matches the version you uploaded. The following example shows the expected output:
1: CUBE_3.1.0_20260203-2300_be0cb70 [ACTIVE]Firmware Version: Cube Appliance 3.1.0Installation Date: Feb 5, 2026 11:33:20 AMInstallation Type: Re-install USBLast Boot: Feb 5, 2026 11:46:38 AMComment:2: CUBE_3.1.0_20260203-2300_be0cb70Firmware Version: Cube Appliance 3.1.0Installation Date: Feb 5, 2026 11:35:05 AMInstallation Type: Re-install USBLast Boot: NeverComment:
Check all nodes after upgradeβ
Check the status of all nodes to ensure they are up and in a healthy state.
- Open CubeCOS UI.
- Navigate to Home > Nodes.
- Check the status of all nodes from the node list.
Check the status of all the VMsβ
Check the status of all VMs to ensure they are all active.
- Open skyline UI.
- Navigate to Home > Compute > Instances.
- Check the status of all VMs from the VM list.