HP StorageWorks P9000 Reference Manual page 266

Business continuity manager software reference guide
Hide thumbs Also See for StorageWorks P9000:
Table of Contents

Advertisement

address TSO "YKQUERY STEM(DEMO_INFO.) MSG(DEMO_MSG.)";
/*
* The return code must be checked. Notice that the return code is
* checked to see if it is bigger than 8, not 0. In YKQUERY, the
* return code 8 indicates that one or more volumes in the given
* copy group are offline, which is not necessarily a bad situation.
*/
if rc > 8
then do
call printErrorMessage;
exit;
end;
else
nop;
call printCopyGroupStatus;
/*
* Alternatively, you can use YKEWAIT to retrieve the copy group
* status information more quickly as YKEWAIT also updates the Copy
* Group structure (but not entirely. The information items that are
* RCU-dependant such as C/T Delta and C/T Time are not updated).
* Refer to Business Continuity Manager Reference Guide to see how
* YKQUERY and YKEWAIT update the Copy Group structure.
*
* To use YKEWAIT for the purpose of simply updating the Copy Group
* structure, make sure the following parameter specification.
*
- TIMEOUT parameter should have the value zero ("0") for
*
immediate completion of YKEWAIT.
*
- NOINVALIDCHECK parameter should be specified.
*
- GOTO parameter should have the value SIMPLEX.
*/
address TSO "YKEWAIT STEM(DEMO_INFO.) MSG(DEMO_MSG.) GOTO(SIMPLEX)",
/*
* Like YKQUERY, check the return code to see if it is bigger than 8.
* This is because the return code 8 for YKEWAIT indicates unexpected
* status transition. Either 8 or 4 (real time out) is likely to occur
* when TIMEOUT parameter is set to zero.
*/
if rc > 8
then do
call printErrorMessage;
exit;
end;
else
nop;
call printCopyGroupStatus;
/*
* Establish all copy pairs in MYTCS copy group into DUPLEX.
* It is recommended to use SELECT(COND) parameter as it lets YKMAKE
* automatically skip a copy pair that is already established.
*/
address TSO "YKMAKE STEM(DEMO_INFO.) MSG(DEMO_MSG.) SELECT(COND)";
/*
* For YKMAKE, check to see if the return code is 0 or not.
*/
if rc /= 0
266 CLI Commands
/* Prints the copy group status info.
"TIMEOUT(0) NOINVALIDCHECK";
*/

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xp p9500

Table of Contents