OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

7.4.2 Use of archive journal files

An archive journal file contains information identical to the contents of system journal files of many other nodes.

Of the physical files that make up an element file, more than one file may be opened and this status is called element file opened. If no physical files are opened, the status is called element file closed.

Of the physical files that make up an element file, more files than necessary may be opened and this status is called element file available.

If more files than necessary are not opened, the status is called element file unavailable. The number of required physical files depends on the specification in the archive journal service definition.

The following table shows the relationship between file group status and physical file status.

Table 7-6 Relationship between file group status and physical file status

File group status Physical file open/close status
Usable/unusable status Open/close status
One-system operation available One-system operation unavailable System A System B
Y Y Open Open Open
Y -- Open Open Close
Y -- Open Close Open
-- -- Close Close Close

Legend:
Y: Usable
--: Unusable

Of the element files that make up a file group, more than one element file may be opened and this status is called file group opened. If no element files are opened, the status is called file group closed.

Of the element files that make up a file group, more files than necessary may be opened is called file group available. If more files than necessary are not opened, the status is called file group unavailable.

The number of required element files depends on the specification in the archive journal service definition.

OpenTP1 manages online-mode archive journal file groups under three status categories.

More than one file group is needed except for reserved status.

When OpenTP1 is normally started, all file groups with ONL specified in the archive journal service definition are opened. Out of the opened file groups, the first group plays a role as a current-status file group and the rest stands by. Any file group that could not be opened or for which ONL has not been specified is placed in reserved status. Upon restart of OpenTP1, the last current-status file group is inherited.

Journals are output to the current-status file group. If the file group becomes full, it is swapped with the standby-status file group specified second in the archive journal service definition. In a duplicated system, swapping occurs if the current-status file group of either system becomes full. If all file groups of the system journal file become full, journal outputting wraps around to the first file group.