Nonstop Database, HiRDB Version 9 System Operation Guide
In terms of the overall procedure, add the number of system log files necessary for unit restart, and then restart the unit. The following figure shows the flow of actions to be taken.
Figure 20-5 General procedure for restarting the unit after adding system log files
Note: The numbers in the figure correspond to the numbers in the explanation below.
During unit restart, the database is recovered using as input files the system log files that were being used during the previous operation. Since this database recovery process also outputs system log files, before restarting the unit, you need to add the number of system log files needed for this purpose.
The following formula can be used to determine the number of system log file records necessary for unit restart:
The procedure for determining the number of records needed is explained using an example.
System log file name | Record count | |
---|---|---|
Hexadecimal | Decimal | |
log001 | 4e1c | 19996 |
log002 | 4e1c | 19996 |
log003 | 4e1c | 19996 |
log004 | 4e1c | 19996 |
log005 | 61a4 | 24996 |
log006 | 61a4 | 24996 |
Total | -- | 129976 |
Add system log files to the server where a system log file shortage occurred. For the size of the system log files (the number of records) to be added, use the record count determined in step (1).
For details about how to add system log files, see 20.17.7 Adding system log files.
Execute the pdstart command to restart the unit.
After the unit restarts, transactions can be accepted. However, the system logs that are output by the processing of new transactions might cause a system log file shortage again. Therefore, resume the job only after the operation in step (5) is completed.
Confirm that synchronization point validation processing is complete. For details about confirmation procedure, see 20.17.1(6) Confirm that the synchronization point validation process has completed.
If the number of system log files is insufficient during a restart, the unit will terminate abnormally again before validation processing for the synchronization point dump finishes. In this case, take the action described in the error message output to syslogfile or the message log file. If the system log file shortage still has not been resolved, collect troubleshooting information and contact maintenance personnel. For details about how to collect troubleshooting information, see 20.1.1 Actions to be taken by the HiRDB administrator when an error occurs.
Make preparations for resuming the job. For details, see 20.17.1(7) Prepare for job resumption.
After you have eliminated the system log file shortage, take the actions described in 20.17.10 Actions to take after eliminating the system log file shortage.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.