Setting Up The Oracle Warehouse Builder 11g Release 2 Tutorial Environment
Setting Up The Oracle Warehouse Builder 11g Release 2 Tutorial Environment
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
Thistutorialcontainsthefollowingsections:
Purpose
TimetoComplete
Overview
Prerequisites
DownloadingtheSetupFiles
UsingStandaloneOWB11.2withOracleDatabase11g
Release1orOracleDatabase10gRelease2
CreatingWorkspacesandWorkspaceOwners
LoggingInandImportingthe.MdlFiles
SettingUptheDataSourceandthePredefinedProjectfor
theDataProfilingTutorial
Summary
Resources
Purpose
ThistutorialcoversthesetupandconfigurationstepsyoumustperformtosetuptheOracleWarehouseBuilder11gRelease2
tutorialenvironment.Inthistutorial,youalsocreatedifferentworkspaceownerstologintotheOWBDesignClient.
TimetoComplete
Approximately40minutes
Overview
Inthistutorial,youlearnhowtodownloadandexecutethesetupfilestoconfiguretheWarehouseBuilderenvironment.You
alsousetheOWBRepositoryAssistanttocreatethreedifferentworkspaceandworkspaceownersforloggingintotheOracle
WarehouseBuilderDesignClient.UsingtheDesignClient,youthenimportpredefinedOWBprojects.
Inthistutorial,youdefinethreedifferentOWBProjectenvironmentsforthefollowingsetoftutorials.Thistutorialisa
prerequisiteforthefollowingtutorials:
1. ImprovedUserInterface,Usability,andProductivityWithOWB11gR2
2. HandlingFlatFileandCOBOLCopybookSourcesinMappings
3. UsingDataTransformationOperatorswithSourceandTargetOperators
4. WorkingwithPluggableMappings
5. ExaminingSourceDataUsingDataProfiling
Note:Thetutorials2,3,and4listedaboveusethesameOWBproject..
Prerequisites
Beforestartingthistutorial,youshould:
1. HaveaccesstoorhaveInstalledOracleDatabase11gRelease2onLinuxplatform.
Note:Inthistutorial,youusetheOWBthatisinstalledwiththeOracleDatabase11gRelease2.InOracle
Database11gRelease2,OWBisintegratedandisinstalledintheOracleDatabasehome.
IfyouwanttousethelatestOWB11gRelease2withanolderversionofthedatabasesuchastheOracle
Database11gRelease1orOracleDatabase10gRelease2,youneedtoinstallthestandaloneOWBsoftwareon
theclientandperformcertainextrastepstocreate/upgradetheOWBSYSrepositoryonthedatabase.
DownloadingtheSetupFiles
Todownloadthesetupfiles,performthefollowingsteps:
1.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
1/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
Downloadtheowb_setup.zipfilebyrightclickinghereandselectingSaveTargetAsfromthepopupmenu.Direct
thedownloadtoanydirectoryonyourLinuxfilesystem.
Afterthedownloadiscomplete,extractthezipfileandyoushouldgetaowb_setupfolder.
Notethattheowb_setupfoldercontainsthree.mdlfilesandafolder,dp_setup_files.Inthedp_setup_filesfolder,
therearefilesrequiredtosetuptheenvironmentforthe"ExaminingSourceDataUsingDataProfiling"tutorial.
2. Optionally,foreasyaccesstothe.mdlfileswhenyouimportthem,youmaywanttocopyallthethree.mdlfilesto
the[ORACLE_HOME]/owb/mdlfolder.
Note:Forthistutorial,theORACLE_HOMEisassumedtobe/u01/app/oracle/product/11.2.0/dbhome_1
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
2/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
3. CreateadesktoplauncherfortheOWBDesignCenter.RightclickonyourLinuxdesktopandselectCreate
Launcher.EnterthelaunchernameasOWBDesignCenter.Browsetothe[ORACLE_HOME]/owb/binfolderand
selectowb.sh.ClickOK.
4. Browsetothe[ORACLE_HOME]/jlib/folderanddeletetheoracle_ice.jarfile.
Note:StartPagebug:IntheOracleWarehouseBuilderintegratedinstallationthatisincludedwithOracle
Database11.2,linksfromthenewStartPageincludedintheDesignCenterdonotfunctionproperly.Thisproblem
doesnotaffecttheOracleWarehouseBuilderstandaloneinstallation.Theonlinehelpbuganditsworkaroundis
mentionedintheOWB11.2ReleaseNotes.Deletingtheoracle_ice.jarfilewillresolvetheissueandyouwillbe
abletobrowsethelinksintheStartpage.
5. Note:Ifyouareusinganolderversionofthedatabase,youmayskipthisstepfornow.Refertothetopic,
"UsingStandaloneOWB11.2withOracleDatabase11gRelease1orOracleDatabase10gRelease2"forfurther
setupinstructions.
UnlocktheOWBSYSuser.Loginasasysassysdbauser.Openaterminalwindowandenterthefollowing
commands:
sqlplussys/[password]assysdba
alteruserowbsysidentifiedbyowbsysaccountunlock
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
3/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
Note:IfyouareusingOWBserverinstallationthatisintegratedwiththeOracleDatabase11.2,skipthefollowingtopic,"Using
StandaloneOWB11.2withOracleDatabase11gRelease1orOracleDatabase10gRelease2"andresumefromthetopic,
"CreatingWorkspaceandWorkspaceOwners".
UsingStandaloneOWB11.2withOracleDatabase11gRelease1orOracleDatabase10g
Release2
IfyouwanttousethelatestWarehouseBuildersoftwarewithanolderversionofthedatabase,youneedtoperformsome
extrastepstosetuptheOWBenvironment.
ItisnecessarytodownloadtheOracleWarehouseBuilder11gRelease2(11.2.0.1.0)StandaloneSoftwareifyouhaveanyof
thefollowingneeds:
YouareinstallingOWB11.2andhostinganOWBRepositoryononeof:OracleDatabase10gRelease1,Oracle
Database10gRelease2,orOracleDatabase11gRelease1.
YouarerunningtheOWB11.2DesignClientonadeveloper'scomputer.
YouareinstallingOWB11.2onacomputerthatrunstheControlCenterAgent.
Note:OWB11.2isarchitectedwithanassumptionthatitisusedwithOracleDatabase11gRelease2.Thistightintegration
includespreseedingtheOWBSYSschemainthedefaultdatabase,andplacingOWBinthesameOraclehomeasthe
database.
TouseOWB11.2withDatabase10gR2or11gR1,youmustperformthefollowingsimplesteps.
RunaSQLscripttocreateOWBSYS.
RunaSQLscripttoidentifyOWBhometoDatabase10gR2or11gR1.
UnlockOWBSYSandOWBSYS_AUDIT.
1. First,runthecat_owb.sqltocreatetheOWBSYSschema.
IfusingtheDatabase10gRelease2,youneedtorunaSQLscripttocreatetheOWBSYSrepositoryschema.
Thisscript,<yourOWBhome>/OWB/UnifiedRepos/cat_owb.sql,installstheOWBSYSdatabaseuserthatisneeded
byOWB11.2.(OWBSYSisautomaticallycreatedduringtheinstallationof11.2.)
ConnecttoSQL*PlusassysdbaandissuethefollowingcommandtocreateOWBSYS:
@[OWB_HOME]/owb/UnifiedRepos/cat_owb.sql
YouwillbepromptedforatablespacefortheOWBSYSuser.Forthistraining,itisrecommendedthatyouspecify
theUSERStablespace.Enterusers.
IMPORTANT:IfyouareusingOracleDatabase11gRelease1,italreadycontainstheOWBSYSschemawhichis
theOracleWarehouseBuilder11gR1repository.Youmustcleanitbeforesettingupthe11gR2repository.To
cleantheOWBSYSrepository,youmustrunclean_owbsys.sql,followedbycat_owb.sql.Theclean_owbsys.sql
scriptislocatedin[OWB_HOME]/owb/UnifiedRepos.Theclean_owbsys.sqlscriptdropsthecontentsofany
existingOWBSYSschemainstallations,butleavestheschemaotherwiseintact.So,ifitisOracleDatabase11g
Release1,performthisstepasshownbelow:
sqlplussys/[password]assysdba
@[OWB_HOME]/owb/UnifiedRepos/clean_owbsys.sql
@[OWB_HOME]/owb/UnifiedRepos/cat_owb.sql
Whenthiscommandfinishessuccessfully,youwillbeprompted:IfyouareNOTusinganOWBinstalledinthe
Oracledatabasehome,pleasenowrunreset_owbcc_home.
2. RunaSQLscripttoidentifyOWBhometoDatabase10gR2or11gR1.
WhenyouinstallthestandaloneOWB11.2,itinstallsinaseparateOWBhome.
ToensureaccesstotheControlCenteronthedatabase,runthereset_owbcc_home.sqlscriptandpassinthepath
totheOWBhome.
RunthescriptasasystemprivilegedusersuchasSYSorSYSTEM.
Enterthefollowingcommandatthecommandprompt,substitutinginyourownactualOWBpath:
@[OWB_HOME]/owb/UnifiedRepos/reset_owbcc_home<OWB_HOME>
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
4/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
Note:Ifyoudonotprovidethe<OWB_HOME>pathonthecommandline,youarepromptedforthefullpathofthe
OWBhomefortheOWBControlCenterinstallation.
3. Finally,unlockOWBSYSandOWBSYS_AUDITbyrunningthefollowingcommands:
alteruserOWBSYSidentifiedby<password>accountunlock
alteruserOWBSYS_AUDITidentifiedby<password>accountunlock
CreatingWorkspacesandWorkspaceOwners
Inthistopic,youruntheRepositoryAssistanttocreatethreedifferentworkspaceownersforthreedifferentsetsofthetutorials.
Thefollowingtableshowstheworkspaceownersyoucreatefortherespectivetutorials.Ifyoudon'tintendtodoanyoneofthe
tutorials,youmayskipthecreationoftheparticularworkspaceownerandthestepsrelatedwiththatworkspaceowner.
WorkspaceOwner
Names
Tutorials
eup_owner
ImprovedUserInterface,Usability,andProductivityWithOWB11gR2
etl_owner
HandlingFlatFileandCOBOLCopybookSourcesinMappings
UsingDataTransformationOperatorswithSourceandTargetOperators
WorkingwithPluggableMappings
dp_owner
ExaminingSourceDataUsingDataProfiling
1. Browsetothe[ORACLE_HOME]/owb/bin/unixfolderanddoubleclickreposinst.shtostarttheRepository
Assistant.ClickRuntolaunchtheRepositoryAssistant.
ClickNextontheWelcomePage.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
5/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
2. IntheDatabaseInformationwindow,enterthefollowingvalues:
HostName
localhost<oryourmachinename>
PortNumber
1521
OracleServiceName
<yourdatabaseSID>
ClickNext.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
6/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
3. IntheChooseOperationwindow,clickManageWarehouseBuilderworkspaces.
ClickNext.
4. IntheChooseWorkspaceOperationswindow,clickCreateanewWarehouseBuilderworkspace.
ClickNext.
5. IntheNeworExistingUserwindow,clickCreateaworkspacewithanewuserasworkspaceowner.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
7/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
ClickNext.
6. IntheDBAInformationwindow,enterthefollowingvalues:
UserName
system
Password
<yoursystemuserpassword>
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
8/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
ClickNext.
7. IntheWorkspaceOwner(New)window,enterthefollowingvalues:
WorkspaceOwner'sUserName
eup_owner
WorkspaceOwner'sPassword
eup_owner
WorkspaceOwner'sPasswordConfirmation
eup_owner
WorkspaceName
my_workspace1
ClickNext.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
9/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
8. IntheOWBSYSInformationwindow,enterthefollowingvalues:(thiswillnotappearinthesubsequentrunsofthe
RepositoryAssistant)
UserName
OWBSYS
Password
owbsys
ClickNext.
9. IntheSelectTablespaceswindow,acceptallofthedefaultsandclickNext.(Thiswillnotappearinthesubsequent
runsoftheRepositoryAssistant).
10. IntheSelectLanguageswindow,acceptthedefaultsandclickNext.(Thiswillnotappearinthesubsequentruns
oftheRepositoryAssistant)
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
10/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
11. TheWorkspaceUsers(Optional)windowallowsyoutooptionallyselectexistingdatabaseusersorcreateanew
databaseusertoserveasaworkspaceuser.
Youwillnotcreateanyadditionalusersyouwillloginusingtheworkspaceownerthatyouspecifiedearlierinthis
wizard.ClickNext.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
11/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
12. IntheSummarywindow,examinetheinformationandclickFinish.
Youseeaprogressbar.TheseedingoftheOWBSYSuserandtheinstallationoftheworkspaceownerwilltake
severalminutes(ittakesmoretimeinthefirstrun).
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
12/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
AnInstallationSuccessfulwindowisdisplayed.ClickOK.TheRepositoryAssistantcloses.
13. Createanotherworkspaceowner,etl_owner.
Note:Refertothetableatthebeginningofthistopictoknowifyouneedtocreatethisworkspaceownerinrelation
tothetutorialsthatdependonit.
Repeatsteps1to6.IntheWorkspaceOwner(New)window,enterthefollowingvalues:
WorkspaceOwner'sUserName
etl_owner
WorkspaceOwner'sPassword
etl_owner
WorkspaceOwner'sPasswordConfirmation
etl_owner
WorkspaceName
my_workspace2
ClickNexttoremainingwizardpages.ClickFinish.
AnInstallationSuccessfulwindowisdisplayed.ClickOK.TheRepositoryAssistantcloses.
14. Createthethirdandthelastworkspaceowner,dp_owner.
Note:Again,refertothetableatthebeginningofthistopictoknowifyouneedtocreatethisworkspaceownerin
relationtothetutorialsthatdependonit.Ifyoudon'tintendtodothe"ExaminingSourceDataUsingDataProfiling"
tutorial,youcanskipthisstep.
Repeatsteps1to6.IntheWorkspaceOwner(New)window,enterthefollowingvalues:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
13/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
WorkspaceOwner'sUserName
dp_owner
WorkspaceOwner'sPassword
dp_owner
WorkspaceOwner'sPasswordConfirmation
dp_owner
WorkspaceName
my_workspace3
ClickNexttoremainingwizardpages.ClickFinish.
AnInstallationSuccessfulwindowisdisplayed.ClickOK.TheRepositoryAssistantcloses.
LoggingInandImportingthe.MdlFiles
Inthistopic,youlogintotheWarehouseBuilderDesignCenterusingtheworkspaceownercredentialsandthenyouimport
prepopulatedprojectsbyusingthe.mdlfiles.Performthefollowingsteps:
1. LogintotheDesignCenter.DoubleclicktheOWBDesignCenterlauncheronyourdesktop.
Note:Ifyougetawindowregardingmigratingsettings,clickNo.Ifyoudidnotcreateadesktoplauncher,then
browsetothe[ORACLE_HOME]/owb/binfolderanddoubleclickowb.sh.
IntheLogondialogbox,entereup_owner/eup_ownerastheusername/password.Also,entertheconnection
detailsasshowninthescreenshotbelow.ClickOK.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
14/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
2. TheDesignCenteropens.FromtheFilemenu,selectImport>WarehouseBuilderMetadata.
3. TheMetadataImportdialogopens.ClickBrowse.TheOpendialogisdisplayed.Selectthe
gui_usability_productivity.mdlfileandclickOpen.TheMetadataImportdialogisdisplayed.Acceptallofthe
defaultsandclickImport.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
15/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
TheMetadataImportProgresswindowisdisplayed.
Whentheimportfinishes,clickOK.YoushouldnowseeaprojectnamedBIDEMO_112intheupperleftcornerof
theOWBwindow.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
16/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
FromtheFilemenu,clickExit.(Ifpromptedtosaveorrevertyourwork,saveit.)IntheExitConfirmationdialog,click
Yes.
4. Assumingyoucreatedtheetl_ownerworkspaceowner(withanintentiontoworkontherelatedtutorials),loginto
theDesignCenterusingetl_owner/etl_ownerusername/password.
Ifyouenteredtheconnectiondetailsearlier,youneednotenteritagain.ClickOK.
5. TheDesignCenteropens.FromtheFilemenu,selectImport>WarehouseBuilderMetadata.
TheMetadataImportdialogopens.ClickBrowse.TheOpendialogisdisplayed.Selecttheetl_project.mdlfile
andclickOpen.TheMetadataImportdialogisdisplayed.AcceptallofthedefaultsandclickImport.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
17/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
TheMetadataImportProgresswindowisdisplayed.Whentheimportfinishes,clickOK.
YoushouldnowseeaprojectnamedETL_PROJECTintheupperleftcorneroftheOWBwindow.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
18/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
FromtheFilemenu,clickExit.(Ifpromptedtosaveorrevertyourwork,saveit.)IntheExitConfirmationdialog,click
Yes.
SettingUptheDataSourceandthePredefinedProjectfortheDataProfilingTutorial
Ifyouplantodothe"ExaminingSourceDataUsingDataProfiling"tutorial,performthefollowingstepstosetupthedata
sourceandtheOWBprepopulatedproject:
1. InSQL*Plus,connectassysassysdbauser.Runcreate_user.sql.Itcreatesauser,dq_srcandgrantsitthe
requiredprivileges.
Note:Thecreate_user.sqlfileislocatedinthe../owb_setup/dp_setup_filesfolder.
OpenaLinuxterminalwindow.Enterthefollowingcommands:
sqlplussys/[password]assysdba
@/home/oracle/owb_setup/dp_setup_files/create_user.sql
Note:Substitutethesysuserpasswordandtheexactlocationofthecreate_user.sqlscript.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
19/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
2. Rununlock.sqltounlockthesampleschemas.Enterthefollowingcommand:
@/home/oracle/owb_setup/dp_setup_files/unlock.sql
3. Openaterminal.Changetothefolderwhereyousavedthedq_src.dmpfile.
Importthedq_src.dmpfileusingthefollowingcommandontheterminal:
cd<folderlocation>/owb_setup/dp_setup_files
impdq_src/dq_src@orclfile=dq_src.dmp
full=true
Note:Substitutethe<folder_location>withthecorrectlocationofthedp_setup_filesfolder.
4. Assumingyoucreatedthedp_ownerworkspaceowner(withanintentiontoworkontherelatedDataProfiling
tutorial),logintotheDesignCenterusingdp_owner/dp_ownerusername/password.
Ifyouenteredtheconnectiondetailsearlier,youneednotenteritagain.ClickOK.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
20/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
NotethenewRecentLogonfield.Becauseyouhaveloggedinalreadywithtwodifferentusercredentials,itretains
them.Ignoreitfornowandloginasanewuser,dp_owner.
5. TheDesignCenteropens.FromtheFilemenu,selectImport>WarehouseBuilderMetadata.
TheMetadataImportdialogopens.ClickBrowse.TheOpendialogisdisplayed.Selectthedp_handson.mdlfile
andclickOpen.TheMetadataImportdialogisdisplayed.AcceptallofthedefaultsandclickImport.
TheMetadataImportProgresswindowisdisplayed.Whentheimportfinishes,clickOK.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
21/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
YoushouldseeaprojectnamedHANDSONintheupperleftcorneroftheOWBwindow.DonotexittheDesign
centeryet.
6. Createandregisteratargetschema,dp_tgt.
NavigatetotheGlobalsNavigatorpanel.ExpandSecuritynode.RightclickUsersandselectNewUser.Click
Nextonthewelcomepage.
7. ClickCreateDBUser.Inthedialogbox,enterthedetailsasshowninthescreenshot.Username/password:
dp_tgt/dp_tgt.ClickOK.ClickNext.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
22/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
8. IntheChecktocreatealocationpage,deselectthe"ToCreatealocation"optionbecausethislocationisalready
created.
ClickNext.ClickFinish.
9.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
23/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
IntheDesignCenter,fromtheToolsmenu,selectPreferences.InthePreferenceswindow,expandtheOWBnode
andselectSecurityParameters.CheckthePersistLocationPasswordinMetadataoption.
Note:Thispersiststhepasswordsthatyouenterforthelocations.Youneednotenterthepasswordeachtime
sourcesortargetslocationsareaccessed.
ClickOK.
10. Setupthelocations.NavigatetotheLocationsNavigator(justbesidestheProjectsNavigator).ExpandLocations>
Databases>Oracle.DoubleclickDP_TGT_LOCATION(orrightclickitandselectOpen).
Enterdp_tgtasthepassword.Verifytheotherexistingconnectiondetails.Checkthattheservicenameiscorrect.
Changetheversionto11.2.
ClickTestConnectiontotest.ClickOK.
ClickOKagaintoclosetheEditLocationdialogbox.
DothesameforDQ_SRC_LOCATIONandOE_LOCATION.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
24/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
ClickSaveALLonthetoolbartosavethechanges.ClickYesintheconfirmationdialogbox.ExittheDesign
Center.
11. Youneedtograntselectprivilegesonthesourcetablestothedp_tgtuser.Loginassysuserandrun
grant_priv.sqllocatedinthe../owb_setup/dp_setup_filesfolder.
QuitSQL*Plus.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
25/26
11/3/2016
SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
Summary
Aftercompletingallthestepsdescribedinthistutorial,youwillbeabletorunthroughthefollowingOracleByExample(OBE)
tutorials:
ImprovedUserInterface,Usability,andProductivityWithOWB11gR2
HandlingFlatFileandCOBOLCopybookSourcesinMappings
UsingDataTransformationOperatorswithSourceandTargetOperators
WorkingwithPluggableMappings
ExaminingSourceDataUsingDataProfiling
Inthistutorial,youhavelearnedhowto:
Downloadthesetupfiles
CreateworkspaceandworkspaceownersusingtheRepositoryAssistantwizard
SetuptheWarehouseBuilderprojectenvironmentforthetutorials
Importsourcemetadatausingthe.mdlfiles
Resources
OWBonOTN
OWBDocumentation
OracleUniversityOWBCourses:
DataIntegrationandETLwithOracleWarehouseBuilder:Part1
DataIntegrationandETLwithOracleWarehouseBuilder:Part2
AboutOracle |OracleandSun |
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/owb/setup/setting_owb_environment.htm?print=preview&imgs=visible
26/26