安装配置手册模板Word格式.docx

上传人:b****1 文档编号:3445839 上传时间:2023-05-01 格式:DOCX 页数:35 大小:1.80MB
下载 相关 举报
安装配置手册模板Word格式.docx_第1页
第1页 / 共35页
安装配置手册模板Word格式.docx_第2页
第2页 / 共35页
安装配置手册模板Word格式.docx_第3页
第3页 / 共35页
安装配置手册模板Word格式.docx_第4页
第4页 / 共35页
安装配置手册模板Word格式.docx_第5页
第5页 / 共35页
安装配置手册模板Word格式.docx_第6页
第6页 / 共35页
安装配置手册模板Word格式.docx_第7页
第7页 / 共35页
安装配置手册模板Word格式.docx_第8页
第8页 / 共35页
安装配置手册模板Word格式.docx_第9页
第9页 / 共35页
安装配置手册模板Word格式.docx_第10页
第10页 / 共35页
安装配置手册模板Word格式.docx_第11页
第11页 / 共35页
安装配置手册模板Word格式.docx_第12页
第12页 / 共35页
安装配置手册模板Word格式.docx_第13页
第13页 / 共35页
安装配置手册模板Word格式.docx_第14页
第14页 / 共35页
安装配置手册模板Word格式.docx_第15页
第15页 / 共35页
安装配置手册模板Word格式.docx_第16页
第16页 / 共35页
安装配置手册模板Word格式.docx_第17页
第17页 / 共35页
安装配置手册模板Word格式.docx_第18页
第18页 / 共35页
安装配置手册模板Word格式.docx_第19页
第19页 / 共35页
安装配置手册模板Word格式.docx_第20页
第20页 / 共35页
亲,该文档总共35页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

安装配置手册模板Word格式.docx

《安装配置手册模板Word格式.docx》由会员分享,可在线阅读,更多相关《安装配置手册模板Word格式.docx(35页珍藏版)》请在冰点文库上搜索。

安装配置手册模板Word格式.docx

=====NBUbackupserver=====

172.16.1.242hpdl380-backup

2、#放入NBU7.0ForAIX光盘,在系统挂载安装盘

[root@p550a:

/dev]#mount-vcdrfs-oro/dev/cd0/mnt

3、实施安装,并选择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-backup

CLIENT_NAME=p550a

改为

CLIENT_NAME=ora_svr

REQUIRED_INTERFACE=ora_svr

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

/usr/openv/netbackup]#su-oracle

[oracle@p550b:

/home/oracle]$sqlplus"

/assysdba"

SQL*Plus:

Release10.2.0.4.0-ProductiononFriFeb2515:

48:

48

Copyright(c)1982,,Oracle.AllRightsReserved.

Connectedto:

OracleDatabase10gEnterpriseEditionRelease10.2.0.4.0-64bitProduction

WiththePartitioning,OLAP,DataMiningandRealApplicationTestingoptions

SQL>

archiveloglist;

DatabaselogmodeArchiveMode

AutomaticarchivalEnabled

Archivedestination/oracle/product/10.2.0/dbs/arch

Oldestonlinelogsequence255

Nextlogsequencetoarchive257

Currentlogsequence257

shutdownimmediate

Databaseclosed.

Databasedismounted.

ORACLEinstanceshutdown.

startupmount;

ORACLEinstancestarted.

TotalSystemGlobalAreabytes

FixedSize2084400bytes

VariableSizebytes

DatabaseBuffersbytes

RedoBuffers14692352bytes

Databasemounted.

alterdatabasearchivelog;

Databasealtered.

altersystemsetlog_archive_dest_1='

location=/archlog'

scope=spfile;

Systemaltered.

startup

Databaseopened.

Archivedestination/archlog

createpfilefromspfile;

Filecreated.

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

6、oracle用户实施备份软件NBU和oracle数据库连接库程序oracle_link

/]#su-oracle

/home/oracle]$cd/usr/openv/netbackup/bin

/usr/openv/netbackup/bin]$./oracle_link

提醒选择Y继续

至此NBUoracle数据库用户端安装完成;

二、NBU7.0AIX用户端脚本配置

1、先创建相关目录和文件

/]#cd/usr/openv

/usr/openv]#mkdircontrolfile

/usr/openv]#mkdirorascripts

/usr/openv]#cdcontrolfile

/usr/openv/controlfile]#touchcontrol.ora

/usr/openv/controlfile]#cd..

/usr/openv]#cdorascripts

/usr/openv/orascripts]#touchaix_ora_full.sh

2、相关目录和文件给予属主和权限

/usr/openv/orascripts]#cd..

/usr/openv]#ls-l

total72

drwxr-xr-x2rootsystem256Feb2516:

03controlfile

drwxr-xr-x5rootbin4096Feb2515:

40java

drwxr-xr-x7rootbin8192Feb2515:

37lib

drwxr-xr-x5rootsystem256Feb2515:

40logs

drwxr-xr-x2rootbin256Jan05msg

drwxr-xr-x8rootbin4096Feb2515:

40netbackup

04orascripts

-r--r--r--1rootbin5435Feb2515:

40regid.1992-.symantec,Enterprise_netbackup-7.0.0.0_1.swidtag

drwxr-xr-x2rootbin4096Jan05resources

drwxr-xr-x2rootbin256Jan05share

-r--r--r--1rootbin5435Jan05swidtag.xml

drwxr-xr-x2rootbin256Feb2515:

43tmp

drwxr-xr-x5rootbin256Feb2515:

37var

/usr/openv]#chown-Roracle:

dbacontrolfile

/usr/openv]#chmod-R777controlfile

dbaorascripts

/usr/openv]#chmod-R777orascripts

drwxrwxrwx2oracledba256Feb2516:

3、编辑NBU备份数据库Rman脚本aix_ora_full.sh

/usr/openv/orascripts]#viaix_ora_full.sh

粘贴以下内容(完全备份oracle数据库和归档日志,并删除备份好归档日志,注意修改实例名oracle_sid和oracle_home和实际环境一致)

=================================================================

#!

/bin/sh

#$Header:

hot_database_backup.sh,v1.9/02/0616:

56lstrubStab$

#

#bcpyrght

#***************************************************************************

#*$VRTScprght:

Copyright1993-VERITASSoftwareCorporation,AllRightsReserved$*

#ecpyrght

#---------------------------------------------------------------------------

#hot_database_backup.sh

#ThisscriptusesRecoveryManagertotakeahot(inconsistent)database

#backup.Ahotbackupisinconsistentbecauseportionsofthedatabaseare

#beingmodifiedandwrittentothediskwhilethebackupisprogressing.

#YoumustrunyourdatabaseinARCHIVELOGmodetomakehotbackups.Itis

#assumedthatthisscriptwillbeexecutedbyuserroot.InorderforRMAN

#toworkproperlyweswitchuser(su-)totheoracledbaaccountbefore

#execution.IfthisscriptrunsunderauseraccountthathasOracledba

#privilege,itwillbeexecutedusingthisuser'

saccount.

#Determinetheuserwhichisexecutingthisscript.

CUSER=`id|cut-d"

("

-f2|cut-d"

)"

-f1`

#Putoutputin<

thisfilename>

.out.Changeasdesired.

#Note:

outputdirectoryrequireswritepermission.

RMAN_LOG_FILE=${0}.`date+%Y%m%d%H%M%S`.out

#Youmaywanttodeletetheoutputfilesothatbackupinformationdoes

#notaccumulate.Ifnot,deletethefollowinglines.

if[-f"

$RMAN_LOG_FILE"

]

then

rm-f"

fi

#-----------------------------------------------------------------

#Initializethelogfile.

echo>

>

$RMAN_LOG_FILE

chmod666$RMAN_LOG_FILE

#Logthestartofthisscript.

echoScript$0>

echo====startedon`date`====>

#Replace/db/oracle/product/ora81,below,withtheOraclehomepath.

ORACLE_HOME=/oracle/product/10.2.0

exportORACLE_HOME

#Replaceora81,below,withtheOracleSIDofthetargetdatabase.

ORACLE_SID=orclyw

exportORACLE_SID

#Replaceora81,below,withtheOracleDBAuserid(account).

ORACLE_USER=oracle

#Setthetargetconnectstring.

#Replace"

sys/manager"

below,withthetargetconnectstring.

TARGET_CONNECT_STR=/

#SettheOracleRecoveryManagername.

RMAN=$ORACLE_HOME/bin/rman

#Printoutthevalueofthevariablessetbythisscript.

echo"

RMAN:

$RMAN"

>

ORACLE_SID:

$ORACLE_SID"

ORACLE_USER:

$ORACLE_USER"

ORACLE_HOME:

$ORACLE_HOME"

#Printoutthevalueofthevariablessetbybphdb.

NB_ORA_FULL:

$NB_ORA_FULL"

NB_ORA_INCR:

$NB_ORA_INCR"

NB_ORA_CINC:

$NB_ORA_CINC"

NB_ORA_SERV:

$NB_ORA_SERV"

NB_ORA_POLICY:

$NB_OR

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 表格模板 > 合同协议

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2