• No results found

Automating Essbase Data load through ODI – Part I

N/A
N/A
Protected

Academic year: 2021

Share "Automating Essbase Data load through ODI – Part I"

Copied!
29
0
0

Loading.... (view fulltext now)

Full text

(1)

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

Description Change

Author

Publish Date

0.1

Initial Draft

Gourav Atalkar

16-July-2011

0.1

Review 1st

Amit Sharma

19-Jul-2011

(2)

Table of contents

1) Introduction 3

2) Requirements 4

3) Creating essbase Data Server physical Schema and Logical schema for using as Target 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 19

6) Creating Interface 22

(3)

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

(4)

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

3)

Creating essbase Data Server physical Schema and

Logical schema for using as Target:

Step: 1) Go to StartProgram FilesOracleOracle 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’.

(5)

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

(6)

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.

(7)

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.

(8)

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

(9)
(10)

Step: 16) ‘Save’.

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

(11)

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

(12)

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

follows:

(13)

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

(14)

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.

(15)

4) Creating MS SQL server Data Server Physical Schema

and Logical Schema for using as source

(16)

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.

(17)

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’.

(18)

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.

(19)

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.

(20)
(21)

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.

(22)

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.

(23)
(24)

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

(25)
(26)

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.

(27)

7)Creating packages

(28)

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

the require field

(29)

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.

References

Related documents

6 Complete the conversation between two new school friends. Write the correct letter on the line. Be careful! One sentence is extra. In fact I’m in the swimming club. Here she

command the fight, maintaining focus and level of intensity, allowing absolutely no potential for subordinate confusion. The rehearsal’s purpose is to validate synchronization –

Islam and Tsuji (2010) carried out a comprehensive work entitled “assessing information literacy competency of Information Science and Library Management graduate

To determine if the different in utero lesions altered postnatal Figure 3 Myelin basic protein expression is decreased on postnatal day 15 following prenatal transient

Number of classification errors of the LDA-SPA models in the test set for 1 mm, 10 mm and 20 mm optical lengths. The number of selected wavenumber by SPA is indicated

Intracellular reactive oxygen species (ROS) (a), myeloperoxidase (MPO) (b), and nitrite (c) production, expressed as percentage of fluorescence/absorbance, and MPO (d) and NOS2

* Reference; Guidelines on the Prevention and Control of TB in Ireland, National TB Advisory Committee, April 2010.. Role of the pharmacist in the management of TB.. 4) screening

The perception of risk factor showed to affect consumers behavior in reading animal-based food product’s label, while their health condition and time availability