Scalable Database Server, HiRDB Version 8 System Operation Guide
This section explains the procedures for placing overwrite-enabled files and spare files in swappable target status.
Use the pdlogls command to check for files in unload wait status. Use the pdlogunld or pdlogchg command to change their file status from unload wait to unload completed.
During offline operation, the pdlogls command cannot be used to determine whether or not a file is in extraction-completed status. Instead, the pdls -d rpl -j command can be used to determine whether the system log is being extracted by the HiRDB Datareplicator at the extracted side. If it is being extracted, there is a file in extracting status. The following is the procedure for determining whether or not the system log is being extracted:
pdls command execution results
pdls -d rpl -s bes1 -j SYSTEMID : PRDT(185014) Data replication : * UNITID : untF(185014) Data replication : Y SERVER NAME : bes1 Extract Database : Y Extract Status : C System Log Extract Point : Run ID Group Gen No. BLock No. 364a4ac2 logfg01 1 2 System Log Sync Info : Run ID Group Gen No. BLock No. 364a4ac2 logfg07 7 1e |
pdls command execution results
pdls -d rpl -s bes1 -j SYSTEMID : PRDT(185612) Data replication : * UNITID : untF(185612) Data replication : Y SERVER NAME : bes1 Extract Database : Y Extract Status : C System Log Extract Point : Run ID Group Gen No. BLock No. 364a4ac2 logfg07 7 20 System Log Sync Info : Run ID Group Gen No. BLock No. 364a4ac2 logfg07 7 1e |
If there is a spare file, place it in swappable target status before using it. A spare file is a system log file whose entity has been created but it is not used because ONL is not specified in the pdlogadfg operand in the server definition.
To use a spare file, specify Y in the pd_log_rerun_reserved_file_open operand in the server definition.
pdlogls command execution results (spare file not in use)
pdlogls -d sys -s bes1 HOSTNAME : dcm3500(163541) ***** Off-line Information ***** Group Type Server Gen No. Status Run ID Block No. logfg01 sys bes1 9 cna---u 364a4ac2 101 106 logfg02 sys bes1 a cna---u 364a4ac2 107 109 logfg03 sys bes1 b cna---u 364a4ac2 10a 10c logfg04 sys bes1 c cna---u 364a4ac2 10d 10e logfg05 sys bes1 d cna---u 364a4ac2 10f 110 logfg06 sys bes1 e cn---cu 364a4ac2 111 0 logfg07 sys bes1 f cn----u 36491223 1f0 201 logfg08 sys bes1 0 cn----- 00000000 0 0 |
pdlogls command execution results (spare file in use)
pdlogls -d sys -s bes1 HOSTNAME : dcm3500(163541) ***** Off-line Information ***** Group Type Server Gen No. Status Run ID Block No. logfg01 sys bes1 9 cna---u 364a4ac2 101 106 logfg02 sys bes1 a cna---u 364a4ac2 107 109 logfg03 sys bes1 b cna---u 364a4ac2 10a 10c logfg04 sys bes1 c cna---u 364a4ac2 10d 10e logfg05 sys bes1 d cna---u 364a4ac2 10f 110 logfg06 sys bes1 e cn---cu 364a4ac2 111 0 logfg07 sys bes1 7 cnu---u 364a4ac2 e3 ef logfg08 sys bes1 8 cne---u 364a4ac2 f0 100 |
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.