NBU+Oracle+AIX安装配置手册- 副本 联系客服

发布时间 : 星期日 文章NBU+Oracle+AIX安装配置手册- 副本更新完毕开始阅读

4、修改客户端NBU配置参数

[root@p550b:/usr/openv/netbackup]#vi bp.conf

修改双机HACMP系统一台P550的/usr/openv/netbackup/bp.conf配置文件信息 SERVER = hpdl380-backup CLIENT_NAME = p550a 改为

SERVER = hpdl380-backup CLIENT_NAME = ora_svr REQUIRED_INTERFACE = ora_svr

5、修改客户端oracle数据库为归档模式

[root@p550b:/usr/openv/netbackup]#su - oracle [oracle@p550b:/home/oracle]$sqlplus \

SQL*Plus: Release 10.2.0.4.0 - Production on Fri Feb 25 15:48:48 2011

Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

Connected to:

Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> archive log list;

Database log mode Archive Mode

Automatic archival Enabled

Archive destination /oracle/product/10.2.0/dbs/arch Oldest online log sequence 255 Next log sequence to archive 257 Current log sequence 257 SQL> shutdown immediate Database closed.

Database dismounted.

ORACLE instance shut down. SQL> startup mount; ORACLE instance started.

Total System Global Area 1610612736 bytes Fixed Size 2084400 bytes Variable Size 436208080 bytes Database Buffers 1157627904 bytes Redo Buffers 14692352 bytes Database mounted.

SQL> alter database archivelog;

Database altered.

SQL> alter system set log_archive_dest_1='location=/archlog' scope=spfile;

System altered.

SQL> shutdown immediate Database closed.

Database dismounted.

ORACLE instance shut down. SQL> startup

ORACLE instance started.

Total System Global Area 1610612736 bytes Fixed Size 2084400 bytes Variable Size 436208080 bytes Database Buffers 1157627904 bytes Redo Buffers 14692352 bytes Database mounted. Database opened. SQL> archive log list;

Database log mode Archive Mode Automatic archival Enabled Archive destination /archlog

Oldest online log sequence 255 Next log sequence to archive 257 Current log sequence 257 SQL> create pfile from spfile;

File created.

至此oracle数据库归档开启完成;

6、oracle用户执行备份软件NBU和oracle数据库连接库程序oracle_link [root@p550b:/]#su - oracle

[oracle@p550b:/home/oracle]$cd /usr/openv/netbackup/bin [oracle@p550b:/usr/openv/netbackup/bin]$./oracle_link 提示选择Y继续

至此NBU的oracle数据库客户端安装完成;