Escolar Documentos
Profissional Documentos
Cultura Documentos
265
InstallingandConfiguringOracleSecureBackup10.2
InstallingandConfiguringOracleSecureBackup10.2
Purpose
ThistutorialshowsyouhowtoinstallandconfigureOracleSecureBackup(OSB)10.2fortestandtrainingpurposes(notforproductionuse).
CompletingthistutorialisaprerequisiteforallotherOracleSecurebackup10.2tutorials.
TimetoComplete
Approximately1hour
Topics
Thistutorialcoversthefollowingtopics:
Overview
Prerequisites
InstallingtheOracleSecureBackupSoftware
ConfiguringOracleSecureBackup
RegisteringyourAdministrativeServerwithEnterpriseManager
TestingConnectivityinEnterpriseManager
DefiningandPreauthorizinganewOSBUser
PreparingtheDatabaseforBackups
CreatinganewMediaFamily
CreatingaDatabaseStorageSelector
Summary
Relatedinformation
ViewingScreenshots
Placethecursoroverthisicontoloadandviewallthescreenshotsforthistutorial.(Caution:Thisactionloadsallscreenshots
simultaneously,soresponsetimemaybeslowdependingonyourInternetconnection.)
Note:Alternatively,youcanplacethecursorovereachindividualiconinthefollowingstepstoloadandviewonlythescreenshotassociatedwith
thatstep.
Overview
ThistutorialcovershowtoinstallOracleSecureBackupandhowtoconfigureitforseamlessintegrationwithRMAN.Youwillusedifferent
interfacestofamiliarizeyourselfwithallofthem.
CompletingthistutorialisaprerequisiteforallotherOracleSecureBackup10.2tutorials.
BacktoTopicList
Prerequisites
Beforestartingthistutorial,youshould:
1.
HaveaccesstoorhaveinstalledOracleDatabase11gonLinux32withOracleEnterpriseManagerDatabase
Console.Fromthedatabaseinstallation,youneedtoknowthepasswordsoftheSYSOracleuser(referredtoas
SYS_password)andtheoracleOSuseraccount(referredtoashost_password).
2.
Ensurethatthedatabasehasastaticentryinthelistener.orafile.(Youcanusethenetmgrutlitiyforthis.)
3.
Haveaccesstoorhaveinstalledthesampleschema.
4.
HaveaccesstotheOracleSecureBackup10.2software.Youcandownloadthesoftwarefollowingthelinksfrom
http://www.oracle.com/technology/products/securebackup/index.html.
Thistutorialassumesthatthedownloadedsoftwareisaccesibleinthe/stagedirectoryandunzippedinthis
directory.Italsoassumesthattherootuserownsthe/u01directorywithsufficientspacetocontainallbackups
thatyoucreateduringthesetutorials.
Toinstallthesoftware,youneedtoknowthepasswordoftherootuser.
ThistutorialistestedwithOracleSecureBackupv10.2.0.2Linuxx86(the32bitversion).
5.
Downloadtheosb10_2install.zipfileintoyourworkingdirectory(\home\oracle)andunzipthefile.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
1/27
1428898860751.21
InstallingandConfiguringOracleSecureBackup10.2
BacktoTopicList
InstallingtheOracleSecureBackupSoftware
Inthistopicyouinstalltheunzipped,stagedOracleSecureBackupsoftware.
ToinstalltheOracleSecureBackupsoftware,performthefollowingsteps:
1.
Astherootuser,createtheOSBhomedirectorybyexecutingthefollowingcommand:
#mkdirp/usr/local/oracle/backup
2.
NavigateintoyourOSBhomedirectory:
#cd/usr/local/oracle/backup
Note:Itisimportantforacorrectsetupthatyouremaininthisdirectoryforthefollowingsteps.
3.
Ensurethattheuncompressutilityisavailable:
#lns/bin/gunzip/bin/uncompress
4.
InyourOSBhomedirectorystarttheOracleSecureBackupinstallationastherootuser.
#/stage/setup
WelcometoOracle'ssetupprogramforOracleSecureBackup.This
programloadsOracleSecureBackupsoftwarefromtheCDROMtoa
filesystemdirectoryofyourchoosing.
ThisCDROMcontainsOracleSecureBackupversion10.2.0.2.0_linux32.
PleasewaitamomentwhileIlearnaboutthishost...done.
1.linux32
administrativeserver,mediaserver,client
LoadingOracleSecureBackupinstallationtools...done.
Usingyourpreviousobparametersfile.Thenewfileshippedwiththis
distributionofOracleSecureBackupiscalledinstall/obparameters.new.
Loadinglinux32administrativeserver,mediaserver,client...done.
LoadingofOracleSecureBackupsoftwarefromCDROMiscomplete.
YoumayunmountandremovetheCDROM.
WouldyouliketocontinueOracleSecureBackupinstallationwith
'installob'now?(TheOracleSecureBackupInstallationGuide
containscompleteinformationaboutinstallob.)
Pleaseanswer'yes'or'no'[yes]:
5.
Enteryestocontinuewithyourinstallation:
Pleaseanswer'yes'or'no'[yes]:yes
Welcometoinstallob,OracleSecureBackup'sUNIXinstallationprogram.
ItinstallsOracleSecureBackupontooneormoreUNIXorLinuxsystems
onyournetwork.(InstallOracleSecureBackupforWindowsusingthe
CDROMfromwhichyouloadedthissoftware.)
Formostquestions,adefaultanswerappearsenclosedinsquarebrackets.
PressEntertoselectthisanswer.
PleasewaitafewsecondswhileIlearnaboutthismachine...done.
Haveyoualreadyreviewedandcustomizedinstall/obparametersforyour
OracleSecureBackupinstallation[yes]?
6.
Enterno,becauseyouhavenotcustomizedanyparameters:
7.
Haveyoualreadyreviewedandcustomizedinstall/obparametersforyour
OracleSecureBackupinstallation[yes]?no
Wouldyouliketodothisnow[yes]?
Enternoagain,becauseyouareperformingadefaultinstallation.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
2/27
1428898860807.823
InstallingandConfiguringOracleSecureBackup10.2
Wouldyouliketodothisnow[yes]?no
OracleSecureBackupisnotyetinstalledonthismachine.
OracleSecureBackup'sWebserverhasbeenloaded,butisnotyetconfigured.
Youcaninstallthishostoneofthreeways:
(a)administrativeserver
(thehostwillalsobeabletoactasamediaserverorclient)
(b)mediaserver
(thehostwillalsobeabletoactasaclient)
(c)client
Ifyouarenotsurewhichwaytoinstall,pleaserefertotheOracle
SecureBackupInstallationGuide.(a,borc)[a]?
8.
Firstyouinstalltheadministrativeserver.Enteratodoso:
Ifyouarenotsurewhichwaytoinstall,pleaserefertotheOracle
SecureBackupInstallationGuide.(a,borc)[a]?a
Beginningtheinstallation.Thiswilltakejustaminuteandwillproduce
severallinesofinformationaloutput.
InstallingOracleSecureBackuponedrsr4p1(Linuxversion2.6.955.0.0.0.2.ELsmp)
YoumustnowenterapasswordfortheOracleSecureBackupencryption
keystore.Oraclesuggestsyouchooseapasswordofatleast8
charactersinlength,containingamixtureofalphabeticandnumeric
characters.
Pleaseenterthekeystorepassword:
9.
Choosepasswordsappropriateforyourenvironmentandensurethatyourememberthem.Enteryourchosen
passwordtwiceasthekeystorepasswordandforverification:
Pleaseenterthekeystorepassword:keystore_password
Retypepasswordforverification:keystore_password
YoumustnowenterapasswordfortheOracleSecureBackup'admin'user.
Oraclesuggestsyouchooseapasswordofatleast8charactersinlength,
containingamixtureofalphabeticandnumericcharacters.
Pleaseentertheadminpassword:
10. Enteryourchosenpasswordtwiceastheadminpasswordandforverification:
Pleaseentertheadminpassword:admin_password
Retypepasswordforverification:admin_password
YoushouldnowenteranemailaddressfortheOracleSecureBackup'admin'
user.OracleSecureBackupusesthisemailaddresstosendjobsummary
reportsandtonotifytheuserwhenajobrequiresinput.Ifyouleavethis
blank,youcansetitlaterusingtheobtool's'chuser'command.
Pleaseentertheadminemailaddress:
11. PresstheEnterkeywithoutanyentry,becausethistutorialdoesnotuseemailnotification.Theinstallation
continues:
generatinglinksforadmininstallationwithWebserver
updating/etc/ld.so.conf
checkingOracleSecureBackup'sconfigurationfile(/etc/obconfig)
settingOracleSecureBackupdirectoryto/usr/local/oracle/backupin/etc/obconfig
settinglocaldatabasedirectoryto/usr/etc/obin/etc/obconfig
settingtempdirectoryto/usr/tmpin/etc/obconfig
settingadministrativedirectoryto/usr/local/oracle/backup/adminin/etc/obconfig
protectingtheOracleSecureBackupdirectory
creating/etc/rc.d/init.d/observiced
activatingobservicedviachkconfig
initializingtheadministrativedomain
******************************NOTE******************************
OnLinuxsystemsOraclerecommendsthatyouanswernotothenexttwo
questions.ThepreferredmodeofoperationonLinuxsystemsistouse
the/dev/sgdevicesforattachpointsasdescribedinthe'ReadMe'
andinthe'InstallationandConfigurationGuide'.
Ishost01connectedtoanytapelibrariesthatyou'dliketousewith
OracleSecureBackup[no]?
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
3/27
1428898860857.367
InstallingandConfiguringOracleSecureBackup10.2
12. Youwillconnecttapelibrariesandtapedrivesinoneofthefollowingsteps,soenternotwice:
Ishost01connectedtoanytapelibrariesthatyou'dliketousewith
OracleSecureBackup[no]?no
Ishost01connectedtoanytapedrivesthatyou'dliketousewith
OracleSecureBackup[no]?no
Installationsummary:
InstallationHostOSDriverOSMoveReboot
ModeNameNameInstalled?Required?Required?
adminhost01Linuxnonono
OracleSecureBackupisnowreadyforyouruse.
#
13. Logoffastherootuser:
#exit
$
BacktoTopicList
ConfiguringOracleSecureBackup
Thistopicguidesyouthroughperformingonetimeconfigurationtasksandconfirmingthatbasicelements,suchastapelibrariesandtapedrives
areinservice.
ToconfigureOracleSecureBackupandtoconfirmyourconfiguration,performthefollowingsteps:
1.
AsoracleOSuser,navigatetoyourworkingdirectory(/home/oracle)byexecutingthefollowingcommand:
2.
$cd/home/oracle
ToconfirmthatyouhavethenecessaryOBEconfigurationfiles,enter:
$lsc*
3.
config1_in.shconfig1_out.shconfig1.shconfig2.txt
Tosubstitutethehostnameintheconfig1_out.shfile,enter:
$./config1.sh
Yourhostnameisdisplayed.Thisexampleuses"host01.example.com".
host01.example.com
4.
ToassignthemediaserverroletoyourhostandtoconfiguredevicesfortheOBEtrainingenvironment,executethe
config1_out.shfileandprovidethepasswordforeachofthedevices:
$./config1_out.sh
Password:admin_password
Password:admin_password
Password:admin_password
Password:admin_password
Password:admin_password
Password:admin_password
Password:admin_password
Password:admin_password
Password:admin_password
Note:Thistutorialgeneratesvirtualtestdeviceswhichusediskspace(undertheu01directory),butemulatetape
devices.TheseOSBtestdevicesarenotsupportedinproduction,althoughOracleSecureBackupsupportsmany
nonOraclevirtualtapedevices.
Note2:Shouldyouhaveanyerrorsduringtheexecutionofthisfileormistypeapassword,thenitis
recommendedtologinastherootuser,firstremovediskdirectoriesbyentering:
$suroot
Password:root_password
#cd/u01
#rmrfvli*
#rmrfvd*
#
Note2,continued:Followthestepsinthe"UninstallingOracleSecureBackuponLinuxorUNIX"
sectionoftheInstallingOracleSecureBackuponLinuxorUNIXguidetouninstallOracleSecure
Backupbeforebeginningwiththistutorialagain.
5.
Tologintotheobtool,enter:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
4/27
1428898860883.71
InstallingandConfiguringOracleSecureBackup10.2
$obtool
OracleSecureBackup10.2.0.2.0
login:admin
Password:admin_password
ob>
Note:IfyouarenotreceivingtheloginandPasswordprompts,thenyourcredentialsarestillactive.Readthenote
attheendofthistaskformoredetails.
6.
Toviewallrolesofyourhost,enter:
7.
ob>lshost
host01.example.comadmin,mediaserver,client(viaOB)inservice
ob>
Toviewthejustcreateddevices,enter:
ob>lsdev
8.
libraryvlibinservice
drive1vdte1inservice
drive2vdte2inservice
drive3vdte3inservice
drive4vdte4inservice
libraryvlib2inservice
drive1vdrive1inservice
drive2vdrive2inservice
ob>
Toinsertvolumesintothetapelibraries,eitherexecutethefollowingcommands(orexecute</<yourworking
directory>/config2.txtscript,ifyouwishtoavoidtyping).
ob>insertvolLvlibc250unlabeled132
ob>insertvolLvlib2c250unlabeled114
or:
9.
ob></home/oracle/config2.txt
ob>#Onlyfortestandtraining,notforproduction
ob>#OSBscript,runasadminuser
ob>
ob>insertvolLvlibc250unlabeled132
ob>insertvolLvlib2c250unlabeled114ob>
ob>
Tolistthedefaultmediafamilies,enter:
ob>lsmflong
OSBCATALOGMF:
Writewindow:7days
Keepvolumeset:14days
Appendable:yes
VolumeIDused:uniquetothismediafamily
Comment:OSBcatalogbackupmediafamily
RMANDEFAULT:
Keepvolumeset:contentmanagesreuse
Appendable:yes
VolumeIDused:uniquetothismediafamily
Comment:DefaultRMANbackupmediafamily
ob>
Note:YouwillcreateadditionalmediafamiliesinalatertaskinthisOBE.
10. TorenamethehostandtoaddanewIPaddress,enter:
renhostnqhost01.example.comhost01
chhostaddiphost01.example.comhost01
11. Toendyourobtoolsession,enter:
logout
Note:Thelogoutcommandendstheobtoolsessionanddestroysthelogintoken,sothatyouarepromptedfor
credentialsatthestartofyournextobtoolsession,whichmayincludethefollowingmessage"Warning:auto
loginfailedlogintokenhasexpired"
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
5/27
1428898861005.603
InstallingandConfiguringOracleSecureBackup10.2
Ifyouendanobtoolsessionwiththeexitorquitcommands,thelogintokenispreservedaccordingtoWebtool>
Configure>DefaultsandPolicies>Security>Logintokenduration:15minutes(default).
BacktoTopicList
RegisteringyourAdministrativeServerwithEnterpriseManager
InthistopicyouregisteryourOracleSecureBackupadministrativeserverwithEnterpriseManager(EM),whichisrequiredforaseamlessoperation
betweenthesetwotools.
Toregisteryouradministrativeserver,performthefollowingsteps:
1. ToaccessEnterpriseManagerDatabaseConsole,youneedtoknowtheappropriateURLandthatthetoolisrunning.ToverifythisasoracleOS
user,enterinaterminalwindow:
$emctlstatusdbconsole
OracleEnterpriseManager11gDatabaseControlRelease11.1.0.6.0
Copyright(c)1996,2007OracleCorporation.Allrightsreserved.
https://host01.example.com:1158/em/console/aboutApplication
OracleEnterpriseManager11gisrunning.
Logsaregeneratedindirectory/u01/app/oracle/product/11.1.0/db_1/host01.example.com_orcl/sysman/log
Note:Thetextisinboldandcoloredforeaseofrecognition.
2. OpenyourwebbrowserandenteryourURLinthefollowingformat:
https://<hostmachine>:<port>/em
3. OntheEnterpriseManagerLoginpage,enterSYSasUserName,yourSYS_passwordandselectConnectAsSYSDBA.ThenclickLogin.
4. OntheOracleDatabasehomepage,clicktheAvailabilitytab.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
6/27
1428898861104.763
InstallingandConfiguringOracleSecureBackup10.2
5. OntheAvailabilitypage,clickOracleSecureBackupDeviceandMedia.
6. Thefirsttimeyouperformthistask,theAdiministrativeServer"AddAdministrativeServer"pageopens.Enterthefollowingvalues,thenclickOK:
OracleSecureBackupHome:/usr/local/oracle/backup
Username:admin
Password:admin_password
7. EnteroracleasUsername,yourhost_password,select"SaveasPreferredCredential"andclicktheOKbutton.
8. TheOracleSecureBackupDeviceandMedia:AdministrativeServerpageisdisplayedwiththeadministrativeserverthatyouhavejustregistered.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
7/27
1428898861127.031
InstallingandConfiguringOracleSecureBackup10.2
BacktoTopicList
TestingConnectivityinEnterpriseManager
InthistopicyoufirstviewthepreviouslycreatedvirtualdevicesinEnterpriseManger,thenyoutesttheirconnectivitytoconfirmthattheyare
availableandreadytobeused.
Toviewyourdevicesandtotesttheconnectivityofyourdevices,performthefollowingsteps:
1.
OntheOracleSecureBackupDeviceandMedia:AdministrativeServerpage,selectAllDevicesfromtheView
dropdownlistintheDevicessection.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
8/27
1428898861147.355
InstallingandConfiguringOracleSecureBackup10.2
2.
YourlibrarydevicesaredisplayedintheDevicessection.
3.
ClickeachoftheplusiconsintheNamecolumntoexpandthelibraries.
Allyourdevicesaredisplayed.
4.
5.
Totestyourdevices,clicktheManagelinkforDevicesintheResourcessectionoftheOracleSecureBackup
DeviceandMedia:AdministrativeServerpage.
OntheDevicespage,selectVerifyConnectivityfromtheActionsdropdownlist.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
9/27
1428898861168.505
InstallingandConfiguringOracleSecureBackup10.2
6.
OntheDevicespage,selectthevliblibraryandclicktheGobuttonbehindtheActionsdropdownlist.
7.
Youshouldreceiveasuccessmessagelikethefollowingone.
8.
Toconfirmconnectivityforthevlib2library,selectitandclicktheGobuttonbehindtheVerifyConnectivityActions.
9.
Youshouldreceiveasuccessmessagelikethefollowingone.
10. ClicktheDatabasetabinpreparationforthenexttask.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
10/27
1428898861189.318
InstallingandConfiguringOracleSecureBackup10.2
BacktoTopicList
DefiningandPreauthorizinganewOSBUser
InthistopicyoudefinetheoracleOSuserasanewOracleSecureBackupadministratorandyoupreauthorizethisusertoexecuteRMANbackup
andrecoveryjobs."Preauthorization"meansthatthisuserdoesnothavetoprovideOSBcredentials,aftertheyloggedintoEnterpriseMangerand
started,forexample,abackupjobtotape.
TodefineandpreauthorizeanewOSBuser,performthefollowingsteps:
1.
InEnterpriseManagerontheAvailabilitypage,rightclickFileSystemBackupandRestoreintheOracleSecure
Backupsectionandselect(ifavailableinyourbrowser)OpenLinkinaNewTab.
2.
OntheOracleSecureBackupLoginpage,enteradminasUserNameandyouradmin_password,thenclick
Login.
3.
OntheOSBHomepage,clicktheConfiguretab.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
11/27
1428898861211.006
InstallingandConfiguringOracleSecureBackup10.2
4.
OntheConfigurepage,clickUsersintheBasicsection.
5.
IntheConfigure:Userspage,clicktheAddbutton.
6.
OntheConfigure:Users>NewUserspage,enterorselectthefollowingvalues,thenclickApply:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
12/27
1428898861236.654
InstallingandConfiguringOracleSecureBackup10.2
User:oracle
Password:host_password
Userclass:oracle
UNIXname:oracle
UNIXgroup:dba
NDMPserveruser:no
Youshouldreceiveasuccessmessage.
7.
OntheConfigure:Users>oraclepage,clickPreauthorizedAccess.
8.
OntheConfigure:Users>oracle>PreauthorizedAccesspage,enterorselectthefollwoingvalues,thenclickAdd:
Hosts:allhosts
OSusername:*
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
13/27
1428898861257.601
InstallingandConfiguringOracleSecureBackup10.2
Windowsdomainname:*
Attributes:rman
9.
Youshouldreceiveasuccessmessagewithadisplaylikethefollowingone:
10. ClickLogout.
BacktoTopicList
PreparingtheDatabaseforBackups
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
14/27
1428898861283.29
InstallingandConfiguringOracleSecureBackup10.2
Thenexttwotopicsarecloselyrelated.Botharerequiredaspartofdatabasepreparation.ThisOBEdemonstratesthetasksintheEnterprise
Managerinterface(youcouldalsochooseanotherinterface,likeSQL*Plus).
EnablingARCHIVELOGmodeforDatabaseBackups
RestartingtheDatabase
BacktoTopicList
ToenableARCHIVELOGmodeinEnterpriseManager,performthefollowingsteps:
1.
Inyourwebbrowser,ontheEnterpriseManagerLoginpage,enterSYSasUserName,yourSYS_passwordand
selectConnectAsSYSDBA.ThenclickLogin.(Fordetailedinstructions,reviewsteps1,2and3underRegistering
yourAdministrativeServerwithEnterpriseManager.
2.
OntheEMhomepage,clicktheAvailabilitytab.
3.
OntheAvailabilitypage,clickRecoverySettingsintheBackup/Recoverysection.
4.
OntheRecoverySettingspage,selectARCHIVELOGModeintheMediaRecoverysection,thenclickApply.
5.
OntheConfirmationpage,clickYestorestartthedatabase.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
15/27
1428898861323.187
InstallingandConfiguringOracleSecureBackup10.2
BacktoTopic
TorestartthedatabaseinEnterpriseManager,performthefollowingsteps:
1.
OntheRestartDatabase:SpecifyHostandTargetDatabaseCredentialspage,enterandconfirmthefollowing
values,thenclickOK:
ForHostCredentials
Username:oracle
Password:host_password
ForDatabaseCredentials:
Username:sys
Password:sys_password
ConnectAs:SYSDBA
Selected:SaveasPreferredCredential
2.
3.
OntheRestartDatabase:Confirmationpage,clickYes.
Youmightreceivetheerrorbelow,ifyourefreshorrequery,whileagentsarebeingdisconnected.Thiserror
resolvesitselfautomatically.ClickOK.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
16/27
1428898861358.183
InstallingandConfiguringOracleSecureBackup10.2
Intime,theRestartDatabase:ActivityInformationpageisdisplayed.
ClickRefreshuntiltheEMHomepageisdisplayed.
Note:IftheEnterpriseManagerLoginpageappears,enterSYSasUserName,yourSYS_passwordandselect
ConnectAsSYSDBA.ThenclickLogin.
4.
Confirmthatthedatabaseisupandrunning.
BacktoTopic
BacktoTopicList
CreatinganewMediaFamily
InthistopicyouviewthedefaultmediafamiliesandcreatenewoneswiththeOSBWebTool.
Toviewandcreatemediafamilies,performthefollowingsteps:
1.
TostarttheOSBWebTooldirectly(notfromEM),openyourwebbrowserandenteryourURLinthefollowing
format:
https://<hostmachine>/index.php
TheOracleSecureBackupWebInterfacedisplaystheOracleSecureBackupLoginpageandchangestheURLas
follows:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
17/27
1428898861386.569
InstallingandConfiguringOracleSecureBackup10.2
2.
OntheOracleSecureBackupLoginpage,enteradminasUserNameandyouradmin_password,thenclick
Login.
3.
OntheOSBHomepage,clickPreferencesinthetoprightcorner.
4.
SelecttheOnSettingforExtendedcommandoutput,thenclickApply.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
18/27
1428898861415.35
InstallingandConfiguringOracleSecureBackup10.2
Thepagedoesnotchange,whenyouclickApply.Youcanseetheresultofthischangeinstep7,following.
5.
Toviewandeditexistingmediafamilies,aswellascreatingnewones,clicktheConfiguretab.
6.
ClickMediaFamilies.
7.
OntheConfigure:MediaFamiliespage,firstreviewtheexistingdefaultmediafamilies,thenclicktheAddbuttonto
createanewone.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
19/27
1428898861444.995
8.
InstallingandConfiguringOracleSecureBackup10.2
OntheConfigure:MediaFamilies>NewMediaFamiliespage,enterandconfirmthefollowingvalues,thenclick
Apply:
MediaFamily:OFFSITE_7Y
VolumeIDused:Uniquetothismediafamily
Volumeexpiration:TimeManaged
Keepvolumeset:7years
Appendable:yes
Comment:Storefor7yearsoffsiteforcompliancewithXYZlaw.
Youshouldreceiveasuccessmessage.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
20/27
1428898861469.755
9.
InstallingandConfiguringOracleSecureBackup10.2
ScrolltothebottomoftheConfigure:MediaFamilies>OFFSITE_7YpageanreviewtheExtendedCommand
Output.
ThenclicktheOKbutton.
10. TheConfigure:MediaFamiliespageisdisplayedwithyournewlycreatedOFFSITE_7Ymediafamily.
11. OntheConfigure:MediaFamiliespage,clicktheAddbuttontocreateanadditionalmediafamily.
12. OntheConfigure:MediaFamilies>NewMediaFamiliespage,enterandconfirmthefollowingvalues,thenclick
Apply:
MediaFamily:offsite_test
VolumeIDused:Uniquetothismediafamily
Volumeexpiration:TimeManaged
Keepvolumeset:10minutes
Appendable:yes
Comment:Edittestvalueslater.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
21/27
1428898861489.608
InstallingandConfiguringOracleSecureBackup10.2
13. Youshouldreceiveasuccessmessage.ClickOK.
14. OntheConfigure:MediaFamiliespage,reviewallavailablemediafamilies,thedefaultonesandyournewly
createdones.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
22/27
1428898861522.348
InstallingandConfiguringOracleSecureBackup10.2
BacktoTopicList
CreatingaDatabaseStorageSelector
Asafinalconfigurationtask,youtestthetapebackupandcreateadatabasestorageselectorinEnterpriseManager.
Tocreateastorageselectorandtestthetapebackup,performthefollowingsteps:
1.
Inyourwebbrowser,ontheEnterpriseManagerLoginpage,enterSYSasUserName,yourSYS_passwordand
selectConnectAsSYSDBA.ThenclickLogin.(Fordetailedinstructions,reviewsteps1,2and3underRegistering
yourAdministrativeServerwithEnterpriseManager.
2.
InEnterpriseManger,navigatetoAvailabity>BackupSettings(intheBackup/RecoverySetupsection).
3.
Toprovideandsavetapesettings,enterthefollowingvalues,thenclickOK:
TapeDrives:1
Username:oracle
Password:host_password
SaveasPreferredCredential(selected)
4.
5.
Tocreateadatabasestorageselector,reentertheBackupSettingspageandclickConfigureintheOracleSecure
BackupsectionontheBackupSettingsDevicepage.
OntheAdministrativeServerLoginpage,enterorconfirmthefollowingvalues,thenclickOK:
AdministrativeServer:Your_host
Username:oracle
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
23/27
1428898861554.232
InstallingandConfiguringOracleSecureBackup10.2
Password:host_password
SaveasPreferredCredential(selected)
6.
OntheBackupStorageSelectorspage,clickAdd.
7.
OntheAddBackupStorageSelectorpage,selectthefollowingvalues,thenclickOK:
DatabaseBackupTypes:ArchiveLogs,AutoBackup,FullandIncremental
MediaFamily:RMANDEFAULT
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
24/27
1428898861587.092
InstallingandConfiguringOracleSecureBackup10.2
8.
YoushouldreceiveasuccessmessageontheBackupStorageSelectorspage.ClickReturn.
9.
OntheBackupSettingsDevicepage,enterorconfirmthefollowingvalues,thenclickTestTapeBackup:
TapeDrives:1
TapeBackupType:BackupSet
Username:oracle
Password:host_password
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
25/27
1428898861612.479
InstallingandConfiguringOracleSecureBackup10.2
TheProcessing:TestTapeBackuppagemayappearforawhile,dependingonyoursystemresources.
10. OntheBackupSettingsDevicepage,viewthesuccessmessage,thenclickLogout.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
26/27
1428898861647.785
InstallingandConfiguringOracleSecureBackup10.2
BacktoTopicList
Summary
Inthislesson,youlearnedhowto:
InstalltheOracleSecureBackupSoftware
ConfigureOracleSecureBackup
RegisteryourAdministrativeServerwithEnterpriseManager
TestConnectivityinEnterpriseManager
DefineandPreauthorizeanewOSBUser
PreparetheDatabaseforBackups
CreateanewMediaFamily
CreateaDatabaseStorageSelector
BacktoTopicList
RelatedInformation
TolearnmoreaboutOracleSecureBackupyoucanreferto:
OracleSecureBackup10.2ontheOracleTechnologyNetwork(OTN)website
AdditionalOBEsontheOTNwebsite
Demonstrationmaterial(viewlets)
BacktoTopicList
Placethecursoroverthisicontohideallscreenshots.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/ha/osb10_2install/osb1.htm
27/27