Oracle Enterprise Manager 12c & BI Management

Post on 10-Feb-2017

232 views 7 download

Transcript of 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

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

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

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”

5 Copyright © 2013 Tech Mahindra. All rights reserved.

Enable 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

7 Copyright © 2013 Tech Mahindra. All rights reserved.

Custom Solution of

Usage Tracking in OBIEE 11g

8 Copyright © 2013 Tech Mahindra. All rights reserved.

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

9 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Cases in EM12c

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)

11 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Management

1. Use Case –

Average Query Time

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

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.

14 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Average Query Time

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

15 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

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

16 Copyright © 2013 Tech Mahindra. All rights reserved.

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

Use Case –

Average Query Time

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

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

19 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Average Query Time • Warning and Critical Corrective Action is created

20 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Management

2. Use Case –

Resource Usage

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

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

23 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Resource Usage

24 Copyright © 2013 Tech Mahindra. All rights reserved.

Proactive Management

3. Use Case –

Failed Logins

25 Copyright © 2013 Tech Mahindra. All rights reserved.

Define Metric

Thresholds

Set collection schedule

Generate Alerts

Create Incidents

Manage Incidents

Proactive 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

27 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case – Failed Logins

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

28 Copyright © 2013 Tech Mahindra. All rights reserved.

Edit Metric Value for Failed Logins

Use Case – Failed Logins

29 Copyright © 2013 Tech Mahindra. All rights reserved.

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

30 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Tuning

4. Use Case

BI Performance Summary

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

32 Copyright © 2013 Tech Mahindra. All rights reserved.

BI Performance Summary

• Click BI Coreapplication -> Monitoring -> Performance Summary

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

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

35 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Tuning

5. Use Case –

Compare Configurations

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

37 Copyright © 2013 Tech Mahindra. All rights reserved.

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

38 Copyright © 2013 Tech Mahindra. All rights reserved.

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

39 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case – Compare Configurations

• The Job has completed successfully

• The details are also sent over email

40 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Tuning

6. Use Case –

Connection Pool Usage

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.

42 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

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

43 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Connection Pool Usage Enter Oracle BI DB Connection Pool metric details

44 Copyright © 2013 Tech Mahindra. All rights reserved.

Performance Tuning

7. Use Case –

Log File Monitoring

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

46 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Log File Monitoring

Enter Log File Pattern Matched Line Count details

47 Copyright © 2013 Tech Mahindra. All rights reserved.

Use Case –

Log File Monitoring Enter Log File Pattern Matched Line Count

48 Copyright © 2013 Tech Mahindra. All rights reserved.

Contact Details

pdhananjay@techmahindra.com

dpapde@gmail.com

http://dhananjaypapde.blogspot.co.uk

© Tech Mahindra 2013

Thank You