Oracle Enterprise Manager 12c & BI Management

49
1 Copyright © 2013 Tech Mahindra. All rights reserved. 1 Oracle Enterprise Manager 12c & BI Management Dhananjay Papde Oracle Open World 2013

Transcript of Oracle Enterprise Manager 12c & BI Management

Page 1: Oracle Enterprise Manager 12c & BI Management

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

Oracle Enterprise Manager 12c

& BI Management

Dhananjay Papde Oracle Open World 2013

Page 2: Oracle Enterprise Manager 12c & BI Management

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: Oracle Enterprise Manager 12c & BI Management

3 Copyright © 2013 Tech Mahindra. All rights reserved.

Key Speaker at various Events like

– Oracle International Conference in Birmingham

– Oracle Data Innovation Forum, London & Dublin

– Oracle Special Interest Group, Oracle Solihul, UK

– UKOUG Tech13 Conference in Manchester, UK

My Blog :

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

Dhananjay Papde

Page 4: Oracle Enterprise Manager 12c & BI Management

4 Copyright © 2013 Tech Mahindra. All rights reserved.

Enable BI management from EM12c

Usage Tracking in OBIEE 11g

Use Cases – Average Query Time

– Resource Usage

– Failed Logins

– BI Performance Summary

– Compare Configurations

– Connection pool monitoring

– Log file monitoring

Agenda

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

team & scope will continue to extend with every single acquired or developed

product. It is truly a ground breaking product”

Page 5: Oracle Enterprise Manager 12c & BI Management

5 Copyright © 2013 Tech Mahindra. All rights reserved.

Enable BI management

Page 6: Oracle Enterprise Manager 12c & BI Management

6 Copyright © 2013 Tech Mahindra. All rights reserved.

Enable BI monitoring from EM12c

1 •Install Oracle Business Intelligence OBIEE 11g

2 •Install or Upgrade EM12c Release 2 (12.1.0.2.0) system, or higher.

3 •Install Oracle Management Agent version 12.1.0.2.0 or higher on OBIEE server

4 •Deploy Enterprise Manager for Oracle Fusion Middleware plug-in, 12.1.0.3.0 version, or higher on OBI Server

5

•Discover the required BI Instance & Essbase targets.

•BI instance and Essbase targets are automatically discovered when you discover the weblogic domain that they are part of.

•BI instance and Essbase targets may be part of - an undiscovered weblogic domain or - It could be new or modified weblogic domain

6 •Monitor the BI instance & Essbase targets from EM12c

Page 7: Oracle Enterprise Manager 12c & BI Management

7 Copyright © 2013 Tech Mahindra. All rights reserved.

Custom Solution of

Usage Tracking in OBIEE 11g

Page 8: Oracle Enterprise Manager 12c & BI Management

8 Copyright © 2013 Tech Mahindra. All rights reserved.

Custom Solution of Usage Tracking in OBIEE11g • In OBIEE11g, Custom solution about ‘Usage Tracking/Metrics’

Page 9: Oracle Enterprise Manager 12c & BI Management

9 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Cases in EM12c

Page 10: Oracle Enterprise Manager 12c & BI Management

10 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Cases Metric Area Use Case Details Expert

Rating *

1 Performance Management Average Query Time 3

2 Performance Management Resource Usage 4

3 Proactive Management Failed Logins 4

4 Performance Management BI Metrics comparison using Overlay and

named chart feature

4

5 Compare Configurations Compare Configurations of Production & non-

production environment

5

6 Performance Management Connection Pool Monitoring 5

7 Server Log Monitoring Log File Monitoring 5

• Average ratings as given by experienced BI administrators / Operations team (Scale 1 – 5; 5 being highest rating)

Page 11: Oracle Enterprise Manager 12c & BI Management

11 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Management

1. Use Case –

Average Query Time

Page 12: Oracle Enterprise Manager 12c & BI Management

12 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Management Performance Management

CPU & Memory Usage

CPU Usage (%) with

Time

Memory Usage(MB) with Time

Response and Load

Average Query Time

Server Queries per

Second

Completed Requests per

second

Page 13: Oracle Enterprise Manager 12c & BI Management

13 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Average Query Time

Business Requirement

• BI Average query response time should be less than 2 minutes.

• System should be able to track this & on breach of threshold values raise alerts

Solution

• In EM12c, Average Query Time metric can be used.

• Alerts will be generated, if Average Query time, is more than 2 minutes.

Page 14: Oracle Enterprise Manager 12c & BI Management

14 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Average Query Time

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

Page 15: Oracle Enterprise Manager 12c & BI Management

15 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

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

Page 16: Oracle Enterprise Manager 12c & BI Management

16 Copyright © 2013 Tech Mahindra. All rights reserved.

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

Use Case –

Average Query Time

Page 17: Oracle Enterprise Manager 12c & BI Management

17 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 18: Oracle Enterprise Manager 12c & BI Management

18 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 19: Oracle Enterprise Manager 12c & BI Management

19 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Average Query Time • Warning and Critical Corrective Action is created

Page 20: Oracle Enterprise Manager 12c & BI Management

20 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Management

2. Use Case –

Resource Usage

Page 21: Oracle Enterprise Manager 12c & BI Management

21 Copyright © 2013 Tech Mahindra. All rights reserved.

Business Requirement

• User reported that sometime a specific report runs fast and sometimes it is very slow

• After further analysis we observed this happens only during peak load time.

Solution

• In EM12c, BI Presentation Server Resource metric can be used to monitor resource usage

• We can monitor the usage of Server resources.

Use Case –

Resource Usage

Page 22: Oracle Enterprise Manager 12c & BI Management

22 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Resource Usage • Enter CPU % and Memory Usage in MB

• These alerts can vindicate, if horizontal or vertical scaling is required for the BI

infrastructure

Page 23: Oracle Enterprise Manager 12c & BI Management

23 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Resource Usage

Page 24: Oracle Enterprise Manager 12c & BI Management

24 Copyright © 2013 Tech Mahindra. All rights reserved.

Proactive Management

3. Use Case –

Failed Logins

Page 25: Oracle Enterprise Manager 12c & BI Management

25 Copyright © 2013 Tech Mahindra. All rights reserved.

Define Metric

Thresholds

Set collection schedule

Generate Alerts

Create Incidents

Manage Incidents

Proactive Management

Page 26: Oracle Enterprise Manager 12c & BI Management

26 Copyright © 2013 Tech Mahindra. All rights reserved.

Business Requirement

• Business requirement is to monitor any failed login attempts

• This will also help in monitoring of any malicious attacks

Solution

• We will use EM12c to set Failed Logins Metric

• Alert will be generated whenever the Failed Logins attempts is more than 3 in one second.

Use Case – Failed Logins

Page 27: Oracle Enterprise Manager 12c & BI Management

27 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case – Failed Logins

Click on obips1 -> Monitoring -> Metrics and Collection Settings

Page 28: Oracle Enterprise Manager 12c & BI Management

28 Copyright © 2013 Tech Mahindra. All rights reserved.

Edit Metric Value for Failed Logins

Use Case – Failed Logins

Page 29: Oracle Enterprise Manager 12c & BI Management

29 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case – Failed Logins Auto alert and Incident has been created

Page 30: Oracle Enterprise Manager 12c & BI Management

30 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Tuning

4. Use Case

BI Performance Summary

Page 31: Oracle Enterprise Manager 12c & BI Management

31 Copyright © 2013 Tech Mahindra. All rights reserved.

Problem Statement

• BI Performance Metrics Comparison of two time slices

• For eg compare metrics (say, Active Sessions) of today vs Tomorrow

Solution

• On the BI performance Summary page

• Use the Overlay Feature to view & compare the metrics

• And store as named charts

• Automated analysis is possible

Use Case – BI Performance Summary

Page 32: Oracle Enterprise Manager 12c & BI Management

32 Copyright © 2013 Tech Mahindra. All rights reserved.

BI Performance Summary

• Click BI Coreapplication -> Monitoring -> Performance Summary

Page 33: Oracle Enterprise Manager 12c & BI Management

33 Copyright © 2013 Tech Mahindra. All rights reserved.

BI Performance Summary • Performance Summary Page is seen, Click on Metric Palette to view all metrics

• Drag and drop metrics from palette to the graph or select

Page 34: Oracle Enterprise Manager 12c & BI Management

34 Copyright © 2013 Tech Mahindra. All rights reserved.

BI Performance Summary Page

(Overlay feature) • Click On Overlay to view Today with Yesterday metrics etc

• Save Chart Set to view the configured data later

Page 35: Oracle Enterprise Manager 12c & BI Management

35 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Tuning

5. Use Case –

Compare Configurations

Page 36: Oracle Enterprise Manager 12c & BI Management

36 Copyright © 2013 Tech Mahindra. All rights reserved.

Problem Statement

• Compare production & non-production BI instances

Solution

• Use Compare Configuration metric

Use Case – Compare Configurations

Page 37: Oracle Enterprise Manager 12c & BI Management

37 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case – Compare Configurations • Click on Configuration -> Compare… and then enter First BI Farm details

Page 38: Oracle Enterprise Manager 12c & BI Management

38 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case – Compare Configurations • Enter second farm details and comparison template details, if any

Page 39: Oracle Enterprise Manager 12c & BI Management

39 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case – Compare Configurations

• The Job has completed successfully

• The details are also sent over email

Page 40: Oracle Enterprise Manager 12c & BI Management

40 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Tuning

6. Use Case –

Connection Pool Usage

Page 41: Oracle Enterprise Manager 12c & BI Management

41 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Connection Pool Usage

Problem Statement

• User is experiencing delay in dashboard response time.

• OBI Dashboard users reported that the dashboard response time is slow during specific time period of day.

• After further analysis we observed this happens only during peak load time.

Solution

• We decided to monitor the usage of connection pool.

• We will use OEM12c DBConnectionPool metric to monitor connection pool usage.

Page 42: Oracle Enterprise Manager 12c & BI Management

42 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Connection Pool Usage Click on obips1 -> Monitoring -> Metrics and Collection Settings

Page 43: Oracle Enterprise Manager 12c & BI Management

43 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Connection Pool Usage Enter Oracle BI DB Connection Pool metric details

Page 44: Oracle Enterprise Manager 12c & BI Management

44 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Tuning

7. Use Case –

Log File Monitoring

Page 45: Oracle Enterprise Manager 12c & BI Management

45 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Log File Monitoring

Problem Statement

• Monitor frequently occurring keyword say “ERROR” or “ORA-600” in server log and then alert on occurrence of the same

Solution

• Log file monitoring can be used.

• Very useful for tracking recurring errors

Page 46: Oracle Enterprise Manager 12c & BI Management

46 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Log File Monitoring

Enter Log File Pattern Matched Line Count details

Page 47: Oracle Enterprise Manager 12c & BI Management

47 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Log File Monitoring Enter Log File Pattern Matched Line Count

Page 48: Oracle Enterprise Manager 12c & BI Management

48 Copyright © 2013 Tech Mahindra. All rights reserved.

Contact Details

[email protected]

[email protected]

http://dhananjaypapde.blogspot.co.uk

Page 49: Oracle Enterprise Manager 12c & BI Management

© Tech Mahindra 2013

Thank You