If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > ONBAR install problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-02-04, 13:52
stjacqd stjacqd is offline
Registered User
 
Join Date: Jul 2003
Location: Boisbriand, Qc, Canada
Posts: 25
ONBAR install problem

Hello everyone

I am usualy using ontape to backup our database.

But now I need to perform backups on disk and not on tape anymore.

The problem with ontape, it is limited to 2 gig on disk. That is very annoying because I cannot do any automatic backup anymore.

I would like to use onbar to perform backups on disk. I think onbar allow file greater than 2gig.

I did run the onbar program. It doesn't work. I do not have any step by step documentation to install it. So here is what I did obtain as error.

bar_act.log:
2004-09-02 13:45:57 15141 15140 /informix/TST/bin/onbar_d -b -w
2004-09-02 13:45:57 15141 15140 ERROR: An unexpected error occurred: /usr/lib/ibsad001.so: cannot o
pen shared object file: No such file or directory .
2004-09-02 13:45:57 15141 15140 ERROR: Could not open XBSA library /usr/lib/ibsad001.so.
2004-09-02 13:45:57 15141 15140 ERROR: An unexpected error occurred: /usr/lib/ibsad001.so: cannot o
pen shared object file: No such file or directory .
2004-09-02 13:45:57 15141 15140 ERROR: Could not open XBSA library /usr/lib/ibsad001.so.
2004-09-02 13:45:57 15141 15140 ERROR: Unable to open file /informix/TST/etc/sm_versions
No such file or directory
2004-09-02 13:45:57 15141 15140 /informix/TST/bin/onbar_d: process exit 142 (0x8e)

Based on my understanding, OnBar is looking for and XBSA library. What is that library? And do I need it to do a backup on the local disk?

Is anyone has a kind of step by step installation and configuration of OnBar to backup on disk?
Reply With Quote
  #2 (permalink)  
Old 09-03-04, 09:29
cpaluch cpaluch is offline
Registered User
 
Join Date: Aug 2004
Posts: 19
To fix that problem do the folllowing:

ln -s $INFORMIXDIR/lib/libbsa.so /usr/lib/ibsad001.so

But there are several steps you still need to do to setup ISM which onbar needs to run. Do a search on the Internet. I know there is at least one good how-to out there, I can't remember the URL. Also I think the IBM site has some of the documents online.
Reply With Quote
  #3 (permalink)  
Old 09-07-04, 09:49
stjacqd stjacqd is offline
Registered User
 
Join Date: Jul 2003
Location: Boisbriand, Qc, Canada
Posts: 25
Thank you cpalush

It did work
Reply With Quote
  #4 (permalink)  
Old 09-07-04, 09:51
stjacqd stjacqd is offline
Registered User
 
Join Date: Jul 2003
Location: Boisbriand, Qc, Canada
Posts: 25
Now I can do backup.

But I cannot restore.

The bar_act.log :
2004-09-07 09:34:48 29308 29307 /informix/PRD/bin/onbar_d -r -p -w
2004-09-07 09:34:48 29308 29307 Successfully connected to Storage Manager.
2004-09-07 09:34:48 29308 29307 XBSA Error (BSAQueryObject): Backup object doe
s not exist in Storage Manager.
2004-09-07 09:34:53 29308 29307 Due to the previous error, logical restore wil
l not be attempted.
2004-09-07 09:34:53 29308 29307 /informix/PRD/bin/onbar_d: process exit 100 (0
x64)


Any Idea?
Reply With Quote
  #5 (permalink)  
Old 09-07-04, 09:57
cpaluch cpaluch is offline
Registered User
 
Join Date: Aug 2004
Posts: 19
Are you trying to restore on the same machine that you performed the backup on?

Also execute the following commands:

ism_show -devices

ism_show -volumes
Reply With Quote
  #6 (permalink)  
Old 09-07-04, 10:00
stjacqd stjacqd is offline
Registered User
 
Join Date: Jul 2003
Location: Boisbriand, Qc, Canada
Posts: 25
No, I am restoring on another machine.

I did transfer the ixbar.0 and onconfig.0 files

ism_show -devices
file disk 1 mounted on /dump/PRD/ISM_ARC, write enabled
file disk 2 mounted on /dump/PRD/ISM_LOGS, write enabled

ism_show -volumes
volume pool flags written (%) expires
1 ISMData 0 KB 09/06/06
2 ISMLogs 113 MB 100% 09/06/06
Reply With Quote
  #7 (permalink)  
Old 09-07-04, 10:44
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,

Please before run restore, run onbar -b -s, next run restore.

Gustavo
Reply With Quote
  #8 (permalink)  
Old 09-07-04, 11:14
stjacqd stjacqd is offline
Registered User
 
Join Date: Jul 2003
Location: Boisbriand, Qc, Canada
Posts: 25
Hi

I did a onbar -b -w

That was not OK?

What is -s? ( Salvage logs - What does that mean )

What I would like to do is:
Doing a fool backup and restore it on another server.
Reply With Quote
  #9 (permalink)  
Old 09-07-04, 14:03
bull_abraham bull_abraham is offline
Registered User
 
Join Date: Feb 2004
Posts: 32
For imported restores you will have to use the environment variable
INFXBSA_CLIENT=<hostname of the source machine where the backup was done>


This is for Veritas Netbackup, not sure what SM you are using.

-Abraham
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On