HP MSA 2040 CLI Reference Guide

34 Alphabetical list of commands
add replication-volume
Description Adds an existing secondary volume to a replication set. The volume can be in the same system as the
primary volume or in a remote system.
A secondary volume is a master volume created specifically for use as the destination for a
replication by using the create master-volume command's prepare-replication-volume
parameter.
Secondary volumes serve as the destination for replicated data from the primary volume. When a
replicate snapshot or replicate volume command is issued, data is replicated from the primary
volume to the associated secondary volume in the replication set.
This command must be run on the primary system.
Syntax
add replication-volume
link-type FC|iSCSI
[max-queue
#
]
[nowait]
primary-volume
volume
[priority low|medium|high]
[remote-system
system
]
secondary-address ip=
IPs
|wwnn=
WWNNs
|wwpn=
WWPNs
[set
replication-set
]
replication-volume
Parameters link-type FC|iSCSI
Specifies the type of ports being used for the inter-system link:
FC: FC ports
iSCSI: iSCSI ports
max-queue
#
Optional. The number of replication images to consider when determining the next image to
replicate: 1–64. Used only if the on-collision parameter is set to oldest.
nowait
Optional. Adding a volume to a replication set can take the Storage Controller several minutes to
complete. This parameter allows that processing to continue in the background so the Management
Controller can process other commands.
primary-volume
volume
The name or serial number of the replication volume to be the primary volume for the replication set.
priority low|medium|high
Optional. The priority of the replication process on the replication volume: low, medium, or high.
remote-system
system
Optional for a local volume; required for a remote volume if the secondary-address parameter
is not specified. The name or network-port IP address of the remote system.
secondary-address ip=
IPs
|wwnn=
WWNNs
|wwpn=
WWPNs
Optional for a local volume; required for a remote volume if the remote-system parameter is not
specified. Specifies host ports in the remote system by IP address, World Wide Node Name, or
World Wide Port Name. An IP address value can include a port number; for example,
10.134.2.1:3260. Multiple values must be separated by commas and no spaces; for example:
ip=10.134.2.1,10.134.2.2.
set
replication-set
Optional. The name or serial number of the replication set.
replication-volume
The name or serial number of the secondary volume to add. If the name is not unique across
replication sets, specify the set parameter.