Upgrade from MinIO Community Edition on Linux

Use the steps in this document to upgrade a cluster on Linux from MinIO Community Edition clusters (AGPL3.0) to AIStor.

Considerations

Upgrading from MinIO Community Edition to AIStor is permanent and cannot be reversed. Once upgraded, the cluster cannot be reverted to MinIO Community Edition.

Upgrading to AIStor on Linux requires minimal downtime for binary replacement and restart. Recent versions of AIStor support storing the license directly in the object store, eliminating the need to configure license files on each host.

Upgrade Procedure

Review the Before you begin section prior to starting the upgrade procedure.

  1. Back up cluster metadata

    Use the mc admin config export, mc admin cluster bucket export, and mc admin cluster iam export commands to take a snapshot of the cluster configurations:

    mc admin config export ALIAS_NAME > minio-prod-config.txt
    mc admin cluster bucket export ALIAS_NAME
    mc admin cluster iam export ALIAS_NAME
    

    The commands create the following files in the current folder:

    File name Contents
    minio-prod-config.txt Cluster configuration
    ALIAS_NAME-bucket-metadata.zip Bucket metadata
    ALIAS_NAME-iam-info.zip IAM metadata

    Save all files to a secure location.

  2. Download the AIStor binary

    Download the latest stable AIStor binary for Linux. The command overwrites the existing minio binary at that path. Use the command appropriate for your host system CPU architecture.

  3. Replace the older binary on each node

    Overwrite the existing binary in /usr/local/bin with the downloaded AIStor binary, using root permissions if necessary.

    sudo mv -f ./minio /usr/local/bin/minio
    

    Repeat for all nodes in the cluster.

  4. Restart the cluster

    Use mc admin service restart to restart all nodes in the cluster simultaneously. Rolling or one-at-a-time restarts may produce undesired behavior as nodes start up with incompatible binaries.

    mc admin service restart ALIAS_NAME
    

    Monitor the status of the cluster using journalctl -uf minio. Once all nodes reach healthy status, validate the upgrade version using mc admin info.

  5. Register the license

    Download your license from SUBNET or request a free tier license from the MinIO Pricing Page.

    Choose one of the following methods to register your license:

    If AIStor fails to start due to configuration issues, see AIStor fails to start after Linux upgrade for instructions on importing your backup configurations.