CHAPTER 5 Data Files
User’s Guide
91
Control file
The hs.ctl control file resides in the Historical Server home directory. The
control file maintains information about all recording sessions, past and
present, known to Historical Server. See “The Historical Server control file
and home directory” on page 9 for more details about how Historical Server
uses the control file.
Use the Historical Server
hs_list
command to gain access to the information in
the Historical Server control file. Do not edit the control file. You might
inadvertently corrupt the file.
Regardless of the editor you use, do not open and then save this file. This is true
especially if Historical Server is running on Windows NT. Unlike the other
files created by Historical Server, the control file is not a standard-format
Windows NT text file. Lines of text in the control file are terminated only with
new-line characters, rather than the usual carriage-return/newline pairs. The
editing program may corrupt the file by embedding unwanted carriage-
return/newline pairs into the text.
The control file contains the following types of records:
•
•
•
•
•
•
Header record
The first record in the control file is a header record that contains the following
six integer fields:
•
An “update in progress” flag
•
A byte offset in the file of the information being updated
•
A unique session ID to be assigned by Historical Server to the next
recording session
•
A copy of the unique session ID for use in file corruption detection and
recovery
Summary of Contents for 12.5.1
Page 1: ...User s Guide Historical Server 12 5 1...
Page 14: ...xiv Historical Server...
Page 46: ...Configuring multiple instances of Historical Server 32 Historical Server...
Page 56: ...Starting and stopping Historical Server on Windows NT 42 Historical Server...
Page 102: ...hs_terminate_recording 88 Historical Server...