存儲(chǔ)白皮書nbu安裝配置手冊(cè)_第1頁(yè)
存儲(chǔ)白皮書nbu安裝配置手冊(cè)_第2頁(yè)
存儲(chǔ)白皮書nbu安裝配置手冊(cè)_第3頁(yè)
存儲(chǔ)白皮書nbu安裝配置手冊(cè)_第4頁(yè)
存儲(chǔ)白皮書nbu安裝配置手冊(cè)_第5頁(yè)
已閱讀5頁(yè),還剩16頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、【技術(shù)文檔】VERITASNBU7.0安裝配置手冊(cè)目錄一、安裝信息3二. 軟件安裝3master server3media server4cnt server4一、安裝信息二. 軟件安裝2.1 master server1、放入安裝 CD,點(diǎn)擊 Browser.exe。2、點(diǎn)擊 install 進(jìn)行安裝3 選擇 server software installation,再選擇 master server 進(jìn)行安裝。2.2media server1、安裝 media server 時(shí),同 2.1 步驟,選擇是 media server,安裝過(guò)程中指定 master server為 jhgt,2.

2、3cnt server1、安裝cnt 時(shí),同 2.1 步驟中,選擇是 cnt software installation 進(jìn)行安裝,安裝過(guò)程中指定 master server 為 jhgt詳細(xì)安裝文檔參見 NetBackup_Install_Win.pdf三、NUB 配置文檔1、選擇configure disk pool,掃描介質(zhì),添加 NBU media server 和cnt 端。2、本項(xiàng)目掃描介質(zhì)如下,5 個(gè) IBM 3580-TD4 驅(qū)動(dòng)器,46 盒 400G 磁帶。3、創(chuàng)建 volume pool,本項(xiàng) catalog 分配 2 盒磁帶,其余磁帶分配給 scratch。4、創(chuàng)建一個(gè)備

3、份策略,如下圖:5、選擇備份 media server、cnt 備份內(nèi)容以及備份所需 volume pool 和備份策略等信息6、查看備份任務(wù)四、NBU手冊(cè)1、數(shù)據(jù)庫(kù)備份策略2、備份周期和時(shí)間3、備份和備份內(nèi)容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;#備份數(shù)據(jù)庫(kù),備份完數(shù)據(jù)庫(kù)以后刪除歸檔文件。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;#備份數(shù)據(jù)庫(kù) control 文件到虛擬帶庫(kù)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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論