0% found this document useful (0 votes)
139 views26 pages

Setting Up Oracle Warehouse Builder 11g

This document provides instructions for setting up the Oracle Warehouse Builder 11g Release 2 tutorial environment. It describes downloading setup files, creating workspaces and workspace owners, importing predefined projects, and setting up the data source and predefined project for a data profiling tutorial. The setup takes approximately 40 minutes and creates three workspace owners for different tutorials on improved usability, ETL mappings, and data profiling.

Uploaded by

Henry Chan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
139 views26 pages

Setting Up Oracle Warehouse Builder 11g

This document provides instructions for setting up the Oracle Warehouse Builder 11g Release 2 tutorial environment. It describes downloading setup files, creating workspaces and workspace owners, importing predefined projects, and setting up the data source and predefined project for a data profiling tutorial. The setup takes approximately 40 minutes and creates three workspace owners for different tutorials on improved usability, ETL mappings, and data profiling.

Uploaded by

Henry Chan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment
Thistutorialcontainsthefollowingsections:
Purpose
TimetoComplete
Overview
Prerequisites
DownloadingtheSetupFiles
UsingStandaloneOWB11.2withOracleDatabase11g
Release1orOracleDatabase10gRelease2
CreatingWorkspacesandWorkspaceOwners
[Link]
SettingUptheDataSourceandthePredefinedProjectfor
theDataProfilingTutorial
Summary
Resources

Purpose
ThistutorialcoversthesetupandconfigurationstepsyoumustperformtosetuptheOracleWarehouseBuilder11gRelease2
[Link],youalsocreatedifferentworkspaceownerstologintotheOWBDesignClient.

TimetoComplete
Approximately40minutes

Overview
Inthistutorial,[Link]
alsousetheOWBRepositoryAssistanttocreatethreedifferentworkspaceandworkspaceownersforloggingintotheOracle
[Link],youthenimportpredefinedOWBprojects.
Inthistutorial,[Link]
prerequisiteforthefollowingtutorials:
1. ImprovedUserInterface,Usability,andProductivityWithOWB11gR2
2. HandlingFlatFileandCOBOLCopybookSourcesinMappings
3. UsingDataTransformationOperatorswithSourceandTargetOperators
4. WorkingwithPluggableMappings
5. ExaminingSourceDataUsingDataProfiling
Note:Thetutorials2,3,and4listedaboveusethesameOWBproject..

Prerequisites
Beforestartingthistutorial,youshould:
1. HaveaccesstoorhaveInstalledOracleDatabase11gRelease2onLinuxplatform.
Note:Inthistutorial,[Link]
Database11gRelease2,OWBisintegratedandisinstalledintheOracleDatabasehome.
IfyouwanttousethelatestOWB11gRelease2withanolderversionofthedatabasesuchastheOracle
Database11gRelease1orOracleDatabase10gRelease2,youneedtoinstallthestandaloneOWBsoftwareon
theclientandperformcertainextrastepstocreate/upgradetheOWBSYSrepositoryonthedatabase.

DownloadingtheSetupFiles
Todownloadthesetupfiles,performthefollowingsteps:
1.
[Link]

1/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

Downloadtheowb_setup.[Link]
thedownloadtoanydirectoryonyourLinuxfilesystem.
Afterthedownloadiscomplete,extractthezipfileandyoushouldgetaowb_setupfolder.

Notethattheowb_setupfoldercontainsthree.mdlfilesandafolder,dp_setup_files.Inthedp_setup_filesfolder,
therearefilesrequiredtosetuptheenvironmentforthe"ExaminingSourceDataUsingDataProfiling"tutorial.

2. Optionally,[Link],[Link]
the[ORACLE_HOME]/owb/mdlfolder.
Note:Forthistutorial,theORACLE_HOMEisassumedtobe/u01/app/oracle/product/11.2.0/dbhome_1

[Link]

2/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

3. [Link]
[Link][ORACLE_HOME]/owb/binfolderand
[Link].

4. Browsetothe[ORACLE_HOME]/jlib/folderanddeletetheoracle_ice.jarfile.
Note:StartPagebug:IntheOracleWarehouseBuilderintegratedinstallationthatisincludedwithOracle
Database11.2,[Link]
[Link]
mentionedintheOWB11.2ReleaseNotes.Deletingtheoracle_ice.jarfilewillresolvetheissueandyouwillbe
abletobrowsethelinksintheStartpage.

5. Note:Ifyouareusinganolderversionofthedatabase,[Link],
"UsingStandaloneOWB11.2withOracleDatabase11gRelease1orOracleDatabase10gRelease2"forfurther
setupinstructions.
[Link]
commands:
sqlplussys/[password]assysdba
alteruserowbsysidentifiedbyowbsysaccountunlock

[Link]

3/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

Note:IfyouareusingOWBserverinstallationthatisintegratedwiththeOracleDatabase11.2,skipthefollowingtopic,"Using
StandaloneOWB11.2withOracleDatabase11gRelease1orOracleDatabase10gRelease2"andresumefromthetopic,
"CreatingWorkspaceandWorkspaceOwners".

UsingStandaloneOWB11.2withOracleDatabase11gRelease1orOracleDatabase10g
Release2
IfyouwanttousethelatestWarehouseBuildersoftwarewithanolderversionofthedatabase,youneedtoperformsome
extrastepstosetuptheOWBenvironment.
ItisnecessarytodownloadtheOracleWarehouseBuilder11gRelease2([Link].0)StandaloneSoftwareifyouhaveanyof
thefollowingneeds:
YouareinstallingOWB11.2andhostinganOWBRepositoryononeof:OracleDatabase10gRelease1,Oracle
Database10gRelease2,orOracleDatabase11gRelease1.
YouarerunningtheOWB11.2DesignClientonadeveloper'scomputer.
YouareinstallingOWB11.2onacomputerthatrunstheControlCenterAgent.
Note:[Link]
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
[Link],itisrecommendedthatyouspecify
[Link].
IMPORTANT:IfyouareusingOracleDatabase11gRelease1,italreadycontainstheOWBSYSschemawhichis
[Link]
cleantheOWBSYSrepository,youmustrunclean_owbsys.sql,followedbycat_owb.sql.Theclean_owbsys.sql
scriptislocatedin[OWB_HOME]/owb/UnifiedRepos.Theclean_owbsys.sqlscriptdropsthecontentsofany
existingOWBSYSschemainstallations,[Link],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>

[Link]

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.
[Link]'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/[Link]
[Link].
ClickNextontheWelcomePage.

[Link]

5/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

2. IntheDatabaseInformationwindow,enterthefollowingvalues:
HostName

localhost<oryourmachinename>

PortNumber

1521

OracleServiceName

<yourdatabaseSID>

ClickNext.
[Link]

6/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

3. IntheChooseOperationwindow,clickManageWarehouseBuilderworkspaces.

ClickNext.

4. IntheChooseWorkspaceOperationswindow,clickCreateanewWarehouseBuilderworkspace.

ClickNext.

5. IntheNeworExistingUserwindow,clickCreateaworkspacewithanewuserasworkspaceowner.

[Link]

7/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

ClickNext.

6. IntheDBAInformationwindow,enterthefollowingvalues:
UserName

system

Password

<yoursystemuserpassword>

[Link]

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.
[Link]

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)
[Link]

10/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

11. TheWorkspaceUsers(Optional)windowallowsyoutooptionallyselectexistingdatabaseusersorcreateanew
databaseusertoserveasaworkspaceuser.
Youwillnotcreateanyadditionalusersyouwillloginusingtheworkspaceownerthatyouspecifiedearlierinthis
[Link].

[Link]

11/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

12. IntheSummarywindow,examinetheinformationandclickFinish.

[Link]
severalminutes(ittakesmoretimeinthefirstrun).
[Link]

12/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

[Link].

13. Createanotherworkspaceowner,etl_owner.
Note:Refertothetableatthebeginningofthistopictoknowifyouneedtocreatethisworkspaceownerinrelation
tothetutorialsthatdependonit.
[Link](New)window,enterthefollowingvalues:
WorkspaceOwner'sUserName

etl_owner

WorkspaceOwner'sPassword

etl_owner

WorkspaceOwner'sPasswordConfirmation

etl_owner

WorkspaceName

my_workspace2

[Link].
[Link].

14. Createthethirdandthelastworkspaceowner,dp_owner.
Note:Again,refertothetableatthebeginningofthistopictoknowifyouneedtocreatethisworkspaceownerin
[Link]'tintendtodothe"ExaminingSourceDataUsingDataProfiling"
tutorial,youcanskipthisstep.
[Link](New)window,enterthefollowingvalues:
[Link]

13/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

WorkspaceOwner'sUserName

dp_owner

WorkspaceOwner'sPassword

dp_owner

WorkspaceOwner'sPasswordConfirmation

dp_owner

WorkspaceName

my_workspace3

[Link].
[Link].

[Link]
Inthistopic,youlogintotheWarehouseBuilderDesignCenterusingtheworkspaceownercredentialsandthenyouimport
[Link]:
1. [Link].
Note:Ifyougetawindowregardingmigratingsettings,[Link],then
browsetothe[ORACLE_HOME]/owb/[Link].
IntheLogondialogbox,entereup_owner/eup_ownerastheusername/[Link],entertheconnection
[Link].

[Link]

14/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

2. [Link],selectImport>WarehouseBuilderMetadata.

3. [Link]
gui_usability_productivity.[Link]
defaultsandclickImport.

[Link]

15/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

TheMetadataImportProgresswindowisdisplayed.

Whentheimportfinishes,clickOK.YoushouldnowseeaprojectnamedBIDEMO_112intheupperleftcornerof
theOWBwindow.

[Link]

16/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

FromtheFilemenu,clickExit.(Ifpromptedtosaveorrevertyourwork,saveit.)IntheExitConfirmationdialog,click
Yes.

4. Assumingyoucreatedtheetl_ownerworkspaceowner(withanintentiontoworkontherelatedtutorials),loginto
theDesignCenterusingetl_owner/etl_ownerusername/password.
Ifyouenteredtheconnectiondetailsearlier,[Link].

5. [Link],selectImport>WarehouseBuilderMetadata.
[Link].Selecttheetl_project.mdlfile
[Link].
[Link]

17/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

[Link],clickOK.

YoushouldnowseeaprojectnamedETL_PROJECTintheupperleftcorneroftheOWBwindow.

[Link]

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.[Link],dq_srcandgrantsitthe
requiredprivileges.
Note:Thecreate_user.sqlfileislocatedinthe../owb_setup/dp_setup_filesfolder.
[Link]:
sqlplussys/[password]assysdba
@/home/oracle/owb_setup/dp_setup_files/create_user.sql
Note:Substitutethesysuserpasswordandtheexactlocationofthecreate_user.sqlscript.

[Link]

19/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

2. [Link]:
@/home/oracle/owb_setup/dp_setup_files/[Link]

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,[Link].
[Link]

20/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

[Link],itretains
[Link],dp_owner.

5. [Link],selectImport>WarehouseBuilderMetadata.
[Link].Selectthedp_handson.mdlfile
[Link].

[Link],clickOK.
[Link]

21/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

[Link]
centeryet.

6. Createandregisteratargetschema,dp_tgt.
[Link]
Nextonthewelcomepage.

7. [Link],[Link]/password:
dp_tgt/dp_tgt.[Link].

[Link]

22/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

8. IntheChecktocreatealocationpage,deselectthe"ToCreatealocation"optionbecausethislocationisalready
created.

[Link].

9.
[Link]

23/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

IntheDesignCenter,fromtheToolsmenu,[Link],expandtheOWBnode
[Link].
Note:[Link]
sourcesortargetslocationsareaccessed.

ClickOK.

10. [Link](justbesidestheProjectsNavigator).ExpandLocations>
Databases>Oracle.DoubleclickDP_TGT_LOCATION(orrightclickitandselectOpen).
Enterdp_tgtasthepassword.[Link].
Changetheversionto11.2.
[Link].
ClickOKagaintoclosetheEditLocationdialogbox.
DothesameforDQ_SRC_LOCATIONandOE_LOCATION.

[Link]

24/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

[Link]
Center.

11. Youneedtograntselectprivilegesonthesourcetablestothedp_tgtuser.Loginassysuserandrun
grant_priv.sqllocatedinthe../owb_setup/dp_setup_filesfolder.

QuitSQL*Plus.

[Link]

25/26

11/3/2016

SettingUptheOracleWarehouseBuilder11gRelease2TutorialEnvironment

Summary
Aftercompletingallthestepsdescribedinthistutorial,youwillbeabletorunthroughthefollowingOracleByExample(OBE)
tutorials:
ImprovedUserInterface,Usability,andProductivityWithOWB11gR2
HandlingFlatFileandCOBOLCopybookSourcesinMappings
UsingDataTransformationOperatorswithSourceandTargetOperators
WorkingwithPluggableMappings
ExaminingSourceDataUsingDataProfiling
Inthistutorial,youhavelearnedhowto:
Downloadthesetupfiles
CreateworkspaceandworkspaceownersusingtheRepositoryAssistantwizard
SetuptheWarehouseBuilderprojectenvironmentforthetutorials
[Link]

Resources
OWBonOTN
OWBDocumentation
OracleUniversityOWBCourses:
DataIntegrationandETLwithOracleWarehouseBuilder:Part1
DataIntegrationandETLwithOracleWarehouseBuilder:Part2

AboutOracle |OracleandSun |

| Careers| ContactUs| SiteMaps|

LegalNotices| TermsofUse | YourPrivacyRights

[Link]

26/26

You might also like