Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 5 Understanding Journal Processing : Journal Processing

Journal Processing
Definition
TIBCO Object Service Broker journals are data sets that provide a record of all modified page images. Journals are essential to the TIBCO Object Service Broker continuous backup and recovery procedures.
Overview
This chapter explains how TIBCO Object Service Broker:
Spins (off‑loads) a journal
Journal backups can be merged together and used to refresh your current system backup. For guidance in developing a continuous backup procedure that meets your unique backup and recovery requirements, read this chapter and then refer to Chapter 6, Backing Up Your System.
When are Journals Spun?
When one journal file reaches capacity, the Data Object Broker automatically switches to the other. The Data Object Broker still continues processing transactions during this switch. The journal that is almost full is then spun (emptied of its contents) and made available for use again.
Journal spinning is normally performed under the control of the batch files (for Windows) or scripts (Solaris): spin01, spin02, and spin03. These files are shipped with a default behavior, which can be tailored at any time by the TIBCO Object Service Broker system administrator.
Tailoring the Spin Batch Files/Scripts
The sample batch files or scripts for journal spinning can be found in the following directory:
In Windows, the spin01.bat and spin02.bat files reset the journal for reuse. In Solaris, the spin01 and spin02 scripts reset the journal for reuse. To turn on journal spinning for continuous backup, do one of the following:
Windows: Copy the spin01.nt, spin02.nt, spin03.nt, spin03A.nt, spin04.nt, spin05.nt and spin05A.nt files to the corresponding name with a .bat extension.
Edit each batch file/script to ensure the following environment variables are set correctly:
 
The number of spin files to be merged into a master accumulation file. Set this variable only in spin01.bat and spin02.bat in Windows or spin01 and spin02 in Solaris.
In spin01, spin02, spin03, and spin05, type the full path name where the spin files are to be located, for example:
SPINVOL (Windows only)
The drive where the spin files are to be located, for example: C. Set this variable in spin03.bat and spin05.bat only.
The name of your latest full backup. Set this variable only in spin05.bat in Windows or spin05 in Solaris. The default is backup.000.
Journal Spin Process
The journal spin process uses the hrnspjex (Journal Extraction) utility to extract relevant records from JOURNAL1 or JOURNAL2 and produces an audit trail. At the end of the journal off‑load, the hrnspset (Reset Journal) utility resets the journal and changes its state to EMPTY so that it can be reused.
See Also
TIBCO Object Service Broker for Open Systems Utilities for information about the hrnspjex and hrnspset utilities.
Journal Spin Process Illustration

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved