HP P9000 Command View Advanced Edition Suite Software 7.2 CLI Reference Guide

Method 3: Create a new RAID Manager configuration definition file, creates a copy group, then
adds a copy pair to the copy group. To use this method, execute the command in the following
format:
hdvmcli [URL] AddReplication [options]
[groupname=group-name]
pvolhostid=host-ID [pvolinstancenum=instance-number] pvolportnum=port-number
svolhostid=host-ID [svolinstancenum=instance-number] svolportnum=port-number
pvolarraytype=model pvolserialnum=serial-number pvoldevnum=device-number
[pvolportid=port-number|pvolportname=port-name]] pvolpoolid=pool-ID
svolarraytype=model svolserialnum=serial-number svoldevnum=device-number
[svolportid=port-number|svolportname=port-name]] pvolpoolid=pool-ID
replicationfunction={BusinessCopy|ContinuousAccessSync|ContinuousAccessAsync
|Snapshot|ContinuousAccessJournal} [munum=Mu-number] [fencelevel=fence-level]
[copytracksize=copy-pace] [pairoption=suspend]
Parameters
Table 103 AddReplication command parameters
DescriptionStatusParameter name
Copy group number
If you are using method 1, you must specify this parameter.
If you are using method 2 or 3, do not specify this parameter. If
you specify this parameter, method 1 is applied.
Optional
replication-
groupid
Group name used in the RAID Manager
Use a maximum of 31 bytes for a group name. The group name
cannot begin with a hash mark (#) or a hyphen (-).
If the replicationgroupid parameter is specified, this
parameter is ignored.
Optional
groupname
ID of the host that recognizes the primary volume (P-VOL)
If you are using method 2 or 3, you must specify this parameter.
If the replicationgroupid parameter is specified, this
parameter is ignored.
Optional
pvolhostid
Number of the HORCM instance that manages the P-VOL
If you are using method 2, you must specify this parameter.
If the replicationgroupid parameter is specified, this
parameter is ignored.
Optional
pvolinstan-
cenum
Port number of the HORCM instance that manages the P-VOL
Depending on the host OS, specify the appropriate value:
For Solaris systems: Specify an integer in the range 0-65535.
For AIX, Windows, HP-UX, or Linux systems: Specify an integer
in the range 1-65535.
If you are using method 3, you must specify this parameter.
If the replicationgroupid or pvolinstancenum parameter
is specified, this parameter is ignored.
Optional
pvolportnum
CLI Reference Guide 279