Performing Replication Tasks using the CLI
This topic shows how to perform replication tasks using the Windows or the Linux CLI. Before you can run these commands, you must first install either the Windows CLI utility or the Linux CLI utility. After you install the utility, you can display all available commands by typing cvctl --help
.
Note: The following command examples are shown using Linux syntax. To run the commands in Windows, use backslashes (\) instead of forward slashes (/) and do not type sudo
on the command line.
Creating a Replication Store
To create a replication store, run the cvctl command with the create
option. The following is the complete syntax for this command:
.\cvctl create replstore
--name <name>
--cv-region <name>
--size <sizeInGiB>
--volume-tier { PF | GPF }
Editing a Replication Store
To edit a replication store, run the cvctl command with the edit
option. The following is the complete syntax for this command:
./cvctl edit replstore --name <name> --size <sizeInGiB>
Deleting a Replication Store
To delete a replication store, run the cvctl command with the delete
option. The following is the complete syntax for this command:
./cvctl delete replstore --name <name>
Displaying Detailed Information about a Replication Store
To display detailed information about a replication store, run the cvctl command with the get
option. The following is the complete syntax for this command:
./cvctl get replstore --name <name>
Displaying a List of Replication Stores
To display a list of replication stores, run the cvctl command with the list
option. The following is the complete syntax for this command:
./cvctl list replstores
Displaying a List of Replica Volume Collections
To display a list of replica volume collections, run the cvctl command with the list
option. The following is the complete syntax for this command:
./cvctl list replvolcolls --replstore <name>
Displaying Detailed Information about a Replica Volume Collection
To display detailed information about a replica volume collection, run the cvctl command with the get
option. The following is the complete syntax for this command:
./cvctl get replvolcoll --name <name> --replstore <name>
Editing a Replica Volume Collection
To edit a replica volume collection, run the cvctl command with the edit
option. The following is the complete syntax for this command:
./cvctl edit replvolcoll
--name <name>
[--replstore <name> {--direction {outgoing | incoming | stopped}}
[--replpartner <name>]]
Displaying a List of Replica Volumes
To display a list of replica volumes, run the cvctl command with the list
option. The following is the complete syntax for this command:
./cvctl list replvols
[--replstore <name>
[--replvolcoll <name>]]
Displaying a List of Cloud Volumes
To display a list of cloud volumes, run the cvctl command with the list
option. The following is the complete syntax for this command:
./cvctl list cloudvols [--replstore <name> [--replvolcoll <name>]]
Displaying Detailed Information about a Replica Volume
To display detailed information about a replica volume, run the cvctl command with the get
option. The following is the complete syntax for this command:
./cvctl get replvol --name <name> [--replstore <name> [--replvolcoll <name>]]
Displaying a List of On-Premises Replication Partners
To display a list of on-premises replication partners, run the cvctl command with the list
option.
./cvctl list onpremreplpartners
Displaying a List of Replication Partnerships
To display a list of replication partners, replication partnerships, run the cvctl command with the list
option.
./cvctl list replpartnerships
Displaying a List of Regions
To display a list of regions, run the cvctl command with the list
option.
./cvctl list regions
Displaying a List of CV Regions
To display a list of CV regions, run the cvctl command with the list
option.
./cvctl list cvregions
Displaying a List of Providers
To display a list of providers, run the cvctl command with the list
option.
./cvctl list providers
Related Information