Top Banner
© 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011
59

© 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

Jan 19, 2016

Download

Documents

Francis Parker
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation

Configure TADDM Reports with Oracle database

Krzysztof Sudziarski

4/8/2011

Page 2: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation2

Install Tivoli Common Reporting 2.1

Install Oracle Client 10.2.0.1.0

Install IBM Cognos 8 Framework Manager

Install IBM Cognos 8 Fix

Configure Framework Manager

Import model and sample reports to TCR

Publish model using Framework Manager

Configure Data Source in TCR

Import TADDM BIRT reports to TCR

Configure TADDM BIRT reports in TCR

Verification

Agenda

Page 3: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation3

Install Tivoli Common Reporting 2.1

Install TCR 2.1

Page 4: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation4

Install Tivoli Common Reporting 2.1

Install Oracle Client 10.2.0.1.0

Install IBM Cognos 8 Framework Manager

Install IBM Cognos 8 Fix

Configure Framework Manager

Import model and sample reports to TCR

Publish model using Framework Manager

Configure Data Source in TCR

Import TADDM BIRT reports to TCR

Configure TADDM BIRT reports in TCR

Verification

Page 5: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation5

Install Oracle Client 10.2.0.1.0

Select „Administrator” mode

Page 6: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation6

Install Oracle Client 10.2.0.1.0

Specify home details

Page 7: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation7

Install Oracle Client 10.2.0.1.0

Ensure that prerequisites are met.

Page 8: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation8

Install Oracle Client 10.2.0.1.0

Press install

Page 9: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation9

Install Oracle Client 10.2.0.1.0

Configuration assistant shows up

Leave „Perform typical configuration” unchecked

Page 10: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation10

Install Oracle Client 10.2.0.1.0

Use default

Make sure „Local Naming” is selected

Page 11: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation11

Install Oracle Client 10.2.0.1.0

Enter „Service Name” of your remote Oracle Database Server.

We used ORCL in our case.

Page 12: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation12

Install Oracle Client 10.2.0.1.0

Choose „TCP” protocol.

Page 13: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation13

Install Oracle Client 10.2.0.1.0

Specify the host name of the database.

Page 14: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation14

Install Oracle Client 10.2.0.1.0

Choose „Yes, perform a test” option.

Page 15: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation15

Install Oracle Client 10.2.0.1.0

Click „Change Login” button and specify credentials to your database.

Page 16: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation16

Install Oracle Client 10.2.0.1.0

Verify that test completes successfully.

Page 17: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation17

Install Oracle Client 10.2.0.1.0

For „Net Service Name” use default value which is the same as Service Name.

It was ORCL in our case.

Press next and finish creating configuration.

Finish installation

Page 18: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation18

Install Oracle Client 10.2.0.1.0

1) The tnsnames.ora file was created in default location after you finished Oracle Client installer. You can find the tnsnames.ora file in %ORACLE_HOME%/client_1/NETWORK/ADMIN

2) Create TNS_ADMIN system variable and set value to directory above (e.g. c:\oracle\product\10.2.0\client_1\NETWORK\ADMIN)

3) Reboot

For details see Oracle documentation:http://download.oracle.com/docs/html/B10131_02/post_install.htm#CHDFHDJA

Page 19: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation19

Install Tivoli Common Reporting 2.1

Install Oracle Client 10.2.0.1.0

Install IBM Cognos 8 Framework Manager

Install IBM Cognos 8 Fix

Configure Framework Manager

Import model and sample reports to TCR

Publish model using Framework Manager

Configure Data Source in TCR

Import TADDM BIRT reports to TCR

Configure TADDM BIRT reports in TCR

Verification

Page 20: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation20

Install IBM Cognos 8 Framework Manager

Install Cognos Modelling package with default options

Page 21: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation21

Install Tivoli Common Reporting 2.1

Install Oracle Client 10.2.0.1.0

Install IBM Cognos 8 Framework Manager

Install IBM Cognos 8 Fix

Configure Framework Manager

Import model and sample reports to TCR

Publish model using Framework Manager

Configure Data Source in TCR

Import TADDM BIRT reports to TCR

Configure TADDM BIRT reports in TCR

Verification

Page 22: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation22

Install IBM Cognos 8 Fix

Install Cognos Modelling Fix with default options

This step is important for proper configuration

Page 23: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation23

Install Tivoli Common Reporting 2.1

Install Oracle Client 10.2.0.1.0

Install IBM Cognos 8 Framework Manager

Install IBM Cognos 8 Fix

Configure Framework Manager

Import model and sample reports to TCR

Publish model using Framework Manager

Configure Data Source in TCR

Import TADDM BIRT reports to TCR

Configure TADDM BIRT reports in TCR

Verification

Page 24: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation24

Configure Framework Manager

1) Open IBM Cognos Configuration (TCR)

2) Open IBM Cognos Configuration

Page 25: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation25

Configure Framework Manager

1) Copy „Gateway URI” from „IBM Cognos Configuration (from TCR)” to „Gateway URI” in „IBM Cognos Configuration (in Framework Manager)”

2) Copy „External dispatcher URI” from „IBM Cognos Configuration (from TCR)” to „Dispatcher URI for external applications” in „IBM Cognos Configuration (in Framework Manager)”

Page 26: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation26

Install Tivoli Common Reporting 2.1

Install Oracle Client 10.2.0.1.0

Install IBM Cognos 8 Framework Manager

Install IBM Cognos 8 Fix

Configure Framework Manager

Import model and sample reports to TCR

Publish model using Framework Manager

Configure Data Source in TCR

Import TADDM BIRT reports to TCR

Configure TADDM BIRT reports in TCR

Verification

Page 27: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation27

Import model and sample reports to TCR

Copy the $COLLATION_HOME/etc/reporting/TADDMPackage.zip package from the TADDM server to the TCR_component_dir\Cognos\deployment directory of the Tivoli Common Reporting server

Page 28: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation28

Import model and sample reports to TCR

Open Common Reporting in TIP (https://localhost:16311/ibm/console/logon.jsp)

Select „Admin” from „Launch” drop down menu

Page 29: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation29

Import model and sample reports to TCR

Go to „Configuration” tab and press „New Import” icon

Page 30: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation30

Import model and sample reports to TCR

Select „TADDMPackage” package

Page 31: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation31

Import model and sample reports to TCR

Page 32: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation32

Import model and sample reports to TCR

Put tick in table next to package symbol

Page 33: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation33

Import model and sample reports to TCR

Page 34: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation34

Import model and sample reports to TCR

Page 35: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation35

Install Tivoli Common Reporting 2.1

Install Oracle Client 10.2.0.1.0

Install IBM Cognos 8 Framework Manager

Install IBM Cognos 8 Fix

Configure Framework Manager

Import model and sample reports to TCR

Publish model using Framework Manager

Configure Data Source in TCR

Import TADDM BIRT reports to TCR

Configure TADDM BIRT reports in TCR

Verification

Page 36: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation36

Publish model using Framework Manager

Start IBM Cognos 8 Framework Manager.

Create a new project.

Page 37: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation37

Publish model using Framework Manager

Enter credentials for your TCR (TIP) installation.

Page 38: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation38

Publish model using Framework Manager

Enter credentials for your TCR (TIP) installation once again.

Page 39: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation39

Publish model using Framework Manager

1) Close the project.

2) Overwrite model.xml file, from your Cognos Framework project directory, with model.xml from TADDM installation ($COLLATION_HOME/etc/reporting/tcr/model.xml )

3) Start Cognos Framework Manager and open your project

Page 40: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation40

Publish model using Framework Manager

Clear the Schema field in Data Source properties.

Page 41: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation41

Publish model using Framework Manager

1) Save the project

2) Publish model

Page 42: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation42

Install Tivoli Common Reporting 2.1

Install Oracle Client 10.2.0.1.0

Install IBM Cognos 8 Framework Manager

Install IBM Cognos 8 Fix

Configure Framework Manager

Import model and sample reports to TCR

Publish model using Framework Manager

Configure Data Source in TCR

Import TADDM BIRT reports to TCR

Configure TADDM BIRT reports in TCR

Verification

Page 43: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation43

Configure Data Source in TCR Open „Common Reporting” in TIP

Navigate to „Administration”

Page 44: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation44

Configure Data Source in TCR Select „Configuration” tab

Press „New Data Source”

Page 45: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation45

Configure Data Source in TCR Type „CMDBTCR” in data source name. This data source name is referenced in model

therefore you have to name this data source as „CMDBTCR”.

Page 46: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation46

Configure Data Source in TCR

Page 47: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation47

Configure Data Source in TCR Specify Oracle Database „Service Name” in „SQL*Net connect string”. This is Service Name

you specified in Oracle Net Configuration Assistant in previous steps. If you have forgotten this value you can check this value in %TNS_ADMIN%/tnsnames.ora file

Specify Oracle user and password for your SID

Page 48: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation48

Configure Data Source in TCR

Page 49: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation49

Configure Data Source in TCR

Page 50: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation50

Install Tivoli Common Reporting 2.1

Install Oracle Client 10.2.0.1.0

Install IBM Cognos 8 Framework Manager

Install IBM Cognos 8 Fix

Configure Framework Manager

Import model and sample reports to TCR

Publish model using Framework Manager

Configure Data Source in TCR

Import TADDM BIRT reports to TCR

Configure TADDM BIRT reports in TCR

Verification

Page 51: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation51

Import TADDM BIRT reports to TCR

Open a command prompt and navigate to TIP_install_dir/tipv2Components/TCRComponent/bin

Run the import commandtrcmd -user userID -password password -import -bulk pkgFilewherepkgFile - the path to the TADDMReports.zip report package file copied to the Tivoli Common Reporting server from $COLLATION_HOME/etc/reporting on the TADDM serveruserID – TIP administrator user id (e.g. tipadmin)password – TIP administrator password

Page 52: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation52

Install Tivoli Common Reporting 2.1

Install Oracle Client 10.2.0.1.0

Install IBM Cognos 8 Framework Manager

Install IBM Cognos 8 Fix

Configure Framework Manager

Import model and sample reports to TCR

Publish model using Framework Manager

Configure Data Source in TCR

Import TADDM BIRT reports to TCR

Configure TADDM BIRT reports in TCR

Verification

Page 53: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation53

Configure TADDM BIRT reports in TCR

Make sure the appropriate JDBC driver files are installed in the Tivoli Common Reporting drivers directorytip_install_dir/tip21Components/TCRComponent/lib/birt-runtime-2_2_2/ReportEngine/plugins/ org.eclipse.birt.report.data.oda.jdbc_2.2.2.r22x_v20071206/driversFor Oracle make sure that ojdbc14.jar or ojdbc5.jar is in that directory

Open a command prompt and navigate to tip_install_dir/tip21Components/TCRComponent/bin

Run the list command to list all the available reports and choose the one you want to configuretrcmd -user userID -password password -list -reports

Run the modify commandtrcmd -user userID -password password -modify -datasources -reports -reportname "reportName" -setdatasource odaDriverClass=driverClass odaURL=jdbcUrl odaUser=dbUser odaPassword=dbPassworde.g.:trcmd -user tipadmin -password tipadmin -modify -datasources -reports -reportname "/content/package[@name='Tivoli Products']/folder[@name='TADDM Reports']/report[@name='Unknown Servers Report']" -setdatasource odaDriverClass=oracle.jdbc.driver.OracleDriver odaURL=jdbc:jdbc:oracle:thin:@192.168.0.1:1521:orcl odaUser=taddm_dev odaPassword=taddm_dev

Repeat the previous steps for each of the TADDM reports you want to configure

Page 54: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation54

Install Tivoli Common Reporting 2.1

Install Oracle Client 10.2.0.1.0

Install IBM Cognos 8 Framework Manager

Install IBM Cognos 8 Fix

Configure Framework Manager

Import model and sample reports to TCR

Publish model using Framework Manager

Configure Data Source in TCR

Import TADDM BIRT reports to TCR

Configure TADDM BIRT reports in TCR

Verification

Page 55: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation55

Verification Open Common Reporting in TIP (https://localhost:16311/ibm/console/logon.jsp)

Check if you have „TADDM” and „Tivoli Products” folders

Page 56: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation56

Verification Navigate to „TADDM” folder and run sample Cognos report

Page 57: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation57

Verification Check if Cognos report is rendered without any errors

Page 58: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation58

Verification Navigate to „Tivoli Products” / „TADDM Reports” and run configured BIRT report

Page 59: © 2009 IBM Corporation Configure TADDM Reports with Oracle database Krzysztof Sudziarski 4/8/2011.

© 2009 IBM Corporation59

Verification Check if BIRT report is rendered without any errors