Before upgrading your cluster, ensure the following:
All backend hosts are online.
Any rebuild has been completed.
The WekaIO upgrade process supports upgrading to both higher minor versions and major versions of the WekaIO software.
When upgrading to a major version, always upgrade to the latest minor version in the new major version. This may require first upgrading to a specific minor version in the current software version, as follows:
To upgrade to WekaIO software version 3.4.x, go through version 3.3.1 or above.
To upgrade to WekaIO software version 3.3.x, go through version 3.2.1 or above.
To upgrade to WekaIO software version 3.2.x, go through version 22.214.171.124 or above.
For further information, contact the WekaIO Support Team.
Download the new release on one of the backend hosts, as follows:
SSH into one of the backend hosts of the cluster.
Go to https://get.weka.io and navigate to the release to be downloaded.
wget command line on the backend host.
Untar the downloaded package.
install.sh script of the new release.
Once the new release is installed on one of the backend hosts, the cluster has to be upgraded to the new release. This is performed by running the following command on the backend host:
weka local run --in <new-version> upgrade --mode one-shot
<new-version> is the name of the new version downloaded from get.weka.io, e.g.,
Before switching the cluster to the new release, the upgrade command will distribute the new release to all cluster hosts and make any necessary preparations, such as compiling the new
wekafs driver. If any failure occurs during the preparations, such as disconnection of a host or failure to build a driver, the upgrade process will stop and an error will be received indicating the problematic host.
If everything goes to plan, the upgrade will stop the cluster IO service, switch all hosts to the new release and then turn the IO service back on. This takes about 1 minute, depending on the size of the cluster.
Once the upgrade is complete, verify that the cluster is in the new version by running the
weka status command.