![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
The hrnbrbal (Segment Balance) utility reads a TIBCO Object Service Broker segment archive and creates a new archive that matches the new specifications provided for the segment. This utility works at the page level only. The utility accepts archives from any of the supported TIBCO Object Service Broker platforms and is release independent.hrnbrbal automates the redistribution of the used pages of a specified segment into a redefined space. This redistribution makes changing space allocation for a segment easier and in some cases also leads to improved performance.
We strongly recommend that the procedures described here be performed by an experienced TIBCO Object Service Broker system administrator who is familiar with the site backup and recovery environment. All the steps in these procedures should be read and understood before proceeding with this activity. All aspects of this topic should be considered, such as:
-A auditreport The file to which the audit report is written. If this option is omitted, the report is written to stdout. -p #pages Number of defined pages in the old segment definition. Default: 400000 -s segment# Produce a verbose audit trail report that gives complete details of all modifications made to the segment, for example, the old and new numbers of all pages. Default: verbose not required -f #files -N new_archive Tasks to Complete Before Executing hrnbrbalTask A Take a Journal SpinOR, if all segments are to be balanced:Task B Take a Backup
1. If you are using continuous backup, run a spin merge and create a new continuous backup file for the target segments.
OR
If you do not use continuous backup, run hrntlbps (Backup Pagestore) to take a backup of each target segments.
3. Check that the resulting audit report contains no errors or orphan pages. Fix the errors and recover all orphan pages before proceeding.Steps to Run hrnbrbal
2. Run hrnbrptr (Batch Pointer Check) against each newly balanced segment archive to verify its contents.
Steps to Take After Successfully Executing hrnbrbal
1. If the number of files in a target segment changed, modify the ACBS statement for that segment in your dbdef file to equal the new number of files in the segment.
4. Run hrntlrps (Restore Pagestore) to restore the newly balanced archive to the segment, using the output from hrnbrbal as input to hrntlrps.
5. If you are using continuous backup, restart it from this point for each target segment using the output of hrnbrbal to create a base backup for each segment. Alternatively, you can run hrntlbps (Backup Pagestore) to create the base backup.
OR
If you are not using continuous backup, run hrntlbps (Backup Pagestore) to take a full backup of each target segment.
6. For each target segment, delete all journal data that exists in the spin, merge, and if you use continuous backup, the backup files.
TIBCO Object Service Broker for Open Systems Managing Backup and Recovery for additional information about the backup and restore procedures.Return Code Settings
The example command that follows reads the segment archive s0f1.bak and creates the new archive s0f3.bak, whose pages are balanced over three files:
File 0 High Used Page (not including BITMAP pages): 00004D36; # Used Pages: 19766; # Pages Ignored: 1OLD Pages - Read: 19767; Processed: 19767; Used: 19766; Ignored: 1
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |