EasyManuals Logo

HP StorageWorks P9000 Reference Guide

HP StorageWorks P9000
399 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #303 background imageLoading...
Page #303 background image
/* REXX */
/**********************************************************************/
/* */
/* All Rights Reserved. Copyright (C) 2011, Hitachi, Ltd. */
/* */
/**********************************************************************/
/* */
/* YKDEMO12 is an example script that demonstrates recovery of TC */
/* pairs that became inconsistent because of interrupted FlashCopy */
/* copy process. This script discovers CONSLOST copy pairs in the TC */
/* group, deletes them, and then re-creates them. */
/* */
/* This sample script assumes the following settings. */
/* */
/* 1) The definition files are stored in the dataset with the */
/* prefix "BCM.DEMO". */
/* 2) TC-Sync copy group is used. The copy group ID is "MYTCS". */
/* 3) The route list ID is "DEMORLST". */
/* 4) The primary Device Address Domain ID is "PRIM". */
/* */
/* The details for this sample script are as follows: */
/* */
/* 1) Call YKLOAD to load a configuration definitions. */
/* 2) Check whether TC pair became inconsistent because of */
/* interrupted FlashCopy copy process, or not. */
/* *) When TC pair became inconsistent because of interrupted */
/* FlashCopy copy process, go to step 3. */
/* 3) Check the status of each pairs. */
/* *) When the status is CONSLOST, go to step 4 and 5. */
/* 4) Delete the pair of which the status is CONSLOST in MYTCS. */
/* 5) Re-make the deleted pair again. */
/* */
/**********************************************************************/
/* Sample script begins. */
Say "#-- BEGIN YKDEMO12."
Call "YKLOAD" "STEM(DEMO_INFO.) PREFIX(BCM.DEMO) GROUP(MYTCS)",
"DAD(PRIM) MSG(DEMO_MSG.) ROUTE(DEMORLST)"
/*
* Check the return code of YKLOAD.
*/
If result /= 0 Then
Do
Call PrintErrorMessage
Exit
End
Else
Nop
/*
* Check the status of the MYTCS copy pair
* to find that TC pair became inconsistent because of interrupted
* FlashCopy copy process.
*/
Address TSO "YKQUERY STEM(DEMO_INFO.) MSG(DEMO_MSG.)"
/*
* Check the return code of YKQUERY.
*/
If rc > 8 Then
Do
Call PrintErrorMessage
Exit
End
Else
Nop
/*
* When TC pair became inconsistent because of interrupted FlashCopy
* copy process, check the status of each the MYTCS copy pairs.
Command details 303

Table of Contents

Other manuals for HP StorageWorks P9000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP StorageWorks P9000 and is the answer not in the manual?

HP StorageWorks P9000 Specifications

General IconGeneral
BrandHP
ModelStorageWorks P9000
CategoryStorage
LanguageEnglish

Related product manuals