Nonstop Database, HiRDB Version 9 UAP Development Guide
When the automatic reconnect facility executes reconnection, reconnect trace information, which consists of the connection handle value managed internally by HiRDB, the connection information before and after reconnect, and the reconnect time, is output to the reconnect trace file. This information is used for tracking connection information in the trace output by the PRF trace facility of Cosminexus.
Reconnect trace information can be obtained by setting a value in the PDRCTRACE client environment definition.
HiRDB creates two reconnect trace files in the directory specified in the PDCLTPATH client environment definition. The names of the created files are pdrcnct1.trc and pdrcnct2.trc.
Reconnect trace information is output when the automatic reconnect facility establishes a connection automatically.
An output example of a reconnect trace is shown below.
[1] [2] [3] [4] 40004250 S 2004/04/12 11:10:36.766 - 2004/04/12 11:10:41.846 sds:9:23763 => sds:10:23750 40004250 S 2004/04/12 11:11:07.491 - 2004/04/12 11:11:12.547 sds:10:23750 => sds:11:23765 40004850 F 2004/04/12 11:17:58.285 - 2004/04/12 11:18:23.395 sds:14:23751 => 40005050 S 2004/04/12 11:27:35.098 - 2004/04/12 11:27:40.152 sds:1:24414 => sds:2:24418 |
The connection information shown under 4 of the output example is output to the PRF trace information of Cosminexus. If the automatic reconnect facility subsequently executes reconnect processing, match the trace information with PRF trace information as follows.
To match trace information with the PRF trace information of Cosminexus:
If the reconnect log file becomes full while reconnect trace information is being output, the reconnect log is output to the other reconnect trace file. In this case, the old reconnect trace information stored in the takeover reconnect trace file is erased and overwritten by new reconnect trace information. Therefore, if the system is being operated for a long period of time, copy the contents of the reconnect trace file and back up the information, as necessary.
To determine the reconnect trace file that is being used currently, check the most recent update dates/times of the files. The reconnect trace file that was updated most recently is the current file.
For a Windows edition HiRDB client, you use the dir command or the Explorer to check the file update dates/times.
For a UNIX edition HiRDB client, you use the OS's 1s -1 command to check the file update dates/times.
All Rights Reserved. Copyright (C) 2011, Hitachi, Ltd.