HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

NOTE:
This command is not available for XP1024/XP128.
Device Manager does not support a configuration in which both P-VOLs and S-VOLs exist in a
single HORCM instance. Make sure all the volumes in a single HORCM instance are either all P-
VOLs or all S-VOLs.
You must specify a formatted LDEV. If you specify an unformatted LDEV, a copy pair is not created.
To check whether an LDEV is formatted, for P9500, XP24000/XP20000,
XP12000/XP10000/SVS200, or XP1024/XP128, use the GetStorageArray command.
Configuring a Business Copy Software copy pair in which the P-VOL is a normal volume and the
S-VOL is a THP volume is not recommended.
When you attempt to create a copy pair for Continuous Access or Continuous Access Journal by
using a THP volume and normal volume, the attempt might fail depending on the storage system
microcode version. For details about which microcode version you should use to create such a
copy pair, see the Continuous Access or Continuous Access Journal manual.
There are three ways to create a copy pair.
Method 1: Add a copy pair to an existing copy group that is specified in the RAID Manager
configuration definition file. To use this method, execute the command in the following format:
hdvmcli [URL] AddReplication [options] replicationgroupid=copy-group-number
pvolarraytype=model pvolserialnum=serial-number pvoldevnum=device-number
[pvolportid=port-number|pvolportname=port-name]] svolarraytype=model
svolserialnum=serial-number svoldevnum=device-number
[svolportid=port-number|svolportname=port-name]
[replicationfunction={BusinessCopy|ContinuousAccessSync|ContinuousAccessAsync
|Snapshot|ContinuousAccessJournal}] [munum=Mu-number] [fencelevel=fence-level]
[copytracksize=copy-pace] [pairoption=suspend]
Method 2: Create a copy group in the RAID Manager configuration definition file, and 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] svolpoolid=pool-ID
[replicationfunction={BusinessCopy|ContinuousAccessSync|ContinuousAccessAsync
|Snapshot|ContinuousAccessJournal}] [munum=Mu-number] [fencelevel=fence-level]
[copytracksize=copy-pace] [pairoption=suspend]
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
CLI Reference Guide 261