HP P9000 Business Continuity Manager User Guide

exclude p'YKZ31#I' all
delete all nx
reset
save
6. Quit the ISPF editor.
Using a Script for Retrieval
To use a script for retrieval:
1. Create a dataset to which SYSLOG is to be output. The name of the sequential dataset is
assumed to be YUKON.SYSLOG.
2. Create a dataset to which only the CLI command-execution logs are to be output. The name
of the sequential dataset is assumed to be YUKON.BCMLOG.
3. In the SDSF panel, display SYSLOG.
4. In the panel displaying SYSLOG, enter commands to output SYSLOG for the desired period
to the dataset created in step 1.
To output the information between 13:00 and 14:00, enter as follows:
PT OSDN 'YUKON.SYSLOG'
PRT 13:00:00 14:00:00
PRINT CLOSE
5. Execute the following CLI command-execution log retrieval procedure to retrieve the CLI
command-execution logs into the dataset created in step 2:
If the procedure is stored in the sequential dataset named YUKON.EXTCMD, for example, then
executing the log retrieval procedure will result as follows:
EXEC 'YUKON.EXTCMD' 'YKZ31 YUKON.SYSLOG YUKON.BCMLOG'
Example of a CLI command-execution log retrieval procedure:
/* REXX ***/
Parse Upper Arg Mystrg Myinds Myoutds;
"ALLOCATE DA('"Myinds"') F(INDD) SHR REUSE"
"ALLOCATE DA('"Myoutds"') F(OUTDD) OLD REUSE"
"EXECIO 0 DISKR INDD (OPEN)"
eof='NO'
DO WHILE eof = 'NO'
"EXECIO 1 DISKR INDD (STEM LINE.)"
IF RC = 2 THEN
eof='YES'
ELSE
DO
IF INDEX(LINE.1,Mystrg) <> 0 THEN
DO
"EXECIO 1 DISKW OUTDD (STEM LINE.)"
END
END
END
"EXECIO 0 DISKR INDD (FINIS"
"EXECIO 0 DISKW OUTDD (FINIS"
"FREE F(INDD)"
"FREE F(OUTDD)"
EXIT 0
NOTE: When executing many CLI commands, the amount of information output to SYSLOG
increases accordingly.
HyperSwap Completion Detection
For 2DC configurations with HyperSwap and Cnt Ac-J Z, a HyperSwap is performed when failure
occurs during access to the primary storage system. After the HyperSwap is completed, the
568 Troubleshooting