Вы находитесь на странице: 1из 29

Learnhyperion.wordpress.

com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Document: Oracle Data Integrator 11g (11.1.1) Automating Essbase Data load through ODI Part I

Description:
This is one of the documents from ODI metadata management series. The document describes the way to automate the data load to the Hyperion Essbase through Oracle Data integrator packages.

History:
Version 0.1 0.1 Description Change Initial Draft Review 1st Author Gourav Atalkar Amit Sharma Publish Date 16-July-2011 19-Jul-2011

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Table of contents
1) Introduction 2) Requirements 3) Creating essbase Data Server physical Schema and Logical schema for using as Target 3 4 4

4) Creating MS SQL server Data Server Physical Schema and Logical Schema for using as source 14 5) Setting up the Change data Capture on Source 6) Creating Interface 7) Creating packages 19 22 25

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

1)Introduction:
Changed Data Capture as the term implies is used to capture the data that is inserted, updated and deleted at the source side and replicating the same at the target. ODI have a Journalizing KM to do the required implementation and it is basically into two types simple and consistent. The goal of Change Data Capture is to track change in the source data. When running integration interface, ODI can reduce the volume of source data processed in the flow by extracting only the changed data. Reducing the volume of source data is useful in many fields such as:

Synchronization Replication

These changes are captured by Oracle Data Integrator and transformed into events that are propagated throughout the information system Oracle Data Integrator supports two journalizing modes:

Simple Journalizing tracks changes in individual datastore in a model. Consistent Set Journalizing tracks changes to a group of the model's datastore, taking into account the referential integrity between these datastore. The group of datastore journalized in this mode is called a Consistent Set.

The journalizing components are:


Journals: Where changes are recorded. Journals only contain references to the changed records along with the type of changes (insert/update, delete). Capture processes: Journalizing captures the changes in the source data stores either by creating triggers on the data tables, or by using database-specific programs to retrieve log data from data server log files. See the documentation on journalizing knowledge modules for more information on the capture processes used. Subscribers: CDC uses a publish/subscribe model. Subscribers are entities (applications, integration processes, etc) that use the changes tracked on a datastore or on a consistent set. They subscribe to a model's CDC to have the changes tracked for them. Changes are captured only if there is at least one subscriber to the changes.
3

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

When all subscribers have consumed the captured changes, these changes are discarded from the journals. Journalizing views: Provide access to the changes and the changed data captured. They are used by the user to view the changes captured, and by integration processes to retrieve the changed data.

These components are implemented in the journalizing infrastructure.

2)Requirement:
We have a data store of some description and the data gets automatically incremented, instead of having to load all the data into the database at a set interval you can use ODI to capture the additional data and with the use of a package monitor when the change occurs resulting in a load executing

Creating essbase Data Server physical Schema and Logical schema for using as Target:
3)

Step: 1) Go to StartProgram FilesOracleOracle Data Integrator explore ODI and login to work repository.

Step: 2) After successfully login to work repository go to Topology Navigator select Physical Architecture Tab and select Technology and expand it. Go to the Hyperion Essbase Right Click and select New Data Server.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 3) In the definition tab enter the following details as shown in the picture below:

Step: 4) Click on Save it will ask you to create physical schema press OK.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step:5) In Technology Tab go to Hyperion Essbase expand it and select newly create data server Right Click and select New Physical schema.

Step:7) In the definition tab enter the Essbase Application name to which you want to connect.

Step: 8) Click on Save it will ask you to specify the context press OK.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 9) Go to the Logical Architecture tab Expand Technologies and select Hyperion Essbase Right-click and select New Logical Schema.

Step: 10) Give appropriate name to logical schema and set the Context to Hyperion Essbase physical schema.

Step: 11) Click on Save. Step: 12) Go to the ODI Designer and create new Project with appropriate name.

Step: 13) Click on Save. You can check in the project tab

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 14) Expand project go to knowledge module right click and import following knowledge modules. RKM Hyperion Essbase LKM Hyperion Essbase Metadata to SQL IKM SQL to File Append

Step: 15) Press Ctrl and select all three knowledge

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 16) Save.

Step: 17) Now go to the model tab and create new model Folder.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

10

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 17) Now go to the model tab and create new model.

Step: 18) In the definition tab enter the details

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

11

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step:19) Go to the Reverse Engineer tab select customize check box and enter details as follows:

Step:20) Save

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

12

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step:21) Newly created Model will be available for Reverse Engineering go to Model tab select Hyperion planning model and Right Click and select Reverse Engineers. Before Reverse Engineer the models make sure your agent services are running if not start it with following command: C:\oracle\Middleware\Oracle_ODI1\oracledi\agent\bin>agent NAME=localagent

Step: 22) Now you can reverse engineer it.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

13

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Press OK. Step: 23) Go to the Operator Tab check whether the Execution run successfully or not.

If all the checks are green that means your model reversed successfully.

Step: 24) Go to the Designer and open model tab expand Hyperion Essbase model again. You can check all the dimensions are visible there from your Essbase application.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

14

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

4) Creating MS SQL server Data Server Physical Schema and Logical Schema for using as source
Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI 15

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 1) Now we need to create data server for MS SQL RDBMS these are the step to create it. Go to the Topology Navigator in Physical architecture expand Technology tab select Microsoft SQL Server Right Click and select new data Server. Specify following details: Name: Appropriate name Instance: bispfdm[server_name] User: sa Password: ******

Step 7) Go to the JDBC tab and set appropriate drivers and url for the SQL Server database. Test the connection by pressing the Test connection button.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

16

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 8) Save it.

Step: 9) In Technology Tab go to SQL Server expand it and select newly create data server Right Click and select New Physical schema. Select schema in which your database located.

Step: 10) Click on Save it will ask you to specify the context press OK.

Step: 11) Go to the Logical Architecture tab Expand Technologies and select Oracle Right-click and select New Logical Schema.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

17

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 12) Click on Save. Step: 13) Now go to Designer Navigator and then model tab and create new model Folder.

Step: 14) Save it.

Step: 15) Now go to the newly created folder and create new model.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

18

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 16) In the definition tab enter the details.

Step:17) Save the model it will visible in your model folder now select it Right click and select reverse engineer.

Step: 19) Go to the Designer and open model tab expand Oracle model again. You can check all the tables metadata are visible there from your Oracle schema.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

19

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Now the target is ready to set for loading the data.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

20

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

5) Setting up the Change data Capture on Source


We need to import the Journalizing Knowledge module

We will be only tracking changes in one table so we will be using the Simple KM. Now we need to specified Journalizing Knowledge module for the source model we have created for the SQL server.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

21

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

The next step is to flag the datastore that is going to be journalized, right click the datastore and select Changed Data Capture > Add to CDC

The journal can be started that will capture the changes. Right click the datastore > Changed Data Capture > Start Journal, select the subscriber and another session will be started; this will create the required journal tables, views and triggers.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

22

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Once journalizing is active a green icon will be displayed on the datastore.


Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI 23

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

6)Creating Interface
Now the journalizing is active an interface can be created which will take the new records and load them into our essbase database. Step:1) Create interface

Step: 2) Go to mapping tab specify the source and target tables and map them

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

24

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 3) Now we need to select the Journalize data only check box.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

25

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 4) Our target is not capable of performing Transformation so we need to change the Staging area from target to another server we will select memory engine

Step: 5) Move to the Flow tab and specify the required knowledge modules.

Step: 6) Save the interface and execute it .It will load the change data only to target essbase application.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

26

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

7)Creating packages
Step: 1) Create a package inside the project w have created previously.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

27

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 2) Drag and drop waitForLogData Api tool from Change Data Capture and update the require field

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

28

Learnhyperion.wordpress.com

learnodi.wordpress.com

http://odinetwork.blogspot.com/

Step: 3) We need to drag and drop the interface to diagram tab and specify the sequence of execution.

Step: 4) Now after executing the package, the session waits until one records have been added then the data load is initiated.

Business Intelligence Solution Providers | Automating Data Load to Essbase through ODI

29

Вам также может понравиться