Remove existing Peer Site

This page documents the steps necessary to remove a peer site from existing Site Replication configuration.

Remove the Peer Site using AIStor Console

  1. In a browser, access the Console for one of the existing replicated sites.

    For example, https://<addressforsite>:9000

  2. Select Settings, then Site Replication.

  3. Select the trash can Delete icon in the row of the site you want to remove.

  4. Confirm the site deletion at the prompt by selecting Delete.

Configure Site Replication using mc CLI

  1. Review the site replication configuration.

    Use the mc admin replicate info command to review the current configuration. Validate the alias of the peer site you want to remove.

  2. Remove the peer site from the replication configuration.

    Use the mc admin replicate remove command to remove the peer site from the configuration.

    Specify the alias of any other peer, then the alis of the site to remove. For example, the following command removes the peer site associated with the minio4 alias from the site replication configuration.

    mc admin replicate remove minio1 minio4 --force
    
  3. Query the site replication configuration to verify.

    mc admin replicate info minio1
    

    You can use the alias for any peer site in the site replication configuration.

All rights reserved 2024-Present, MinIO, Inc.