mc admin update
Description
The mc admin update command updates all AIStor servers in the deployment.
The command also supports using a private mirror server for environments where the deployment does not have public internet access.
After running the command, a prompt displays to confirm the update.
Type y and [ENTER] to confirm and proceed with the update.
The user must have write permissions for the target location where the binary installs.
minio binary installation path and do not rely on systemctl, DEB, or RPM packages.
Syntax
mc admin update supports the following arguments:
ALIAS
The alias of the AIStor deployment to update.
If the specified ALIAS corresponds to a distributed AIStor deployment, mc admin update updates all AIStor servers in the deployment at the same time.
Use mc alias list to review the configured aliases and their corresponding AIStor deployment endpoints.
MIRROR_URL
The mirror URL of the minio server binary to use for updating AIStor servers in the ALIAS deployment.
--yes
Alias: -y
Optional
Pass this flag to confirm the update and bypass the confirmation prompt.
Behavior
Updates are Non-Disruptive
mc admin update updates the binary and restarts all AIStor servers in the deployment simultaneously.
AIStor operations are atomic and strictly consistent and as such the restart process is non-disruptive to applications.
MinIO strongly recommends only performing simultaneous upgrade-and-restart procedures. Do not perform “rolling” (that is, one node at a time) upgrade procedures.
Permissions
The user running the command must have write permissions to the target path where the AIStor Server binary installs.