- 论坛徽章:
- 0
|
Legato备份informix安装文档
9.1x) the BAR_BSALIB_PATH variable does not have effect, in which case you
must make a symbolic link of libxnmi.sl.1 to ibsad001.sl. For more information, and the location of the XBSA shared library, refer to your Informix Dynamic Server
Release Notes.
2. Set the following variables in the $ONCONFIG file to the following:
• ISM_DATA_POOL DBMIData
• ISM_LOG_POOL DBMILogs
Updating the Informix User’s Profile
To update the Informix User’s profile in your informix user’s profile
<$INFORMIXDIR/.profile>; add the following variables:
NSR_DATA_VOLUME_POOL=Default
NSR_LOG_VOLUME_POOL=Default
export NSR_DATA_VOLUME_POOL
export NSR_LOG_VOLUME_POOL
13
Update the sm_versions File
You must update the shared NetWorker XBSA library links because ON-Bar does not
automatically update the required version values for the shared NetWorker XBSA
library into the sysutils.bar_version table or the sm_versions file. Without the required values for NetWorker XBSA, ON-Bar commands fail and the following message is displayed:
ERROR: Version 1.0.1 of the XBSA shared library is not compatible
with version 1 of ON-Bar.
To update the bar_version table, you must update the sm_versions file.
For Informix 9.x
a. Place the database server online.
b. Connect to sysutils from dbaccess.
c. Enter the SQL insert command:
insert into bar_version values ('1', '1.0.1', 'nwbsa', '1');
d. 用select语句查询一下
select * from bar_version
14
修改/opt/informix/bin/onbar,注释掉如下内容:
#if [ $onbar_d_return -eq 0 -a \( "$1" = -b -o "$1" = -l \) -a -x ${INFORMIXDIR}/bin/ism_catalog ] ; then
# ${INFORMIXDIR}/bin/ism_catalog -create_bootstrap -pool ISMData >; /dev/null 2>;&1
#fi
注意修改/opt/informix/etc/onconfig,注意修改如下内容:
LTAPEDEV something # Log tape device path
ISM_DATA_POOL DBMIData
ISM_LOG_POOL DBMILogs
15
用如下的命令先测试手工备份:
onbar –b rootdbs
同时打开另外一个窗口查看备份过程:
tail –f /tmp/bar_act.log
16
手工备份成功后,修改legato的脚本:
vi /opt/networker/bin/nsrdbmi
注意查看并修改如下内容:
NSR_DATA_VOLUME_POOL="Default"
NSR_LOG_VOLUME_POOL="Default"
INFORMIXDIR=/opt/informix
ONCONFIG=onconfig
PATH=$INFORMIXDIR/bin:/bin:/usr/sbin:/opt/networker/bin:/usr/opt/networker/bin:/usr/bin
然后在备份服务器上建立一个group,可以暂时命名为:cq1000 informix,
Save Set 为:INFORMIX:/cq1000/rootdbs
Command 为:nsrnmi
手工启动该group,看是否能成功备份。 |
|