Description
Deletes an existing replication link to a container in a QoreStor.
|
NOTE: It is recommended that the replication be in an INSYNC state for this operation. If replication is not in an INSYNC state, this operation can potentially take a much longer time to run. |
Syntax
replication --delete --name <name> --role <source | target> [--force]
Where
--name Name of container. --role Role of container. --force Delete configuration even if peer container is unreachable. Replication must be stopped first even with force option.
If you attempt to delete a container that already has replication enabled, this displays the following message:
Replication on acme-59-replica is enabled and cannot be deleted, please stop it first.
|
NOTE: If the replication state of the link is enabled, you must use the replication --stop command to disable replication before you can delete the replication link. For more information, see replication --stop . |
Deletes the existing replication link to a container.
replication --delete --name acme-59-replica --role source
Result
Successfully deleted replication entry.
|
NOTE: The QoreStor CLI --force command is optional, and this command allows you to force the deletion of an existing replication link (such as when communications between the source and target are not working). Before using the --force option, replication must be stopped with the replication --stop command. For more information, see replication --stop |