DAC Class Room Notes
-
Upload
ravi-kumar-pasupula -
Category
Documents
-
view
225 -
download
1
Transcript of DAC Class Room Notes
![Page 1: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/1.jpg)
Confidential
RR I-TEC
RR I-TEC Classroom Notes
By Ram Reddy
7/10/2012 Version 1.0
![Page 2: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/2.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 2 Confidential
Contents
1. DAC Introduction 3
2. DAC Installation 3
3. DAC Configuration 37
4. Development Activities 40
![Page 3: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/3.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 3 Confidential
1. DAC Introduction
1. Is a centralized console to design, configure and execute ETL for loading
the Oracle Business Analytics Warehouse 2. Single command and control point for the OBAW 3. Provides a framework for managing the entire life cycle of OBAW
implementations 4. Provides an ‘easy-to-use’ interface for deploying, defining, administering
and monitoring of Data warehouse processes 5. Simplifies ETL customization and execution
1. Define ETL subject areas and execution plans 2. Automate configuration of ETL for full and incremental load of subject
areas 3. Automatic index management 4. Prioritize and load balance ETL workflow execution 5. Compile historical tracking of diagnostic ETL logs 6. Provide restart of ETL execution from point of failure 7. Update database statistics on OBAW tables and indexes
6. DAC present version is 10G (10.1.3.4.1)
2. DAC Installation
1. Download software from oracle website
http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/downloads/bi-downloads-1525270.html
2. In downloaded software navigate to below location and double click on 11G
![Page 4: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/4.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 4 Confidential
3. In Welcome screen click on NEXT
4. Provide installation location
![Page 5: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/5.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 5 Confidential
![Page 6: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/6.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 6 Confidential
![Page 7: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/7.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 7 Confidential
![Page 8: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/8.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 8 Confidential
![Page 9: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/9.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 9 Confidential
![Page 10: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/10.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 10 Confidential
![Page 11: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/11.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 11 Confidential
![Page 12: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/12.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 12 Confidential
Copy ojdbc6
![Page 13: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/13.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 13 Confidential
paste
![Page 14: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/14.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 14 Confidential
CLIK ON CONFIGURE
![Page 15: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/15.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 15 Confidential
CREATE USER IN SQL AS DAC
![Page 16: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/16.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 16 Confidential
Select Authentication
![Page 17: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/17.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 17 Confidential
![Page 18: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/18.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 18 Confidential
ok
![Page 19: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/19.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 19 Confidential
Ok
![Page 20: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/20.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 20 Confidential
Ok
![Page 21: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/21.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 21 Confidential
ok
![Page 22: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/22.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 22 Confidential
Clik on test conection
![Page 23: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/23.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 23 Confidential
![Page 24: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/24.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 24 Confidential
![Page 25: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/25.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 25 Confidential
yes
![Page 26: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/26.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 26 Confidential
![Page 27: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/27.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 27 Confidential
yes
![Page 28: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/28.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 28 Confidential
ok
![Page 29: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/29.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 29 Confidential
Save
![Page 30: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/30.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 30 Confidential
![Page 31: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/31.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 31 Confidential
![Page 32: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/32.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 32 Confidential
![Page 33: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/33.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 33 Confidential
D:\Informatica\9.0.1\server\bin;C:\orahome\10gR3_1\bifoundation\dac\lib;C:\orahome\10gR3_1\bifoundation\dac\bin
![Page 34: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/34.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 34 Confidential
![Page 35: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/35.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 35 Confidential
![Page 36: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/36.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 36 Confidential
Ok-ok-ok
![Page 37: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/37.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 37 Confidential
3. DAC Configuration
Step1: Sign in to DAC
Startàall program DAC à client à provide
Connection: DAC
User name: DAC
Password: DAC
Step2: Creating Container
In DAC repository we may have ‘n’ number of containers but always best practice is create only one container.
It is useful to store DAC metadata (task names, subject area, names, execution plans etc…)
![Page 38: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/38.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 38 Confidential
Process:
· Go to file menu --> new --> Source system container--> provide id as rritec123 and name as rritec
Click ok --> ok.
· Select create new Container.. --> Click ok.
Step3: Configure Database.
· Click on Design tab -->select rritec container · Click on Setup tab --> double click on Physical data sources --> click on New -->
provide
Name: ORCL
Type: Source
Connection type: Oracle (oci8)
TNS name: ORCL
Table owner: Scott
Table owner password: tiger
Dependency priority: 1
Data source number: 1521
· Click on save --> ok. · Similarly another connection with name as ORCL_DW, owner as B165_TARGET
and owner password as RRitec123
Step4: Configure Informatica Repository Server.
· Click on Setup tab --> double click on Informatica Server --> new -->
Name: INFORMATICA_REP_SERVER
Type: Repository
Hostname: local host
Server port: 6005
Domain: Domain_rritec
Login: Administrator
![Page 39: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/39.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 39 Confidential
Password: Administrator
Repository name: BIA_RS (open Informatica Admin console and name as per the console)
· Click on save --> test connection --> ok.
Step5: Configure Informatica Integration services.
· Click on Setup --> Informatica Services -->go to new
Name: INFORMATICA_DW_SERVER
Type: informatica
Services: BIA_IS
Domain: Domain_rritec
Login: Administrator
Password: Administrator
Repository name: BIA_RS (open Informatica Admin console and name as per the console)
· Click on save --> test connection --> ok.
Step6: Configuring informatica physical folder.
· Go to Tools menu --> Seed Data --> Task Physical Folder · Click on New --> name it as CUSTOM_RRITEC --> click on save --> Close.
Step7: Creating Logical Folders.
· Go to tools menu --> Seed data--> Task Logical Folder · Click on New --> Name it as RRITEC --> click save --> close.
Step8: Mapping Logical folder And Physical folder.
· Go to Design tab --> double click on Source System Folders --> select New -->Select
Logical folder as RRITEC
Physical folder as CUSTOM_RRITEC
· Click on Save.
![Page 40: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/40.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 40 Confidential
Step9: Creating Logical Data Sources
· Go to Tools menu --> Seed data --> Logical Data Source · Click on New --> name it as ORCL_SCOTT_SOURCE - > Save it. · Again click on New --> name it as ORCL_B165TARGET_DW --> Save & Close.
Step 10: creating Task Phases.
· Go to Tools menu --> Seed Data --> Task Phases. · Click on New --> Name it as General --> Save & Close.
4. Development Activities
1. Creating Tasks 2. Creating Task Group 3. Creating Subject Area 4. Creating Execution Plans 5. Creating Schedules 6. Exporting & Importing(Deployment)
1. Creating Tasks:
It is a lowest object in DAC
In Informatica a work flow is equalent to Task
In one task we can map minimum one work flow and max is 2.
Process:
· Open DAC portal and provide user name and password. · Click on Design tab -> double click on Task -> click New -> provide
Name: Router
Command for incremental load: WKF_ROUTER
Command for Full load: WKF_ROUTER
Folder name: RRITEC
Primary source: ORCL_SCOTT_SCOURCE
Primary target: ORCL_B165TARGET_DW
Task phase: General
![Page 41: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/41.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 41 Confidential
Execution type: Informatica
· Click on Save. · Right click on Task – Router -> click on Synchronize Task -> ok ->ok.
Similarly create one more task with name of Sorter and use workflow as W_SRT
2. Creating Task Groups.
Task group is mainly used to integrate n number of tasks.
In Task group we will configure dependency order of the task. This dependency order will be shown as Depth in Execution plan.
Dependency order smallest to highest will be running , If dependency order is same for 2 Tasks then both will run parallel.
Process:
· Click on Design tab -> double click on Task Groups -> new
Name: B165_TASKGROUP and Save.
· Click on Child task -> click Add/Remove -> select Router and Sorter -> click on Add -> ok
Under dependency order give 1 and 2 ->click on ok & Save.
3. Creating Subject Area
A Subject area is equalent to Business area or Data mart. (or)
A group of Tasks and Task groups are called as Subject area.
Ex: Loyalty, Marketing, Sales, Finance….
Process:
· Click on Design tab -> double click on Subject area -> new
Name: B165_SA -> Save.
![Page 42: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/42.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 42 Confidential
· Click on Child task -> click Add/Remove -> select Router and Sorter, B165_TASKGROUP
Click on Add ->ok ->Save.
· Right click on Subject area -> click on Assemble -> ok -> Accept -> ok -> Save.
4. Creating Execution plan
It is used to integrate n number of Subject areas.
Process:
· Click on Execute Tab -> Execution Plans -> new
Name: B165_EP -> Save.
· Click on Subject Areas -> Add/Remove -> select B165_SA -> click Add -> ok ->Save
· Click on Parameters tab -> click Generate -> ok
Type Name Value Data Source ORCL_B165TARGET_DW ORCL_DW Data Source ORCL_SCOTT_SOURCE ORCL Folder RRITEC CUSTOM_RRITEC
Click on Save.
· Right click on Execution plan -> click on Build -> ok
Running Execution plan:
· Start the DAC server (start -> all programs -> DAC ->Start Server).
·
![Page 43: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/43.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 43 Confidential
· Select B165_EP execution plan ->click on Run now->click on -> Yes ->ok · Go to Informatica Workflow monitor -> connect to our Repository and
observe that workflows are running.
Note: only one Execution plan is running at a time.
Scheduling:
· Click on Execute tab ->click Scheduler -> new · Provide name as B165_SC ->select Execution plan as B165_EP · Select Run only once -> give Start date as 3 min.. forward from current
time -> save
Note: The Execution time will be delay 10 – 60 sec.
Configuring Email:
Any change in the server status will be mailed to corresponding users.
Process:
Click Setup tab -> E-mail Recipients -> new -> provide
Name: RAM
E-mail: [email protected]
Click on Save.
5. Deployment:
Copying DAC Repository from one environment to another environment is called as Deployment.
Step1: Data Base Move.
DAC total work will be saved in backend schema what we configured (in lab it is DAC USER).
Step2: Exporting DAC Metadata (Taking Back up of DAC Repository)
· Go to Tools menu ->DAC Repository Management -> Export
![Page 44: DAC Class Room Notes](https://reader033.fdocuments.in/reader033/viewer/2022052308/577cc9de1a28aba711a4cd3a/html5/thumbnails/44.jpg)
RR I-TEC #209,Nilagiri Block,Adithya Enclave,Ameerpet @8801408841,8790998182 44 Confidential
· Select Rritec container ->click on Change Import & Export folder -> select Desktop ->create new folder and name it as DAC_BACKUP ->select it and click ok ->
· Select all the options under Categories -> under Application list select Rritec -> click ok -> ok.
(After few min.. Export process will be completed).
Step3: Importing
Once we can export in Development environment that we can import into testing server
· Go to Tools menu -> DAC Repository Management ->Import -> Select DAC_BACKUP folder ->ok.
·