mc ready

The mc ready command checks the status of a cluster and whether the cluster has read and write quorum.

Parameters

TARGET

Required

The full path to the alias or prefix where the command should run.

--cluster-read

Optional

Checks if the cluster has enough quorum to serve READ requests.

--maintenance

Optional

Checks if the cluster can maintain read and write quorum if the node for the alias is taken down for maintenance.

Use an alias for the specific node you expect to take down for maintenance and not an alias set to a load balancer.

Global Flags

This command supports any of the global flags.

Examples

Check if the cluster has read quorum

The following command checks that a deployment has sufficient drives available for read operations.

mc read myminio --cluster-read

Check if a cluster is down for maintenance

The following command checks whether the cluster can maintain read and write quorum during maintenance when the node at alias myminio is taken down.

mc ready myminio --maintenance