Your SlideShare is downloading. ×
Creating master and work repository
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Creating master and work repository

211
views

Published on

Published in: Education, Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
211
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. PREPARED BY RAVI KUMAR LANKE Page 1Creating Master and Work RepositoryThis tutorial explain how to create Master and Work Repository in Unix and windows environment withOracle 11g with ODI_MASTER and ODI_WORK defined as Master and Work Repository .Please change theparameter for your environment and databaseOracle recommends creating „snpm‟ and „snpw‟ for Master and Work Repository. I intend to useODI_MASTER and ODI_WORK as it makes it easy and sense when any one looks into it.After Oracle Data Integrator ( ODI) Installation, create these schemas as follows namely.SCHEMA NAME PASSWORD DESCRIPTIONODI_MASTER ODI_MASTER Schema to Install the Master RepositoryODI_WORK ODI_WORK Schema to Install the Work RepositoryWORK_SCHEMA WORK_SCHEMA Schema to be used as Work schema for all the Oracle ConnectionUse the following Codes to create the required schema, attached the required tablespace as peryour requirement for home or testing environment dont worry about the Tablespace.CREATE USER ODI_MASTER IDENTIFIED BY ODI_MASTER;GRANT CONNECT,RESOURCE TO ODI_MASTER;CREATE USER ODI_WORK IDENTIFIED BY ODI_WORK;GRANT CONNECT,RESOURCE TO ODI_WORK;CREATE USER WORK_SCHEMA IDENTIFIED BY WORK_SCHEMA;GRANT CONNECT,RESOURCE TO WORK_SCHEMA;CREATE USER ODI_MASTER IDENTIFIED BY ODI_MASTER;GRANT CONNECT,RESOURCE TO ODI_MASTER;CREATE USER ODI_WORK IDENTIFIED BY ODI_WORK;GRANT CONNECT,RESOURCE TO ODI_WORK;CREATE USER WORK_SCHEMA IDENTIFIED BY WORK_SCHEMA;GRANT CONNECT,RESOURCE TO WORK_SCHEMA;In UNIX environment please use the following environment variables to connect to the ODI InstalledFolderexport ODI_HOME=/home/oracle/OraHome/oraclediexport ODI_JAVA_HOME=/home/oracle/OraHome/jre/1.4.2export PATH=$PATH:$ODI_HOME/bincd /home/oracle/OraHome/oracledi/bin
  • 2. PREPARED BY RAVI KUMAR LANKE Page 2[Note: Please change your HOME PATH i.e /home/oracle to your installed directory where ODI isinstalled ( as it is for me ) ]Creating Master RepositoryIn Windows Go the Following path as shows in the above image or you can call the ” REPCREATE.BAT ” inwindows from the cmd prompt or ” ./repcreate.sh ”in UNIX environment from „ oracledi/bin „ folder
  • 3. PREPARED BY RAVI KUMAR LANKE Page 3Enter the required information to create the Master Repository.User – Username to connect to the database, for my example I am using“ODI_MASTER”Pass – Password for the particular above mentioned user.Id – Give any number from 0 -50Password –for my example its ODI_MASTERTechnology – Use the technology you are using above to connect, for my exampleI am selecting Oracle.Driver : Click and select your respective technology jdbc driver , for my example its „ oracle „ so I amusingOracle.jdbc.driver.oracleDriverYou can learn about each driver in Description as you scroll through all the drives listed there .URL : Enter the corresponding url for respective driver technology , for my example iam using „localhost.localdomain:1521:orcl „host address – localhost.localdomainport – 1521
  • 4. PREPARED BY RAVI KUMAR LANKE Page 4Sid – ORCLChange your parameters depending on your environment.To learn about url see Description in the image.Final click on Test connection, if every parameter is correct it will show Successful message.Click on and Master Repository will be created .
  • 5. PREPARED BY RAVI KUMAR LANKE Page 5Logging into Topology ManagerNow type „ ./topology.sh „ or „ TOPOLOGY.BAT „ in the oracldi/bin directory or point to the icon of theTopology as show in the image.To login into Topology Manager and you will see a similar screen , click on new shown belowType in the required parameters , generally the parameters are same as aboveFor me (oracle ) its like this
  • 6. PREPARED BY RAVI KUMAR LANKE Page 6For Oracle Data Integrator ConnectionGive a login name i.e a name for your Repository, you can give any meaningful description egdevelopment, testing etc.USER – SUPERVISORPASSWORD – SUNOPSIS[ ** Please use capital alphabets , they are case sensitive ***]For Database Connection (Master Repository)Use the same User and password that you have used while creating Master Repository as discussedabove while creating master repository .Finally click Test to test the connection .Click ok and type again ./topology.shAfter logging in, select your login name and click ok.
  • 7. PREPARED BY RAVI KUMAR LANKE Page 7Now you will logged in the Topology Manager , go to fifth tab i.e Repositories and you will seeMaster and Work Repositories as shown below.
  • 8. PREPARED BY RAVI KUMAR LANKE Page 8Creating Work RepositoryRight Click on Work Repositories and click on “Insert Work Repository”You will see a Data Server , as shown below ,Name : Name for your Work repository , it can be anythingTechnology : Technology you are using to connect , for my example its OracleUser : Username for the database ( ODI_WORK)Password : Password for the particular above mentioned userLet the other default parameters be as it is .
  • 9. PREPARED BY RAVI KUMAR LANKE Page 9Go to Next Tab JDBCGive the JDBC Driver and JDBC Url depending on your technology.Click on Test to test the connection .Click yes and if everything is correct you will seeElse connection failed , if failed please check your parameters.Finally a window will pop up , enter theID for the Work Repository and the meaningful Work Repository Name to it.
  • 10. PREPARED BY RAVI KUMAR LANKE Page 10Finally you will see the Work Repository defined as shown below in the sample image.
  • 11. PREPARED BY RAVI KUMAR LANKE Page 11
  • 12. PREPARED BY RAVI KUMAR LANKE Page 12Connecting to the Designer.Now we are going to connect to the above Work repository and do our development.Type in the terminal ./designer.shordesigner.batClick on New and type in the following parametersEnter the same information and the only thing new is Repository Name type in the above workrepository if you remember, else click on this icon under Work Repository box.You will see a list of the Work Repository you created
  • 13. PREPARED BY RAVI KUMAR LANKE Page 13Select and click okTest the connection , if everything is fine you will have successful connectionLater select your new Login Repository creates above and automatically username and password will beentered.Click ok and you will log into the Designer to create your First interface.