Download - Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

Transcript
Page 1: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

1 Copyright © 2013 Tech Mahindra. All rights reserved. 1

Using BI Publisher with EM12c for

Enhanced Productivity

Dhananjay Papde UKOUG Tech13 Conference

Manchester

Page 2: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

2 Copyright © 2013 Tech Mahindra. All rights reserved.

Principal Consultant / Operations Head at

TechMahindra

Winner of the Oracle Fusion Middleware

Innovation Award at Oracle Open World

Author of “Oracle Enterprise Manager 12c

Administration Cookbook” by Packt

Publishing

Nominated for Oracle UK Customer Awards in

2013

Dhananjay Papde

Page 3: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

3 Copyright © 2013 Tech Mahindra. All rights reserved.

Key Speaker at various Events like

– Oracle Open World 2013

– Oracle International Conference in Birmingham

– Oracle Data Innovation Forum, London & Dublin

– Oracle Special Interest Group, UK

My Blog :

– http://dhananjaypapde.blogspot.co.uk

Dhananjay Papde

Page 4: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

4 Copyright © 2013 Tech Mahindra. All rights reserved.

Overview of Oracle Enterprise Manager EM 12c

New Features of EM 12c

Overview of BI Publisher

Install & Integrate BI Publisher with EM12c

Create a report in BI Publisher from EM12c repository

Efficiently manage Oracle Business Intelligence using EM12c

Agenda

“EM 12c is one of, THE Most complete & comprehensive solution from Oracle &

scope will continue to extend with every single acquired or developed product. It is

truly a ground breaking product”

Page 5: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

5 Copyright © 2013 Tech Mahindra. All rights reserved.

Overview of

Enterprise Manager 12c

Page 6: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

6 Copyright © 2013 Tech Mahindra. All rights reserved.

What is Enterprise Manager (EM12c)

Oracle’s integrated enterprise IT management product

Industry’s first Cloud life cycle management solution

Manage your entire IT infrastructure from Applications to Disk IT management from a single console.

Discover and monitor management targets and their relationships to proactively detect and resolve problems.

Page 7: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

7 Copyright © 2013 Tech Mahindra. All rights reserved.

New Features of EM12c

Page 8: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

8 Copyright © 2013 Tech Mahindra. All rights reserved.

EM12c Key Features

Page 9: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

9 Copyright © 2013 Tech Mahindra. All rights reserved.

BI Publisher Overview

Page 10: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

10 Copyright © 2013 Tech Mahindra. All rights reserved.

Oracle BI Publisher Overview

Previously called as Oracle XML Publisher (XMLP), Rebranded as BI Publisher when XML Publisher became part of OBIEE Suite

Oracle's primary reporting tool for authoring, Managing & delivering documents.

Highly formatted, professional quality, reports, with pagination and headers/footers.

PDF, Excel, Powerpoint, Word, Flash and HTML output of reports.

Data from heterogeneous sources can be used

Data model, layout and translation are distinct layers

Page 11: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

11 Copyright © 2013 Tech Mahindra. All rights reserved.

Oracle BI Publisher in context of EM12c

BI Publisher Ships standard with Enterprise Manager 12c or its embedded with OBIEE or Purchased as separate product

Develop custom reports against read-only EM repository

Integrated with EM security

Integrated with eBusiness suite, Peoplesoft and Siebel

Email, printer, fax, ftp sites and content management site

Report Layout can support more than 150 languages and 200 territories by adding translation files

Page 12: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

12 Copyright © 2013 Tech Mahindra. All rights reserved.

Oracle BI Publisher Overview

Page 13: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

13 Copyright © 2013 Tech Mahindra. All rights reserved.

Install & Integrate BI Publisher

with EM12c

Page 14: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

14 Copyright © 2013 Tech Mahindra. All rights reserved.

Install and Integrate BI Publisher EM12c BEFORE Installation &

Integration with BI Publisher

EM12c AFTER Installation &

Integration with BI Publisher

Click on BI Publisher Enterprise Reports

does not show any BI Publisher Reports

and it states BI Publisher needs to be

configured

Click on BI Publisher Enterprise Reports

show list of below reports

Page 15: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

15 Copyright © 2013 Tech Mahindra. All rights reserved.

Install and Integrate BI Publisher

In summary, it is a two step process

1. Software Only Install of BI enterprise edition 11g

2. Integrate BI Publisher with EM 12c

Note :

• EM12c Cloud Control 12.1.0.1.0 requires BI Publisher 11.1.1.5.0

• EM12c Cloud Control 12.1.0.2.0 requires BI Publisher 11.1.1.6.0

Page 16: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

16 Copyright © 2013 Tech Mahindra. All rights reserved.

Install and Integrate BI Publisher – Software Only Install

• Extract binaries on the Oracle Management Server

• ./runInstaller

Page 17: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

17 Copyright © 2013 Tech Mahindra. All rights reserved.

Install and Integrate BI Publisher – Software Only Install

• Click on Software Only Install

Page 18: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

18 Copyright © 2013 Tech Mahindra. All rights reserved.

Install and Integrate BI Publisher – Software Only Install

• Enter the same Oracle Middleware Home path that was created during the

EM installation.

Page 19: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

19 Copyright © 2013 Tech Mahindra. All rights reserved.

Install and Integrate BI Publisher – Software Only Install

• Complete the software only install

Page 20: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

20 Copyright © 2013 Tech Mahindra. All rights reserved.

Install and Integrate BI Publisher – configureBIP

• Take backup of EM repository using RMAN or datapump …

• Backup the EM domain, just in-case restoration is required

$cd /u01/app/Middleware/gc_inst/user_projects/domains

$zip -r GCDomain.tar GCDomain

• Execute the configureBIP script residing in ORACLE_HOME/bin of the Oracle

Management server

$./configureBIP

Configuring BI Publisher Version "11.1.1.6.0" to work with

Enterprise Manager

Logging started at

/u01/app/Middleware/oms/cfgtoollogs/bip/bipca_201311021711

07.log.

It is strongly recommended to backup the domain before

configuring BI Publisher. Are you sure you want to

continue with BI Publisher configuration [no] ? y

Enter sysdba user name (sys):sys

Enter sysdba user password:

Enter Admin Server user password:

Enter Node Manager password:

....

Page 21: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

21 Copyright © 2013 Tech Mahindra. All rights reserved.

Install and Integrate BI Publisher – configureBIP

• Login to EM12c Cloud Control -> Enterprise -> Reports -> BI Publisher Enterprise

Reports

Page 22: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

22 Copyright © 2013 Tech Mahindra. All rights reserved.

Create BI Publisher report using

EM12c repository

Page 23: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

23 Copyright © 2013 Tech Mahindra. All rights reserved.

BI Publisher Reports

• Intent is to create a report which would look alike below

Page 24: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

24 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports Invoke BI Publisher from EM12c

• Log in to Enterprise Manager Cloud Control

• Select Enterprise

• Click on Reports

• Click on BI Publisher Enterprise Reports

• Click on BI Publisher Enterprise Reports Web Application.

• Enter the user ID and password.

Page 25: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

25 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports Create Folder to store Reports and grant roles

• Click on Catalog -> Folder

• Create a new folder named Test Reports

under Shared Folder

• Click on Permissions and grant the required permissions to the various roles.

Page 26: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

26 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports BI Publisher Reports typically comprises of

• Underlying data model

• parameter

• list of values

• dataset

• Layout to display the data

Report Creation Steps

• Catalog Menu -> New Icon -> Data Model

Page 27: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

27 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports Data Model -> Properties

• Enter the Data Model details for the test report.

• Select EMREPOS as the Default Data Source.

Page 28: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

28 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports

Data Model -> List of Values

• Click on the List of Values tab in the Data Model section.

• Select a Type of SQL Query

• Enter datasource as EMREPOS

Page 29: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

29 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports Data Model -> List of Values -> Query Builder

• Enter the SQL query, which can be entered by either

• Clicking on the Query Builder button or

• By pasting the exact query into the SQL Query section.

• Click on Query Builder button, select the required view from the

left-hand pane and move it to the right-hand pane.

• In this example, the MGMT$DB_DBINSTANCEINFO view is selected and moved to the

right-hand pane.

• Select required fields, TARGET_NAME, TARGET_GUID, INSTANCE_NAME

Page 30: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

30 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports

Data Model -> Data Set

• Click Data Sets

• Click Diagram

• Click SQL Query

• Enter the Data set Name,

• Select a Data Source

• Click on the Query Builder button

• Select relevant fields or

• Enter query in the SQL Query

Page 31: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

31 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports

Data Model -> Data Set

• Select relevant fields

• Join the two objects using TARGET_GUID

• Click on Results to see the data and also it proves the query works

• Click on Save.

• Click on XML to generate some test data that can be used during the report layout design.

Page 32: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

32 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports

Data Model -> Data Set

• Subsequently clicking on Data Set, screen will display as follows.

• Click Save

Page 33: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

33 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports

Create Report Layout

• Click on Create New Report.

• Click on Use Existing Data Model

Page 34: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

34 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports

• Select an option in the Create Layout section.

• In this example, the Chart and Table template is chosen.

Page 35: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

35 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports

Enter the layout information.

• Enter the title of the report as Database Instance Extents Information.

• Drag-and-drop INSTANCE_NAME and DBVERSION fields into the layout.

• Drag-and-drop INITIAL_EXT_SIZE and NEXT_EXTENT fields into the Drop Value Here section.

• Drag-and-drop the TABLESPACE_NAME field into the Drop Label Here section.

Page 36: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

36 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports

• Enter the table title as Base Data,

• Drag-and-drop the TABLESPACE_NAME, INITIAL_EXT_SIZE, NEXT_EXTENT fields into the

Base Data section to get the raw or base data.

• Click on Save.

Page 37: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

37 Copyright © 2013 Tech Mahindra. All rights reserved.

Creating BI Publisher Reports

• Click on View report, select the database instance,

• Click on Apply to view the report, as shown in the following screenshot:

Page 38: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

38 Copyright © 2013 Tech Mahindra. All rights reserved.

Efficiently Manage BI using 12c

Page 39: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

39 Copyright © 2013 Tech Mahindra. All rights reserved.

Invoke BI -> Targets -> Middleware -> BI Farm

Page 40: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

40 Copyright © 2013 Tech Mahindra. All rights reserved.

BI Farm Summary Page

Page 41: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

41 Copyright © 2013 Tech Mahindra. All rights reserved.

BI – System Component & Metrics

Page 42: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

42 Copyright © 2013 Tech Mahindra. All rights reserved.

BI Processes Availability

Page 43: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

43 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Average Query Time

• Click on BI Server -> Monitoring -> Metric and Collection Settings

Page 44: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

44 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Average Query Time • Enter Average Query Time (seconds) as shown in this image

Page 45: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

45 Copyright © 2013 Tech Mahindra. All rights reserved.

• In Corrective Actions -> Click Add (next to Warning)

Use Case –

Average Query Time

Page 46: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

46 Copyright © 2013 Tech Mahindra. All rights reserved.

6 types of Corrective Actions are possible

• Fusion Middleware Process Control

• OS command – Execute a script on OS

• Multi-Task

• Reuse Action

• From Library – Execute a script stored from library

• Agent Response Action

Use Case –

Average Query Time

Page 47: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

47 Copyright © 2013 Tech Mahindra. All rights reserved.

In Fusion Middleware Process Control Corrective Action • Enter the required details on the screens

Use Case –

Average Query Time

Page 48: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

48 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Average Query Time

• Warning and Critical Corrective Action is created

Page 49: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

49 Copyright © 2013 Tech Mahindra. All rights reserved.

Contact Details

[email protected]

[email protected]

http://dhananjaypapde.blogspot.co.uk

Page 50: Ukoug tech13 bi_publisher_and_bi_em12c_dhananjay_papde_v1

© Tech Mahindra 2013

Thank You