HP StorageWorks XP10000 Disk Array User Manual
Page 99
Command Line Interface Commands 99
Table 4-77
AddConfigFileForReplication Command Parameters
Parameter Name
Status
Description
pvolserialnum
Required
Serial number of the storage subsystem that includes the P-
VOL.
pvoldevnum
Required
Device number of the P-VOL.
pvolportid
Optional
Port number in the Continuous Access XP configuration file
that manages the P-VOL path.
svolarraytype
Required
Model of the storage subsystem that includes the S-VOL.
svolserialnum
Required
Serial number of the storage subsystem that includes the S-
VOL.
svoldevnum
Required
Device number of the S-VOL.
svolportid
Optional
Port number in the Continuous Access XP configuration file
that manages the S-VOL path.
replicationfunction
Optional
Type of copy used for the copy pair.
BusinessCopy
: Execute Business Copy XP.
ContinuousAccess
: Execute Continuous Access XP.
ContinuousAccessExtension
: Execute Continuous
Access XP Extension.
Snapshot
: Execute Snapshot XP.
The default of this parameter differs depending on the condition
as shown below.
•
When the P-VOL and S-VOL exist in the same storage
subsystem: BusinessCopy
•
When the P-VOL and S-VOL exist in different storage
subsystems: ContinuousAccessExtension
NOTE:
To operate a specific copy pair in a copy group, you must specify all of the pvolserialnum,
pvoldevnum
, svolserialnum (or svolsequencenum), and svoldevnum parameters. If you omit all of
these parameters, all the copy pairs in the copy group will be changed.
You can use this function in one of three ways.
The first method is adding a copy pair definition to an existing copy group that is specified in the RAID Manager
configuration definition file, by using the following command:
hdvmcli [URL] AddConfigFileForReplication [option] groupname=copy-group-name
pvolhostid=host-ID pvolinstancenum=instance-number svolhostid=host-ID
svolinstancenum=instance-number pvolarraytype=model pvolserialnum=serial-number
pvoldevnum=device-number [pvolportid=port-number] svolarraytype=model
svolserialnum=serial-number svoldevnum=device-number [svolportid=port-number]
[replicationfunction={BusinessCopy|ContinuousAccess|ContinuousAccessExtension|Sna
pshot}]
Command execution example 1: (add pairs to the existing group in the configuration files).
hdvmcli AddConfigFileForReplication -o "D:\logs\XP12000 AddConfigFileForReplication.log"
"groupname=group1" "pvolhostid=1" "pvolinstancenum=11" "svolhostid=1"
"svolinstancenum=12" "pvolarraytype=USP" "pvolserialnum=65010001" "pvoldevnum=5"
"svolarraytype=USP" "svolserialnum=65010012" "svoldevnum=10"
"replicationfunction=ContinuousAccess
Command execution result 1:
RESPONSE
(Command completed; no data returned)
The second method is adding a copy group to the RAID Manager configuration definition file and adding a copy
pair definition to the copy group, by using the following command:
hdvmcli [URL] AddConfigFileForReplication [option] [groupname=copy-group-name]
pvolhostid=host-ID pvolinstancenum=instance-number [pvolportnum=port-number]
svolhostid=host-ID svolinstancenum=instance-number [svolportnum=port-number]