您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > AI人工智能 > NBU70OracleforAIX安装配置手册
NBU7.0OracleforAIX安装配置手册浙江星汉信息技术有限公司目录一、NBU7.0AIX客户端安装配置...............................................................................................3二、NBU7.0AIX客户端脚本配置...............................................................................................8三、NBU7.0Catalog目录库备份设置.....................................................................................17四、NBU7.0oracleforaix备份作业设置...........................................................................22一、NBU7.0AIX客户端安装配置1、先设置客户端的hosts文件,包括备份服务器的hosts也要对应双向解析。#[root@p550b:/]#more/etc/hosts127.0.0.1loopbacklocalhost#loopback(lo0)name/address10.10.10.1p550a_boot1p550a20.20.20.1p550a_boot2172.16.1.7p550a_per10.10.10.2p550b_boot1p550b20.20.20.2p550b_boot2172.16.1.8p550b_per172.16.1.9ora_svr=====NBUbackupserver=====172.16.1.242hpdl380-backup2、#放入NBU7.0ForAIX光盘,在系统挂载安装盘[root@p550a:/dev]#mount-vcdrfs-oro/dev/cd0/mnt3、执行安装,并选择2客户端安装,提示选择Y继续[root@p550a:/mnt]#./install然后根据提示输入备份服务器的名称hpdl380-backup(一定要为备份服务器名,不建议用IP),提示选择Y继续选择后则开始安装软件如下:安装结束后选择3退出4、修改客户端NBU配置参数[root@p550b:/usr/openv/netbackup]#vibp.conf修改双机HACMP系统一台P550的/usr/openv/netbackup/bp.conf配置文件信息SERVER=hpdl380-backupCLIENT_NAME=p550a改为SERVER=hpdl380-backupCLIENT_NAME=ora_svrREQUIRED_INTERFACE=ora_svr5、修改客户端oracle数据库为归档模式[root@p550b:/usr/openv/netbackup]#su-oracle[oracle@p550b:/home/oracle]$sqlplus/assysdbaSQL*Plus:Release10.2.0.4.0-ProductiononFriFeb2515:48:482011Copyright(c)1982,2007,Oracle.AllRightsReserved.Connectedto:OracleDatabase10gEnterpriseEditionRelease10.2.0.4.0-64bitProductionWiththePartitioning,OLAP,DataMiningandRealApplicationTestingoptionsSQLarchiveloglist;DatabaselogmodeArchiveModeAutomaticarchivalEnabledArchivedestination/oracle/product/10.2.0/dbs/archOldestonlinelogsequence255Nextlogsequencetoarchive257Currentlogsequence257SQLshutdownimmediateDatabaseclosed.Databasedismounted.ORACLEinstanceshutdown.SQLstartupmount;ORACLEinstancestarted.TotalSystemGlobalArea1610612736bytesFixedSize2084400bytesVariableSize436208080bytesDatabaseBuffers1157627904bytesRedoBuffers14692352bytesDatabasemounted.SQLalterdatabasearchivelog;Databasealtered.SQLaltersystemsetlog_archive_dest_1='location=/archlog'scope=spfile;Systemaltered.SQLshutdownimmediateDatabaseclosed.Databasedismounted.ORACLEinstanceshutdown.SQLstartupORACLEinstancestarted.TotalSystemGlobalArea1610612736bytesFixedSize2084400bytesVariableSize436208080bytesDatabaseBuffers1157627904bytesRedoBuffers14692352bytesDatabasemounted.Databaseopened.SQLarchiveloglist;DatabaselogmodeArchiveModeAutomaticarchivalEnabledArchivedestination/archlogOldestonlinelogsequence255Nextlogsequencetoarchive257Currentlogsequence257SQLcreatepfilefromspfile;Filecreated.至此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数据库客户端安装完成;二、NBU7.0AIX客户端脚本配置1、先创建相关目录和文件[root@p550b:/]#cd/usr/openv[root@p550b:/usr/openv]#mkdircontrolfile[root@p550b:/usr/openv]#mkdirorascripts[root@p550b:/usr/openv]#cdcontrolfile[root@p550b:/usr/openv/controlfile]#touchcontrol.ora[root@p550b:/usr/openv/controlfile]#cd..[root@p550b:/usr/openv]#cdorascripts[root@p550b:/usr/openv/orascripts]#touchaix_ora_full.sh2、相关目录和文件赋予属主和权限[root@p550b:/usr/openv/orascripts]#cd..[root@p550b:/usr/openv]#ls-ltotal72drwxr-xr-x2rootsystem256Feb2516:03controlfiledrwxr-xr-x5rootbin4096Feb2515:40javadrwxr-xr-x7rootbin8192Feb2515:37libdrwxr-xr-x5rootsystem256Feb2515:40logsdrwxr-xr-x2rootbin256Jan052010msgdrwxr-xr-x8rootbin4096Feb2515:40netbackupdrwxr-xr-x2rootsystem256Feb2516:04orascripts-r--r--r--1rootbin5435Feb2515:40regid.1992-11.com.symantec,Enterprise_netbackup-7.0.0.0_1.swidtagdrwxr-xr-x2rootbin4096Jan052010resourcesdrwxr-xr-x2rootbin256Jan052010share-r--r--r--1rootbin5435Jan052010swidtag.xmldrwxr-xr-x2rootbin256Feb2515:43tmpdrwxr-xr-x5rootbin256Feb2515:37var[root@p550b:/usr/openv]#chown-Roracle:dbacontrolfile[root@p550b:/usr/openv]#chmod-R777controlfile[root@p550b:/usr/openv]#chown-Roracle:dbaorascripts[root@p550b:/usr/openv]#chmod-R777orascripts[root@p550b:/usr/openv]#ls-ltotal72drwxrwxrwx2oracledba256Feb2516:03controlfiledrwxr-xr-x5rootbin4096Feb2515:40javadrwxr-xr-x7rootbin8192Feb2515:37libdrwxr-xr-x5rootsystem256Feb2515:40logsdrwxr-xr-x2rootbin256Jan052010msgdrwxr-xr-x8rootbin4096Feb2515:40netbackupdrwxrwxrwx2oracledba256Feb2516:04orascripts-r--r--r--1rootbin5435Feb2515:40regid.1992-11.com.symantec,Enterprise_netbackup-7.0.0.0_1.swidtagdrwxr-xr-x2rootbin4096Jan052010resourcesdrwxr-xr-x2rootbin256Jan052010share-r--r--r--1rootbin5435Jan052010swidtag.xmldrwxr-xr-x2rootbin256Feb2515:43tmpdrwxr-xr-x5rootbin256Feb2515:37var3、编辑NBU备份数据库的Rman脚本aix_ora_full.sh[root@p550b:/usr/openv/orascripts]#viaix_ora_full.sh粘贴如下内容(完全备份oracle数据库和归档日志,并删除备份好的归档日志,注意修改实例名oracle_sid和oracle_home和实际环境一致)=================================================================#!/bin/sh#$Header:hot_database_backup.sh,v1.92002/02/0616:48:56lstrubStab$##bcpyrght#**************
本文标题:NBU70OracleforAIX安装配置手册
链接地址:https://www.777doc.com/doc-25854 .html