Chinaunix

标题: 求助:NBU 6.5 备份Informix出错 [打印本页]

作者: justme_cxq    时间: 2010-08-24 20:50
标题: 求助:NBU 6.5 备份Informix出错
NBU版本:6.5.5
Informix双机Client,系统为SUSE Linux Enterprise Server 10 SP1 (x86_64)

2010-08-24 14:39:56 20469  20467 /opt/informix/bin/onbar_d -b -w -L 0
2010-08-24 14:39:56 20469  20467 Working with veritas-netbackup as generic storage manager.
2010-08-24 14:39:56 20469  20467 Archive started on rootdbs, workdbs, tempdbs, logdbs, phydbs (Requested Level 0).
2010-08-24 14:39:56 20469  20467 Unable to start the storage space backup: Another archive is already in progress on DBspace workdbs..
2010-08-24 14:39:56 20469  20467 Unable to start the storage space backup: Another archive is already in progress on DBspace workdbs..
2010-08-24 14:39:56 20469  20467 Unable to start the storage space backup: Another archive is already in progress on DBspace workdbs..
2010-08-24 14:39:56 20469  20467 Unable to start the storage space backup: Another archive is already in progress on DBspace workdbs..
2010-08-24 14:39:56 20469  20467 Unable to start the storage space backup: Another archive is already in progress on DBspace workdbs..
2010-08-24 14:39:56 20469  20467 Archive on rootdbs, workdbs, tempdbs, logdbs, phydbs ABORTED (Requested Level 0).
2010-08-24 14:39:56 20469  20467 Unable to start the storage space backup: buc_fe.c : Archive API processing failed at line 258 for rc.
2010-08-24 14:39:56 20469  20467 Unable to close the storage space backup: Archive API error: not yet open.
2010-08-24 14:39:56 20469  20467 ASSERT: file bar_ins.ec:bar_ins_ins() line 216 - contact product support
作者: s5619132    时间: 2010-08-25 00:08
你先試試配置参数LBU PRESERVE 置为1
再重啟 backup job

看看結果!!
作者: justme_cxq    时间: 2010-08-25 00:10
LBU PRESERVE 这个参数做什么用的
我的ONCONFIG文件中没有这个参数呢
作者: s5619132    时间: 2010-08-25 00:14
在onconfig文件中添加设置

on-bar在LBU PRESERVE数据库中存放备份和档案信息。由于这个数据库使用事务日志,因此应保证存档和逻辑日志备份期间不会填满逻辑日志,从而保证不填满最后一个逻辑日志,保留给on-bar使用。使用on-bar,将配置参数LBU PRESERVE 置为1,将最后一个逻辑日志留给on-bar。


你先試試看 !!(修改前先 copy!!)
作者: justme_cxq    时间: 2010-08-25 00:24
附我的onconfig文件内容

=====================================
ROOTNAME        rootdbs         # Root dbspace name
ROOTPATH        /dev/vx/dsk/datavg/lvrootdbs # Path for device containing root dbspace
ROOTOFFSET      50              # Offset of root dbspace into device (Kbytes)
ROOTSIZE        2048000         # Size of root dbspace (Kbytes)

# Disk Mirroring Configuration Parameters

MIRROR          0               # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH                      # Path for device containing mirrored root
MIRROROFFSET    0               # Offset into mirrored device (Kbytes)

# Physical Log Configuration

PHYSDBS         phydbs          # Location (dbspace) of physical log
PHYSFILE        1900000         # Physical log file size (Kbytes)


#TAPEDEV                /dev/null       # Tape device path
TAPEDEV          /opt/informix/smpdbs1     smpdbs1指向/dev/null
TAPEBLK         64              # Tape block size (Kbytes)
TAPESIZE        10240000                # Maximum amount of data to put on tape (Kbytes)

# Log Archive Tape Device

#LTAPEDEV       /dev/null       # Log tape device path
#LTAPEDEV          /opt/informix/smpdbs2
LTAPEDEV        /opt/informix/lp            lp也指向/dev/null
LTAPEBLK        64              # Log tape block size (Kbytes)
LTAPESIZE       10240000                # Max amount of data to put on log tape (Kbytes)

# CDR_MAX_DYNAMIC_LOGS
# -1 => unlimited
#  0 => disable dynamic log addition
# >0 => limit the no. of dynamic log additions with the specified value.
# Max dynamic log requests that CDR can make within one server session.

CDR_MAX_DYNAMIC_LOGS    0  # Dynamic log addition disabled by default

# Backup/Restore variables
BAR_ACT_LOG   /opt/informix/bar_act.log  # ON-Bar Log file - not in /tmp please
BAR_DEBUG_LOG /opt/informix/bar_dbug.log # ON-Bar Debug Log - not in /tmp please
#BAR_MAX_BACKUP 0
BAR_MAX_BACKUP  2
BAR_RETRY       5
BAR_NB_XPORT_COUNT 20
BAR_XFER_BUF_SIZE 31
RESTARTABLE_RESTORE     ON
BAR_PROGRESS_FREQ       0
BAR_BSALIB_PATH /usr/openv/netbackup/bin/infxbsa.so64

# Informix Storage Manager variables
ISM_DATA_POOL   ISMData
ISM_LOG_POOL    ISMLogs

onconfig.rar

6.57 KB, 下载次数: 20


作者: justme_cxq    时间: 2010-08-25 00:24
ok,我修改下看
作者: justme_cxq    时间: 2010-08-25 00:27
改了还是一样的错误!~~~~~

搞了一天了,都不知道怎么回事
作者: csunreal    时间: 2010-08-25 08:56
查看一下进程里还有没有其他的ONBAR或者ONTAPE,有的话,停掉再试试。
作者: s5619132    时间: 2010-08-25 09:02
http://docs.nojabrsk.ru/informix/english/docs/83eds/6521A.pdf

這是 onconfig 的 administrator guide
你可以參考
順便看看 page-103
作者: justme_cxq    时间: 2010-08-25 20:20
thanks
作者: justme_cxq    时间: 2010-08-28 23:27
up
作者: onion    时间: 2010-08-31 14:14
/usr/openv/netbackup/bp.conf  增加 VERBOSE = 5
/usr/openv/netbackup/l建立如下目录,777权限
/usr/openv/netbackup/logs/bpbackup
/usr/openv/netbackup/logs/bpbkar
/usr/openv/netbackup/logs/bphdb
/usr/openv/netbackup/logs/bprestore
/usr/openv/netbackup/logs/tar
/usr/openv/netbackup/logs/infxbsa

infxbsa 的log 一般可以看出报错原因




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2