
Onbar is a utility that comes with the online product starting with
the 7.21.UC1 version. This utility has the ability to.
GOOD PLACES TO START
�
Home Index
�
�
�
�
�
�
�
�
�

To put simply, Onbar's basic function is to carry backups between the storage manager and the Online engine. In order to do this OnBar makes use the components mentioned in the diagram above. Many of those components are used to store information about various backups as well as information about how to make connections to the SM and Online engine. Onbar also uses these components to record what it has done and the success of its operations.
Home Index
�
�
�
�
�
�
�
�
�
�
�
�
�
ONBARS FUNCTIONAL SPECIFICATIONS
Onbar has 5 types of backups:
Onbar has 6 types of restore options

Home Index
onbar usage
onbar usage BACKUP: ======= -b [-L] [-f ] [ ] -b -w [-L ] -b -F -l [-c] [-s] -b backup -c backup current logical log -f pathname of file containing list of dbspaces, blobspaces -F fake backup -l backup full logical logs -L backup level: 0, 1, or 2 -w whole system backup -s salvage logs list of dbspaces, blobspaces to backup RESTORE ======== -r [-t
Home Index
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�

PROBLEM: I get the following error on the onbar activity file: ERROR: Version of XBSA shared library is not compatible with version %1 of On-BAR. Whenever I try to start Onbar.
ANSWER: There is not a row in the sysutils:bar_version table that matches the version of the XBSA library that is being used. The most common solution to this is to run the folowing SQL statements:If that does not work then you have to find out what row onbar is trying to select. You can do that by setting BAR_DEBUG 7 and look at the BAR_DEBUG_LOG. That log should contain an SQL statement that selects from the bar_version table. Look at the values in the where clause of that select statement and manually insert a row into the bar_version table that contains those values. That way the SQLCODE from the select statement will not return 100 and the backup will be able to continue.
- database sysutils;
- insert into bar_version values ('1', '1.0.1', 'nsm', 0);
- close database;
ANSWER: The XBSA libraries have not be installed yet. There is no way for onbar to communicate with a the storage manager. Have the customer check to make sure a storage manager is installed and working on the machine. Once everything is installed the XBSA library must be linked to /usr/lib/ibsad001.so.
ANSWER: bring online up with the undocumented enviornment variable ARCHIVE_TEST = 'Y'. This will make online mark the dbspace as offline just before it tries to restore it. This will allow Onbar to restore any dbspace not matter what the flags are.
ANSWER: This is due to Bug 73420. The 7.22.UC2 product did not come with Onbar for some reason.
ANSWER: This is due to bug 74755. The customer will run in to problem if a dbspace became a critical dbspace in between dbspace backups. A dbspace will become a critical dbspace when the physical/logical is moved inside it. A workaround would be to update the bar_object table in the systutils database. Set obj_type = "CD" where obj_name={THE DBSPACE NAME}. For more information on sysutils, click here.
ANSWER: A whole system backup will backup up every dbspace serially while the regular (without the -w option) backup will try to backup up each dbspace in parallel. One benifit of using the the 'whole' system backup option is that when restoring you will have the option to only do a physical restore with out applying the logical log. An archive done without using the -w option will need the logical recovery in order to bring all dbspaces consistent with eachother.
ANSWER: Onbar will only send the data/archive to the storage manager. What the storeage manager does with the sent data is not anything Informix/ Onbar has controll of. Therfore the user must configure the storage manager to send backups to the UNIX filesystem instead of a tape. Most Storage Managers will allow you to utilize a unix file as a tape device.
ANSWER: When an oninit -i is run, the ixbar file is cleared out. However, a backup copy of that file is made. The old ixbar file will be named ixbar.server_num.yymmdd.hhmmss. You will have to copy this back to ixbar.server_num. For more info on the ixbar file follow this link
ANSWER: Onbar -r -w will only restore 'whole system' archives ( archives that were taken by running onbar -r with the -w option). Since none were taken in this case, onbar will give the above error.
ANSWER:
ANSWER: This issue is addressed in The Tech Info Article #6003. It syas that this is a known prblem specific to to 7.23.UC3 version of Onbar on the AIX platform. It is fixed in 7.23.UC4.
ANSWER: In the process of ADSM client software installation, The red book talks about adding lines to dsm.sys file (in chapter 6) for the Servername. It does not talk about adding some more lines. These lines are needed for Informix's onbar to work with ADSM. If we do not insert these lines into the file we get the above error message.ADSM server to which the client ADSM talks TCPPort XXXX ## Should be the port number used for ## informix server in services file COMMmethod TCPip ## Communication method if it is TCP. TCPServeraddress XXX.XXX.XXX.XXX ## ADSM Server Address in the host file Passwordaccess GENERATE ## Should be used in order to not to ask ## password in the backup and restore ## process.
Home Index
�
�
�
�
�
�
�