Disabling geo-replication

Prerequisites

To disable geo-replication

Admin panel

  1. On the primary cluster, go to Storage services > Backup storage > Geo-replication, and then click Disable replication.
  2. Click Disable in the confirmation window.
  3. On the primary cluster, go to Storage services > Backup storage > Registrations, and then delete Geo-replication registration.
  4. On the secondary cluster, do one of the following:

    • If you plan to use this backup storage, cancel geo-replication for it by running:

      # vinfra service backup geo-replication secondary cancel
    • If you do not need this backup storage, reinstall Virtuozzo Hybrid Infrastructure on each node from scratch.

Command-line interface

  1. Disable geo-replication on the primary cluster by running vinfra service backup geo-replication primary disable. For example:

    # vinfra service backup geo-replication primary disable
  2. Delete Geo-replication registration on the primary cluster by running vinfra service backup registration delete. For example:

    # vinfra service backup registration delete --username account@example.com --stdin "Geo-replication registration"
  3. Cancel geo-replication on the secondary cluster by running vinfra service backup geo-replication secondary cancel. For example:

    # vinfra service backup geo-replication secondary cancel
  4. Destroy the secondary cluster to delete the backup data that has been replicated from the primary cluster. For example:

    # vinfra service backup cluster release