CLI Guide

replication --update --name <name> --role <source | target> [--peer <ip address |
hostname>] [--encryption <none | aes128 | aes256>] [--username <user name>]
Description
Updates an existing replication link to a container in a DR Series system and allows you to change the corresponding
role, peer IP address or host name, the encryption being used, and user name based on the DR Series system CLI
command options you specify.
Syntax
replication --update --name backup --role source --peer 10.25.19.5
Result
NOTE: If you attempt to update a container that already has replication enabled, this displays the following
message:
Replication on backup is enabled and cannot be updated, please stop it first.
When replication is enabled on the container, you must first disable it before you can update it. To disable replication on
a container, enter the DR Series system CLI replication --stop command and define the container name and role:
replication --stop --name <name> --role <source | target>
NOTE: For more information about disabling replication, see replication --stop --name <name> --role <source |
target>.
Disables replication on a container:
replication --stop --name backup --role source
Replication configuration updated successfully.
Replication Container : backup
Replication Role : Source
Replication Target System : acme-85
Replication Target System IP : 10.25.192.5
Replication Target Container : acme85-S2
Replication Enabled : No
Replication Compression Enabled : Yes
Replication Encryption : AES 128-bit
replication --delete --name <name> --role <source | target> [--force]
Description
Deletes an existing replication link to a container in a DR Series system.
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 execute.
Syntax
replication --delete --name acme-59-replica --role target
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 --name <name>
--role <source | target>.
143