mc admin service
Description
The mc admin service
command can restart or unfreeze MinIO servers.
mc admin service
affects all MinIO servers in the target deployment
at the same time. The command interrupts in-progress API operations on
the MinIO deployment. Use caution when issuing this command to a deployment.
Use mc admin
on MinIO Deployments Only
MinIO does not support using mc admin
commands with other
S3-compatible services, regardless of their claimed compatibility with MinIO
deployments.
Examples
Restart MinIO Servers in Target Deployment
The following example uses the default myminio
alias. The myminio
alias points to a local minio
server running on port 9000
. See
<installation instructions> for more information on installing and running
a local minio
server instance.
See mc alias
for more information on aliases.
mc admin service restart myminio
Resume S3 Calls on a Target Deployment
The following example uses the default myminio
alias. The myminio
alias points to a local minio
server running on port 9000
. See
<installation instructions> for more information on installing and running
a local minio
server instance.
See mc alias
for more information on aliases.
mc admin service unfreeze myminio
Syntax
mc admin service
has the following syntax:
mc admin service COMMAND [ARGUMENTS]
mc admin service
supports the following commands:
- restart
Restarts MinIO servers. If needed, the command may suggest restarting the node based on the status.
mc admin service restart
has the following syntax:mc admin service restart ALIAS
Specify the
alias
of a configured MinIO deployment.restart
restarts all MinIO servers in the deployment.
- unfreeze
Restart S3 API calls on a MinIO cluster.
mc admin service unfreeze
has the following syntax:mc admin service unfreeze ALIAS
Specify the
alias
of a configured MinIO deployment.