RMAN与带库.docx

上传人:b****5 文档编号:2929636 上传时间:2022-11-16 格式:DOCX 页数:31 大小:41.37KB
下载 相关 举报
RMAN与带库.docx_第1页
第1页 / 共31页
RMAN与带库.docx_第2页
第2页 / 共31页
RMAN与带库.docx_第3页
第3页 / 共31页
RMAN与带库.docx_第4页
第4页 / 共31页
RMAN与带库.docx_第5页
第5页 / 共31页
点击查看更多>>
下载资源
资源描述

RMAN与带库.docx

《RMAN与带库.docx》由会员分享,可在线阅读,更多相关《RMAN与带库.docx(31页珍藏版)》请在冰豆网上搜索。

RMAN与带库.docx

RMAN与带库

SkipHeaders

Oracle9iRecoveryManagerUser'sGuide

Release2(9.2)

PartNumberA96566-01

Home

BookList

Contents

Index

MasterIndex

Feedback

8

ConfiguringtheRecoveryManagerEnvironment

Thischapterdescribeshowtoperformsetupandconfigurationtasks.Thischaptercontainsthesetopics:

∙ConfiguringRMANtoMakeBackupstoaMediaManager

∙ConfiguringAutomaticChannels

∙ConfiguringtheControlFileandServerParameterFileAutobackup

∙ConfiguringtheBackupRetentionPolicy

∙ConfiguringtheMaximumSizeofBackupSets

∙ConfiguringBackupOptimization

∙ConfiguringtheNumberofBackupCopies

∙ConfiguringTablespacesforExclusionfromWholeDatabaseBackups

∙SettingGlobalizationSupportEnvironmentVariablesforRMAN

∙ConfiguringtheSnapshotControlFileLocation

∙SettingUpRMANforUsewithaSharedServer

∙SettingUpaRecoveryCatalog

ConfiguringRMANtoMakeBackupstoaMediaManager

Onmostplatforms,tobackuptoandrestorefromsequentialmediasuchastape,youmustintegrateamediamanagerwithOracle.AmediamanagerisnotanOracleproductandmustbeobtainedfromathird-partyvendor.IfyouchoosetouseRMANwithamediamanager,thenyoumustobtainallproduct-specificinformationfromthevendor.

ThissectiondescribesthegenericstepsforconfiguringRMANforusewithamediamanager.TheactualstepsdependonthemediamanagementproductthatyouinstallandtheplatformonwhichyouarerunningOracle.

Readthefollowingsectionsinorderwhenconfiguringthemediamanager:

1.PrerequisitesforUsingaMediaManagerwithRMAN

2.HowOracleInteractswiththeMediaManager

3.IntegratingRMANwiththeMediaManager:

BasicSteps

4.TestingWhethertheMediaManagerLibraryIsIntegratedCorrectly

5.ConfiguringAutomaticChannelsforUsewithaMediaManager

SeeAlso:

"MediaManagement"foranoverviewofmediamanagementsoftwareanditsimplicationsforRMAN

PrerequisitesforUsingaMediaManagerwithRMAN

BeforeyoucanbeginusingRMANwithamediamanager,youmustinstallitandmakesurethatRMANcancommunicatewithit.Instructionsforthisprocedureshouldbeavailableinthemediamanagervendor'ssoftwaredocumentation.

Dependingontheproductthatyouareinstalling,thefollowingbasicstepsapply:

1.Installandconfigurethemediamanagementsoftwareonthetargethostorproductionnetwork.NoRMANintegrationisrequiredatthisstage.

2.Ensurethatyoucanmakenon-RMANbackupsofoperatingsystemfilesonthetargetdatabasehost.Thisstepmakeslatertroubleshootingmucheasier.Refertoyourmediamanagementdocumentationtolearnhowtobackupfilestothemediamanager.

3.Obtainandinstallthethird-partymediamanagementmoduleforintegrationwiththeOracleserver.ThismodulemustcontainthelibrarythatOracleloadswhenaccessingthemediamanager.

Ifyouhavenotperformedtheprecedingsteps,thendonotproceedwiththemediamanagementconfiguration.

HowOracleInteractswiththeMediaManager

Tomakebackupstoamediamanager,RMANmustcommunicatewithamediamanagementlibrary.TheprocedureforusingRMANwithamediamanagerinOracle9ihasnotchangedfrompreviousreleases.

Theloadingofamediamanagerlibraryisoperatingsystemspecific.WhenyouRMANallocateschannels,itusesthefollowingalgorithmwhendecidingwhichlibrarytoload:

1.AttemptstoloadthelibraryindicatedbytheSBT_LIBRARYparameterintheALLOCATECHANNELorCONFIGURECHANNELcommand.IftheSBT_LIBRARYparameterisnotspecified,thenOracleproceedstothenextstep.

2.Attemptstoloadthedefaultmediamanagementlibrary.Thefilenameofthedefaultlibraryisoperatingsystemspecific.OnUNIX,thelibraryfilenameis$ORACLE_HOME/lib/libobk.so,withtheextensionnamevaryingaccordingtoplatform:

.so,.sl,.a,andsoforth.OnWindowsNTthelibraryisnamed%ORACLE_HOME%\bin\orasbt.dll.

Note:

ThedefaultmediamanagementlibraryfileisnotpartofthestandardOracleinstallationasinpreviousreleases,soyoucanonlycreateitbyinstallingthird-partymediamanagementsoftware.

3.IfOracleisunabletolocatethedefaultlibraryinthepreviousstep,thenRMANissuesanORA-27211errorandexits.

Wheneverchannelallocationfails,OraclewritesatracefiletotheUSER_DUMP_DESTdirectory.Thefollowingshowssampleoutput:

SKGFQOSD:

Errorinfunctionsbtinitonline2278

SKGFQOSD:

LookforSBTTracemessagesinfile/oracle/rdbms/log/sbtio.log

SBTInitializefailedfor/oracle/lib/libobk.so

IntegratingRMANwiththeMediaManager:

BasicSteps

Afteryouinstallthemediamanagementsoftware,themediamanagementlibraryshouldalreadybeintegratedwiththeOracleserver.Youshouldnothavetoperformfurtherintegration.However,youmaychoosetofollowtheprocedureint

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

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

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1