mc table replicate failover
The mc table replicate failover command starts failover and promotion on a replica site.
Run this command against a replica when the primary site becomes unavailable and you want to promote the replica to accept write traffic. The command signals the catalog scanner to complete its current cycle at full speed, after which the site stops behaving as a replica and begins accepting client writes.
The command returns immediately. Promotion happens asynchronously when the scan cycle completes. After failover completes, the old primary requires manual intervention before it can rejoin the replication group. See Site Replication and Disaster Recovery for the full workflow.
Parameters
ALIAS
Required
The alias of the replica MinIO AIStor cluster to promote.
Global flags
This command supports any of the global flags.
Examples
Start failover on a replica site
mc table replicate failover myreplica
After failover completes, monitor the site with mc table replicate status:
mc table replicate status myreplica