NOTE:
•
If operations with a
REVERSE
specification such as planned outage take place, to control CA,
CAA, or CAJ from the script, HP recommends that you specify explicitly the
FORWARD
or
REVERSE
parameter.
•
When specifying the
FORWARD
or
REVERSE
parameter to change the copy direction of the
copy group, be sure to execute the
YKQUERY
command or
YKEWAIT
command and obtain
information for the changed copy direction before performing operation.
•
When a copy is performed from low-capacity CA, CAA, or CAJ volumes to high-capacity
volumes, if a failure occurs on the secondary site, a CA, CAA, or CAJ copy cannot be
performed in the reverse direction (from the secondary site to the primary site). HP recommends
strongly that copying from a small volume to a large volume function should be used exclusively
for data migration.
•
After this command is executed against a volume is SWAPPING status, the direction of copy
is reversed.
•
The
YKRESYNC
command terminates successfully when the instruction to the copy pair
succeeded. Even if the
YKRESYNC
command terminates with return code
0
, the copy pair
might not be in the DUPLEX status. After you execute the
YKRESYNC
command, use the
YKQUERY
or
YKEWAIT
command to make sure that the copy pair status has changed to
DUPLEX. If there is a volume whose status has not been changed, re-execute the
YKRESYNC
command with the
VOLUNIT
parameter specified for all the copy pairs.
•
If
ONLINE(YES)
parameter is specified, volume corruption might occur because a copy pair
can be made even if the S-VOL is being used. Thus, consideration with respect to volume
operation is required, such as limiting operation to the time periods when the S-VOL is not
being used.
•
To use the
YKRESYNC
command to reflect the change in the
ERRORLEVEL
attribute on the
device, specify the
VOLUNIT
parameter (or specify the
DEVN
parameter on a copy pair basis).
If the parameter is not specified, the attribute change is not reflected.
•
Even if the status transition is successful, an I/O error might occur and the command might
terminate with return code
32
. When you create a script, code it in such a manner that the
YKQUERY
or
YKEWAIT
command is executed to check the results of status transitions, even if
the command terminates with return code
32
, and the processing resumes after a successful
status transition.
Return Codes
Table 130 (page 243)
lists the return codes to be returned when the
YKRESYNC
command terminates.
Table 130 YKRESYNC Command Return Code List
Meaning
Return Code
The command terminated abnormally, possibly because the user SVC routine has
not been included properly.
-4095
to
-4040
The module cannot be loaded. Possible causes are as follows:
•
The library dataset has not been linked.
•
The module is protected by the RACF program control function.
-3
An interruption occurred during execution.
-1
The command completed normally.
0
Since a volume with an invalid status was found in the copy group, processing for
the volume will be skipped.
4
Command details 243
Содержание P9000
Страница 302: ...YKDEMO12 302 CLI Commands ...