Upgrade WEKA versions

Upgrade your WEKA system with the latest version.

WEKA release model

WEKA operates a dual-track release model with two types of versions: Innovation releases and Long-Term Support (LTS) releases.

  • Innovation releases deliver new features and enhancements frequently, providing early access to cutting-edge functionality.

  • LTS releases focus on stability and reliability.

Each release in get.weka.io is tagged as either Innovation or LTS.

Software versions

WEKA uses a structured versioning scheme to indicate the scope and type of changes introduced in each release. This helps users quickly identify whether a release includes major new features, minor improvements, or incremental fixes.

  • Major version: The major version represents substantial changes, such as new features, architectural updates, or significant enhancements.

    • Defined by the first two numbers in the version string.

    • Example: In 4.4.9, the major version is 4.4.

  • Minor version: The minor version reflects smaller updates, such as bug fixes, performance improvements, or minor feature additions.

    • Defined by the third number in the version string.

    • Example: In 4.4.9, the minor version is 9.

  • Build number: The build number (fourth component, if present) identifies incremental builds.

    • Used for hotfixes or release candidates that address specific issues without altering core functionality.

    • Example: In 4.4.9.130, the build number is 130.

Version compatibility guidelines

  • Upgrade direction: Upgrades must always progress from older to newer versions.

  • Compatibility basis: Compatibility is determined by the release date of the target version relative to the source version.

  • Major version upgrades: Upgrades must follow consecutive order (for example, 4.2 → 4.3). LTS releases upgrade to Innovation, and Innovation releases upgrade to the next LTS.

  • LTS upgrades: Clusters and clients can be upgraded between consecutive LTS releases (for example, 4.2.6 and above may be upgraded to the latest minor release of 4.4).

  • Client upgrades: Clients are supported if they are at most one major version behind the backend. In multi-hop upgrades, such as from 4.2 to 4.4 to 5.0, clients must be upgraded before the cluster to maintain compatibility.

  • SCMC deployments: The client-target-version parameter must be identical across all clusters and compatible with the target backend upgrade. See Mount filesystems from Single Client to Multiple Clusters (SCMC).

  • Reference information: For detailed source-to-target support per release, refer to the upgrade section at get.weka.io.

Upgrade examples

Target version: 5.0.1.101

Supported upgrades

4.4.6.122 → 5.0.1.101    Maximum supported version
                         (released: May 15, 2025 → June 16, 2025)
4.4.6.114 → 5.0.1.101    Supported intermediate version
4.4.6     → 5.0.1.101    Minimum supported version

Unsupported upgrades

4.4.8.53  → 5.0.1.101     Version not in supported range
4.4.7.89  → 5.0.1.101     Version not in supported range 
                          (released after 5.0.1 code freeze)
4.4.4     → 5.0.1.101     Version not in supported range
4.4.3     → 5.0.1.101     Version not in supported range
Releases example on get.weka.io
Target version: 4.4.9.130

4.4.9.130 was release on August 20, 2025. The minimum required version to upgrade from is 4.2.1.

What is a non-disruptive upgrade (NDU)

In MCB architecture, each container serves a single type of process, drive, frontend, or compute function. Therefore, upgrading one container at a time (rolling upgrade) is possible while the remaining containers continue serving the clients.

Some background tasks, such as snapshot uploads or downloads, must be postponed or aborted. See the prerequisites in the upgrade workflow for details.

Internal upgrade process

Once you run the upgrade command in ndu mode, the following occurs:

  1. Downloading the version and preparing all backend servers.

  2. Rolling upgrade of the drive containers.

  3. Rolling upgrade of the compute containers.

  4. Rolling upgrade of the frontend configured with backend mode and protocol containers (including frontend and protocol containers hosted on a dedicated protocol server).

To review the frontend containers that will be upgraded, check their configuration mode by running the following command: $ weka cluster process --role frontend -o containerId,hostname,mode

Example output:

CONTAINER ID HOSTNAME MODE 10 DataSphere-1 backend 13 DataSphere-2 backend 14 DataSphere-3 backend 16 DataSphere-6 client

NDU process at a glance

Related topics

WEKA containers architecture overview

Upgrade workflow

1. Verify system upgrade prerequisites

Ensure the environment meets the necessary prerequisites before proceeding with any system upgrade. The WEKA Upgrade Checker Tool automates these essential checks, comprehensively assessing the system’s readiness. Whether performing a single-version upgrade or a multi-hop upgrade, following this procedure is mandatory.

Summary of the WEKA Upgrade Checker Tool results:

  1. Passed checks (Green): The system meets all prerequisites for the upgrade.

  2. Warnings (Yellow): Address promptly to resolve potential issues.

  3. Failures (Red): Do not proceed; they may lead to data loss.

Sample list of the verification steps performed by the WEKA Upgrade Checker Tool

Multi-hop version upgrades:

After completing an upgrade, a background process initiates the conversion of metadata to a new format (in specific versions). This conversion may take several minutes before another upgrade can commence. To monitor the progress, use the weka status CLI command and check if a data upgrade task is RUNNING.

By diligently following this system readiness validation procedure, you can confidently proceed with system upgrades, minimizing risks and ensuring a smooth upgrade.

Demo: WEKA Upgrade Checker
  • Prioritize running the WEKA Upgrade Checker 24 hours before any scheduled upgrades. This step is critical to identify and address any potential issues proactively.

  • Ensure passwordless SSH access is set up on all backend servers. This is crucial for the seamless execution of the Python script while running the WEKA Upgrade Checker.

Procedure

  1. Log in to one of the backend servers as a root user:

    • Access the server using the appropriate credentials.

  2. Obtain the WEKA Upgrade Checker: Choose one of the following methods:

    • Method A: Direct download

      • Clone the WEKA Upgrade Checker GIT repository with the command: git clone https://github.com/weka/tools.git

    • Method B: Update from existing tools repository

      • If you have previously downloaded the tools repository, navigate to the tools directory.

      • Run git pull to update the tools repository with the latest enhancements. (The WEKA tools, including the WEKA Upgrade Checker, continuously evolve.)

  3. Run the WEKA Upgrade Checker: Navigate to the weka_upgrade_checker directory. It includes a binary version and a Python script of the tool. A minimum of Python 3.8 is required if you run the Python script.

    • Run the Python script:

      python3.8 ./weka_upgrade_checker.py --target-version <version>

    Or

    • Run the Python precompiled script: ./weka_upgrade_checker --target-version <version>

    Replace <version> with your target version. For example 4.4.4. The tool scans the backend servers and verifies the upgrade prerequisites.

  4. Review the results:

    • Pay attention to the following indicators:

      • Green: Passed checks. Ensure the tool's version is the latest.

      • Yellow: Warnings that require attention and remedy.

      • Red: Failed checks. If any exist, do not proceed. Contact the Customer Success Team.

  5. Send the log file to the Customer Success Team:

    • The weka_upgrade_checker.log is located in the same directory where you ran the tool. Share the latest log file with the Customer Success Team for further analysis.

2. Prepare the cluster for upgrade

Download the new WEKA version to one of the backend servers using one of the following methods depending on the cluster deployment:

  • Method A: Using a distribution server

  • Method B: Direct download and install from get.weka.io

  • Method C: If the connectivity to get.weka.io is limited

For details, select the relevant tab.

Use this method if the cluster environment includes a distribution server from which the target WEKA version can be downloaded.

If the distribution server contains the target WEKA version, run the following commands from the cluster backend server:

weka version get <version>
weka version prepare <version>

Where: <version> is the target WEKA version, for example: 4.4.0.

If the distribution server does not contain the target WEKA version, add the option --from to the command, and specify the get.weka.io distribution site, along with the token.

Example:

weka version get <version> --from https://[GET.WEKA.IO-TOKEN]@get.weka.io
weka version prepare <version>

3. Prepare the backend servers for upgrade (optional)

When working with many backend servers, preparing them separately from the upgrade process in advance is possible to minimize the total upgrade time. For a small number of backend servers, this step is not required.

The preparation phase prepares all the connected backend servers for the upgrade, which includes downloading the new version and getting it ready to be applied.

Once the new version is downloaded to one of the backend servers, run the following CLI command:

weka local run --container drives0 --in <new-version> upgrade --prepare-only

Where:

<new-version>: Specify the new version. For example,4.4.1.

4. Upgrade the backend servers

Once a new software version is installed on one of the backend servers, upgrade the entire cluster backend servers to the new version by running the following command on the backend server.

If you already ran the preparation step, the upgrade command skips the download and preparation operations.

weka local run --container drives0 --in <new-version> upgrade

Consider the following guidelines:

  • Before switching the cluster to the new software release, the upgrade command distributes the new release to all cluster servers. It makes the necessary preparations, such as compiling the new wekafs driver.

  • If a failure occurs during the preparation, such as a disconnection of a server or failure to build a driver, the upgrade process stops, and a summary message indicates the problematic server.

  • If cleanup issues occur during a specific upgrade phase, rerun it with the relevant option:

    --ndu-drives-phase
    --ndu-frontends-phase
    --ndu-computes-phase
  • If the container running the upgrade process uses a port other than the default (14000), include the option --mgmt-port <existing-port> to the command.

5. Verify LLQ and WC are enabled in AWS

Enabling the Low Latency Queue (LLQ) improves data processing efficiency in AWS by reducing I/O operation delays. LLQ is enabled by default after an upgrade, but if Write Combining (WC) is not activated in the igb_uio driver, the LLQ driver option does not function. After upgrading the backends, verify that WC is enabled.

Procedure

  1. Check for upgrade events:

    • Review the upgrade events on the backends.

    • If NetDevDriverReloadFailed appears, restart the WEKA service by running the following commands on each backend server:

      weka local stop
      weka local start
  2. Verify WC activation:

    • Check if WC is activated by running:

      cat /sys/module/igb_uio/parameters/wc_activate
    • If the output is #1, WC is activated, which enables the LLQ driver option.

6. Upgrade the clients

After all backend components have been upgraded, clients continue operating with their existing version and can interact with the upgraded backends. For version compatibility guidelines, see Version compatibility guidelines.

Stateless client upgrade options

  • If a stateless client is mounted on a single cluster, it is automatically upgraded to the backend version after rebooting, or a complete umount and mount is performed.

  • If a stateless client is mounted on multiple clusters, the client container version is the same as the client-target-version in the cluster (see Mount filesystems from multiple clusters on a single client).

  • Stateless clients can also be upgraded manually.

  • Use the --client-only flag in the weka version get command to ensure that only the essential components relevant to the stateless client operation are downloaded, excluding non-relevant packages.

  • To limit the display of versions unless the complete set of components is present, use the --full flag with the weka version command This provides you with finer control over version information visibility.

  • You can manually upgrade the clients locally (one by one) or remotely (in batches), usually during a maintenance window.

Persistent client upgrade options

  • Clients can be upgraded manually. This can be done either locally on each client individually or remotely in batches. This process typically occurs during a scheduled maintenance window.

  • An upgrade is performed on a gateway, which is a persistent client that runs a specific protocol. This gateway is associated with containers with the allow_protocols parameter set to true. The upgrade process involves interaction with backend servers.

Client upgrade procedures

To upgrade a stateless or persistent client locally, connect to the client and run the following command line:

  1. Run: weka version get <target-version> --from <backend name or IP>:<port>

  2. Upgrade the agent by running the following (replace the x with the latest minor version): weka version set --agent-only 4.4.x

  3. Upgrade the client containers. Do one the following following:

    • For clients connected to a single cluster, run weka local upgrade

    • For clients connected to a multiple clusters, upgrade all containers simultaneously by running weka local upgrade --all

An alert is raised if there is a mismatch between the clients' and the cluster versions.

Add the --from <backend name or IP> option to download the client package only from the backend, thus avoiding downloading from get.weka.io. The default port is 14000.

7. Check the status after the upgrade

Once the upgrade is complete, verify that the cluster is in the new version by running the weka status command.

Example: The following is returned when the system is upgraded to version 5.0.1:

# weka status
Weka v5.0.1
...

Last updated