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


Chapter 1 Using TIBCO Object Service Broker Utilities : hrnbrial (Move ACCESSLOG)

hrnbrial (Move ACCESSLOG)
Syntax
hrnbrial [-A auditfile] [-s] segmentnumber
Platforms
Windows, Solaris
Description
The hrnbrial utility moves the ACCESSLOG table (Audit log), which stores the security audit log, from the MetaStor (segment 0) on which it is shipped, to another segment. The hrnbrial utility can be used as part of the process for installing TIBCO Object Service Broker, or prior to promoting a Pagestore into production.
See Also
TIBCO Object Service Broker for Open Systems Installing and Operating for more information on when to invoke the hrnbrial utility.
Prerequisites
Before invoking the hrnbrial utility, ensure that the following prerequisites are satisfied:
Both segment 0 and the target segment are backed up. For information on backing up a segment, refer to TIBCO Object Service Broker for Open Systems Managing Backup and Recovery.
Since this utility directly modifies both segment 0 and a target segment, whoever submits it for execution must have write authority to both segments.
A valid ACCESSLOG occurrence exists on segment 0, including an entry in TABLES where TABLES.SEG is not NULL and a resident table index (RTIX) entry where primary path = a segment 0 page number.
There must be no more than one D page of data in the ACCESSLOG table. This data is not retained in the move to the new segment.
The ACCESSLOG table is archived or purged. For information on archiving and purging the ACCESSLOG (Audit Log), refer to TIBCO Object Service Broker Managing Security.
Arguments
 
-A auditfile
-s segmentnumber
The target segment number to which ACCESSLOG is being moved. This must be a valid Pagestore segment number. There is no default.
Considerations
Note the following when using the hrnbrial utility:
This utility moves the ACCESSLOG table only from segment 0 to a segment other than segment 0. ACCESSLOG can be moved only once and after it is moved off segment 0 it cannot be moved again. If possible, move ACCESSLOG to its own segment where it can be kept separate from other data.
Since this utility updates the segment offline and does not perform journaling, you must back up any changes you make to the target segment. For information about backing up a segment, refer to TIBCO Object Service Broker for Open Systems Managing Backup and Recovery.
Examples
Windows
hrnbrial -A d:\audit\brial.aud -s 03
Solaris
hrnbrial -A d:/usr1/audit/brial.aud -s 03
These examples show:
Checking Installation
The audit file logs the activities of the utility and reports any errors or problems that occur. The audit file must be checked after running the hrnbrial utility; the message: S6BBC915I ACCESSLOG INSTALLATION COMPLETE indicates that the ACCESSLOG table was moved successfully.
Sample Audit Log
The following illustrates a sample audit log for the hrnbrial utility:

*batchsrv OFFLINE BATCH UTILITY SERVER DATE 2007 MAR 06 TIME 12 06
Requested Utility: hrnbrial
 
PAGESTORE SEGMENT NAME SEG01 SEGMENT # 1 TYPE TDS - OPENED
 
*hrnbrial INSTALL ACCESSLOG
 
PAGESTORE SEGMENT NAME METASTOR SEGMENT # 0 TYPE TDS - OPENED
 
S6BBC910I Search METASTOR for ACCESSLOG
 
Table's primary path begins at page: 00000294; no secondaries allocated.
 
S6BBC911I Checking METASTOR pointers
 
S6BBC912I Installation Commenced - Target Segment
 
PAGESTORE SEGMENT NAME SEG01 SEGMENT # 1 - CLOSED
 
S6BBC913I Installation Completed - Target Segment
S6BBC914I Modifying METASTOR pointers
 
 
PAGESTORE SEGMENT NAME METASTOR SEGMENT # 0 - CLOSED
 
S6BBC915I ACCESSLOG INSTALLATION COMPLETE
 
UTILITY SUMMARY
 
TOTAL PAGES FREED 00000000002
 
TOTAL PAGES UPDATED 00000000004
 
* START TIME 11:06:48 END TIME 12:06:48

 

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