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.
-
Back up cluster metadata
Use the
mc admin config export,mc admin cluster bucket export, andmc admin cluster iam exportcommands 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_NAMEThe commands create the following files in the current folder:
File name Contents minio-prod-config.txtCluster configuration ALIAS_NAME-bucket-metadata.zipBucket metadata ALIAS_NAME-iam-info.zipIAM metadata Save all files to a secure location.
-
Download the AIStor binary
Download the latest stable AIStor binary for Linux. The command overwrites the existing
miniobinary at that path. Use the command appropriate for your host system CPU architecture. -
Replace the older binary on each node
Overwrite the existing binary in
/usr/local/binwith the downloaded AIStor binary, using root permissions if necessary.sudo mv -f ./minio /usr/local/bin/minioRepeat for all nodes in the cluster.
-
Restart the cluster
Use
mc admin service restartto 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_NAMEMonitor the status of the cluster using
journalctl -uf minio. Once all nodes reach healthy status, validate the upgrade version usingmc admin info. -
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.