NAME
acpair add - Add copy pairs
SYNOPSIS
acpair add -g copyGroup -p copyPair [-xml]
DESCRIPTION
This command adds copy pairs to copy groups.
When the Storage Cluster Continuous Copy function is used, the copy pairs for both the Primary Storage and Secondary Storage are added.
OPTIONS
This option specifies the copy group name.
This option specifies the copy pair to be added.
When the Storage Cluster Continuous Copy function is used, specify either the Primary Storage or Secondary Storage copy pair. The ETERNUS Disk storage system and logical volume number that become the Storage Cluster pair are automatically retrieved from the specified ETERNUS Disk storage system and logical volume number, and the copy pairs for both the Primary Storage and Secondary Storage are added.
The following example shows the format for specifying copy pairs.
(1) ETERNUS name for the copy source
(2) Logical volume number for the copy source
(3) ETERNUS name for the copy destination
(4) Logical volume number for the copy destination
This option can also be specified in LU to Partition format.
An example is shown below.
(1) ETERNUS name for the copy source
(2) Logical volume number for the copy source
(3) Extent start position for the copy source volume (block units)
(4) Extent size for the copy source volume (number of blocks)
(5) ETERNUS name for the copy destination
(6) Logical volume number for the copy destination
(7) Extent start position for the copy destination volume (block units)
Character strings starting with "0x" are hexadecimal expressions.
When specifying with the LU to Partition format or the Partition to LU format, you must enclose the entire argument for this option within double quotations (") depending on the shell being used.
This option specifies when displaying the result of the command execution by the XML format.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Adding a copy pair in LU to LU format
> acpair add -g group01 -p ET001/0x1:ET001/0x6 Successful completion.
Adding a copy pair in LU to Partition format
> acpair add -g group01 -p "ET001/0x122[addr=0x0,size=0x1]:ET001/0x121[addr=0x0]" Successful completion.
NOTES
Make sure that the logical volumes specified for the copy source and the copy destination are of the same size.
If the copy type is OPC, QuickOPC or EC
When the Storage Cluster Continuous Copy function is used
Specify the ETERNUS name that was specified with the -a option or -tfoa option for the acgroup create command.
The copy source TFOV and the copy destination TFOV must belong to the same TFO group.
All copy pairs must belong to the same TFO group.
Copy pairs that include a non-TFOV cannot be registered.
Copy pairs that include TFOVs that belong to TFO groups of an Active-Active configuration cannot be registered.
When the Storage Cluster Continuous Copy function is not used
Specify the ETERNUS name that was specified with the -a option for the acgroup create command.
If the copy type is SnapOPCP
Specify the ETERNUS name that was specified with the -a option for the acgroup create command.
In the case that the copy source of the specified copy pair is same with other copy pairs, an error may occur when the number of SnapOPC+ max session is exceeded.
If the copy type is REC
Specify the ETERNUS name that was specified with either the -a or -remote option for the acgroup create command.
Specify different ETERNUS names for the copy source and the copy destination.
The copy source ETERNUS name and the copy destination ETERNUS name for the copy pair being added must be the same as the copy source ETERNUS name and copy destination ETERNUS name for any copy pairs that have already been added to the copy group.