Disabling geo-replication
Prerequisites
- Geo-replication is enabled, as described in Enabling geo-replication.
To disable geo-replication
Admin panel
- On the primary cluster, go to Storage services > Backup storage > Geo-replication, and then click Disable replication.
- Click Disable in the confirmation window.
- On the primary cluster, go to Storage services > Backup storage > Registrations, and then delete Geo-replication registration.
-
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
-
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
-
Delete
Geo-replication registration
on the primary cluster by runningvinfra service backup registration delete
. For example:# vinfra service backup registration delete --username account@example.com --stdin "Geo-replication registration"
-
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
-
Destroy the secondary cluster to delete the backup data that has been replicated from the primary cluster. For example:
# vinfra service backup cluster release