




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、【技术文档】VERITASNBU7.0安装配置手册目录一、安装信息3二. 软件安装3master server3media server4cnt server4一、安装信息二. 软件安装2.1 master server1、放入安装 CD,点击 Browser.exe。2、点击 install 进行安装3 选择 server software installation,再选择 master server 进行安装。2.2media server1、安装 media server 时,同 2.1 步骤,选择是 media server,安装过程中指定 master server为 jhgt,2.
2、3cnt server1、安装cnt 时,同 2.1 步骤中,选择是 cnt software installation 进行安装,安装过程中指定 master server 为 jhgt详细安装文档参见 NetBackup_Install_Win.pdf三、NUB 配置文档1、选择configure disk pool,扫描介质,添加 NBU media server 和cnt 端。2、本项目扫描介质如下,5 个 IBM 3580-TD4 驱动器,46 盒 400G 磁带。3、创建 volume pool,本项 catalog 分配 2 盒磁带,其余磁带分配给 scratch。4、创建一个备
3、份策略,如下图:5、选择备份 media server、cnt 备份内容以及备份所需 volume pool 和备份策略等信息6、查看备份任务四、NBU手册1、数据库备份策略2、备份周期和时间3、备份和备份内容4、备份REM $Header: hot_database_backup.cmd,v 1.3 2005/11/28 19:01:53 $REM bcpyrghtREM*REM * $VRTScprght: Copyright 1993 - 2009 Symantec Corporation,s$ *REM*REM ecpyrghtREMREMREMhot_database_backup.
4、cmdREMREM This script uses Recovery Manager to take a hot (inconsistent) databaseREM backup. A hot backup is inconsistent because portions of the database areREM being modified and written to the disk while the backup is progressing.REM You must run your database in ARCHIVELOG mode to make hot backu
5、ps.REMREM NOTE information for running proxy backups has been included.TheseREM information sections begin wicomment line of PROXYREMsetlocal ENABLEEXTENSREMREM No need to echo theds.REMecho offREMREM Put outputhe same filename, different exten.REMset RMAN_LOG_FILE=%dpn0.outREMREM You may want tete
6、the output file sot backup information doesREM not accumulate.If not, delete the followingd.REMif exist %RMAN_LOG_FILE% del %RMAN_LOG_FILE%REMREM Replace H:oracleora81, below, with the Oracle home path.REMset ORACLE_HOME=C:oracleproduct10.2.0db_1REMREM Replace ora81, below, with the Oracle SID.REMse
7、t ORACLE_SID=JHGTREMREM Replays/manager, below, with theconnect string.REMset_CONNECT_STR=/REMREM Set the Oracle Recovery Manager.REMset RMAN=%ORACLE_HOME%binrman.exeREMREM PROXYREM For a PROXY backup,ment the line below and replace the value.REMREMNB_ORA_PC_STREAMS - specifies the number of paralle
8、l backup streamsREMto be started.REMREM set NB_ORA_PC_STREAMS=3REMREM Log the start of this scripts.REMfor /F tokens=1* %p in (date /T) do set DATE=%p %qfor /F %p in (time /T) do set DATE=%DATE% %pecho = started on %DATE% = %RMAN_LOG_FILE%echo Script name: %0 %RMAN_LOG_FILE%REMREM Several RMANds use
9、 time parameterst require NLS_LANG andREM NLS_DATE_FORMAT to be set. This example uses the standard date format.REM Replace below with the desired language values.REMset NLS_LANG=americanset NLS_DATE_FORMAT=YYYY-MM-DD:hh24:mi:ssREMREM Prout environment variables sethis script.REMecho # %RMAN_LOG_FIL
10、E%echoRMAN:%RMAN% %RMAN_LOG_FILE%echoNLS_LANG:%NLS_LANG% %RMAN_LOG_FILE%echoORACLE_HOME:%ORACLE_HOME% %RMAN_LOG_FILE%echoORACLE_SID:%ORACLE_SID% %RMAN_LOG_FILE%echoNLS_DATE_FORMAT:%NLS_DATE_FORMAT% %RMAN_LOG_FILE%echoRMAN_LOG_FILE:%RMAN_LOG_FILE% %RMAN_LOG_FILE%REMREM PROXYREM For a PROXY backup,men
11、t the line below.REMREM echoNB_ORA_PC_STREAMS:%NB_ORA_PC_STREAMS% %RMAN_LOG_FILE%REMREM Prout environment variables set in bphdb.REMechoNB_ORA_SERV:%NB_ORA_SERV% %RMAN_LOG_FILE%echoNB_ORA_FULL:%NB_ORA_FULL% %RMAN_LOG_FILE%echoNB_ORA_INCR:%NB_ORA_INCR% %RMAN_LOG_FILE%echoNB_ORA_CINC:%NB_ORA_CINC% %RM
12、AN_LOG_FILE%echoNB_ORA_CLASS:%NB_ORA_CLASS% %RMAN_LOG_FILE%REMREM We amet the database is properly opened. If desired, this wouldREM be the place to verifyt.REMREMREM If this script is executed from a NetBackup schedule, NetBackupREM sets an NB_ORA environment variabased on the schedule type.REM For
13、 example, when:REMschedule type isBACKUP_TYPE isREM-REM Automatic FullINCREMENTAL LEVEL=0REM Automatic Differential IncrementalINCREMENTAL LEVEL=1REM Automatic Cumulative IncrementalINCREMENTAL LEVEL=1 CUMULATIVEREMREM For user initiated backups, BACKUP_TYPE defaults to incrementalREM level 0 (Full)
14、.To change the default for a user initiatedREM backup to incremental or incremenl cumulative,mentREM one of the followino lines.REM set BACKUP_TYPE=INCREMENTAL LEVEL=1REM set BACKUP_TYPE=INCREMENTAL LEVEL=1 CUMULATIVEREMREM Notet we use incremental level 0 to specify full backups.REMt is because, al
15、though they are identical in content, onlyREM the incremental level 0 backup cane incremental backups ofREM level 0 appd to it.REMREMREM What kind of backup willerform.REMif %NB_ORA_FULL% EQU 1 set BACKUP_TYPE=INCREMENTAL Level=0if %NB_ORA_INCR% EQU 1 set BACKUP_TYPE=INCREMENTAL Level=1if %NB_ORA_CI
16、NC% EQU 1 set BACKUP_TYPE=INCREMENTAL Level=1CUMULATIVEif NOT DEFINED BACKUP_TYPE set BACKUP_TYPE=INCREMENTAL Level=0REMREM Call Recovery Manager to initiate the backup. This example does not use aREM Recovery Catalog. If you choose to use one, remove the option, nocatalog,REM from the rmand line be
17、low and add aREM rcvcat / sement.REMREMNOTE WHEN USING TNS ALIAS: When connecting to a databaseREMusing a TNS alias, you must use a sendd or a parms operand toREMspecify environment variables.In other words, when acsing a databaseREMthrough a listener, the environment variables sethe system level ar
18、e notREMvisible when RMAN is running.For more information on the environmentREMvariables, please refer to the NetBackup for Oracle Admin. Guide.REMREM If you are getting an errort the input line is too long, you will needREM to put the RMAN run block in a separate file.Then use the cmdfileREM option
19、 of RMAN.For more information on the cmdfile options pleaseREM refer to the RMANation.REMREMREM PROXYREM For a PROXY backup, you must use a sendd to specifyREM the NB_ORA_PC_STREAMS environment variable. For example,REM echo ALLOCATE CHANNEL ch01 TYPE SBT_T;REM echo SEND NB_ORA_PC_STREAMS=%NB_ORA_PC
20、_STREAMS%;REMREM %BACKUP_TYPE% must also be removed and replaced with the PROXY parameterREMhe RMAN section assoted with the data files.For example,REM echo BACKUPREM echoPROXYREM echoFORMAT bk_u%u_s%s_p%p_t%tREM echoDATABASE;REM.REM.REMNotet the controlfiles and archivelogs are not backed up using
21、proxyREMcopy method. Rman will initiate non-proxy copy sess to backup theREMcontrolfile and archivelogs.REM(echo RUN echo ALLOCATE CHANNEL ch00 TYPE SBT_T;echo send NB_ORA_POLICY=jhgtn-clus_oracle_db,NB_ORA_CNT=jhgtn-clus;echo BACKUPecho%BACKUP_TYPE%echoFORMAT bk_u%u_s%s_p%p_t%techoDATABASE;echo sql
22、 alter system archive log current;echo RELEASE CHANNEL ch00;echo # Backup all archive logsecho ALLOCATE CHANNEL ch00 TYPE SBT_T;echo send NB_ORA_POLICY=jhgtn-clus_oracle_db,NB_ORA_CNT=jhgtn-clus;echo BACKUPechoFILESPERSET 20echoFORMAT arch-s%s-p%pechoARCHIVELOG ALL DELETE INPUT;echo RELEASE CHANNEL
23、ch00;#备份数据库,备份完数据库以后删除归档文件。echo # Backup controlfileecho ALLOCATE CHANNEL ch00 TYPE SBT_T;echo send NB_ORA_POLICY=jhgtn-clus_oracle_db,NB_ORA_CNT=jhgtn-clus;echo BACKUPechoFORMAT cntrl_%s_%p_%techoCURRENT CONTROLFILE;echo RELEASE CHANNEL ch00;#备份数据库 control 文件到虚拟带库echo # copy ourrent controlfile to
24、d:oradatascriptsecho ALLOCATE CHANNEL ch00 TYPE DISK;echo send NB_ORA_POLICY=jhgtn-clus_oracle_db,NB_ORA_CNT=jhgtn-clus;echoCOPY CURRENT CONTROLFILE TO D:oradatascriptscontrolfile_jhgt.ctl;echo RELEASE CHANNEL ch00;echo ) | %RMAN%_CONNECT_STR% nocatalog msglog %RMAN_LOG_FILE%appendset ERRLEVEL=%ERRORLEVEL%REMREM NetBackup (bphdb)s t
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年中国手推式洗地机行业市场评估分析及前景调研战略研究报告
- 2018-2024年中国橄榄油市场深度调研分析及投资前景研究预测报告
- 2025年中国微波型液位传感器行业市场前景预测及投资价值评估分析报告
- 沙滩伞骨行业深度研究分析报告(2024-2030版)
- 护理感染控制课件图片
- 双向卡行业深度研究分析报告(2024-2030版)
- 科尔沁艺术职业学院《英语阅读(三)》2023-2024学年第二学期期末试卷
- 沈阳药科大学《读懂医学化验单》2023-2024学年第二学期期末试卷
- 郑州汽车工程职业学院《基础写作(二)》2023-2024学年第二学期期末试卷
- 无锡科技职业学院《中学美术教学案例分析》2023-2024学年第二学期期末试卷
- 苏州大学《普通物理学三》2021-2022学年第一学期期末试卷
- 工业大数据采集处理与应用
- 公共体育(四)学习通超星期末考试答案章节答案2024年
- 正畸病历书模板
- 超星尔雅学习通《微生物与人类健康(复旦大学)》2024章节测试答案
- 《RT-Thread实时操作系统内核、驱动和应用开发技术》全套教学课件
- 舌癌放疗护理
- PPH术后护理查房
- 三年级数学下册计算题大全(每日一练共18份)
- 09SMS202-1埋地矩形雨水管道及附属构筑物(混凝土模块砌体)
- 2022-2023学年江苏省苏州市高二下学期学业质量阳光指标调研卷英语试卷
评论
0/150
提交评论