Hyperswap completion detection, Recovering from a failure – HP XP P9500 Storage User Manual
Page 661
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
IOSHM0414I
message is output. The YKCONMSG command can be used to monitor for output of
this message, to detect when a HyperSwap has been completed. Note that this message is output
not only during a failure, but also for the planned execution of a HyperSwap.
Recovering from a Failure
This section explains how to recover from various kinds of failures.
HyperSwap Completion Detection
661