new em12c kscope

42
#Kscope Making Oracle’s EM 12C Work for you A Funny Thing Happened on the Way to the Cloud Control… Kellyn Pot’Vin Sr. Technical Consultant

Upload: kellyn-potvin-gorman

Post on 07-May-2015

788 views

Category:

Documents


1 download

DESCRIPTION

EM12c KSCOPE 2012

TRANSCRIPT

Page 1: New em12c kscope

#Kscope

Making Oracle’s EM 12C Work for you

A Funny Thing Happened on the Way to the Cloud Control…

Kellyn Pot’Vin

Sr. Technical Consultant

Page 2: New em12c kscope

#Kscope

Kellyn Pot’Vin, ● pronounced “Poet-vaughn”

Senior Technical Consultant with Enkitec, (www.enkitec.com) which just acquired Sumneva.Westminster, Colorado, Not THAT near the fire… Oracle, SQL Server and MySQLSpecialize in performance and management of large enterprise environments.Board of directors for RMOUG, (www.rmoug.org)Blog: DBAKevlar.com

Page 3: New em12c kscope

#Kscope

Complete No “White Noise” Redundancy Escalation Process GUI Interface for Those Less Familiar Secure

The Goal of Monitoring System

Page 4: New em12c kscope

#Kscope

EM12c was announced at Oracle Open World, Oct. 2011.

EM12c was Oracle’s answer to business’ reach into Cloud environments, which offers the ability to setup, deliver and manage them.

Administrators, through a single console, can now monitor usage, setup metering, chargeback for users, manage deployed applications, manage issues and link applications to MOS directly.

Enterprise Manager 12c, the Cloud

Page 5: New em12c kscope

#Kscope

The full installer (OMS, Agent and Repository) is available for Linux x86-64, Windows, Solaris and AIX.

The installation requires Oracle Weblogic Server 10.3.5, which is included in the package.

Installation does require an Oracle Database on which Oracle Management Repository will be configured. Version 10.2.0.5 and above are supported.

The EM12c manages databases from 9.2.0.8 and above.

The Nitty-Gritty

Page 6: New em12c kscope

#Kscope

Installation Rules● The Oracle user does NOT require SUDO privs, (to

put security concerns at ease…) Any account with SUDO privileges can run the root.sh script at the end of the EM12c and agent installations.

● Port configuration in environments with more than one EM, (i.e. running parallel with 10.2.0.5, such as our environment) can run into port conflicts.

The Nitty Gritty, Cont.

Page 7: New em12c kscope

#Kscope

As long as the OMS is on its own server and is only used for the OMS repository and/or an RMAN backup catalog repository, individual oracle licensing IS NOT required for the Oracle database utilized for the repositories, (Please see pg. 15 of the following PDF from Oracle.)

Questions revolving dataguard installations, but RAC is clear- you have to pay for RAC installations of EM12c!

http://download.oracle.com/docs/cd/B19306_01/license.102/b40010.pdf

Licensing

Page 8: New em12c kscope

#Kscope

Ensure your redo logs are at least 300M each!

ALTER SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE;

ALTER SYSTEM SET shared_pool_size=600M SCOPE=SPFILE;

ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;

ALTER SYSTEM SET log_buffer=10485760 SCOPE=SPFILE;

ALTER SYSTEM SET open_cursors=300 SCOPE=SPFILE;

ALTER SYSTEM SET processes=500 SCOPE=SPFILE; 1000!

ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;

ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE;

EXEC dbms_auto_task_admin.disable('auto optimizer stats collection',null,null);

The Repository:11.2.0.2

Page 9: New em12c kscope

#Kscope

Why Increase Processes in 11g?

Page 10: New em12c kscope

#Kscope

Ensure that the SYSMAN account is both unlocked and set to a password that meets the proper requirements, (over 8 characters, mixed case, number and non-ascii characters.)

Know that once the repository is created, there will be sub-accounts supporting the SYSMAN user, (SYSMAN_RO, SYSMAN_MDS, etc…) These are REQUIRED to have the same passwords set through the EMCTL commands as the SYSMAN repository owner.

Sysman Logins

Page 11: New em12c kscope

#Kscope

Gohkan Atil: http://www.gokhanatil.com/2011/10/howto-install-oracle-enterprise-manager.html

Martin Bach: http://martincarstenbach.wordpress.com/2011/11/22/installing-oem-12c-agents-in-rpm-format/

Oracle’s Guide: http://docs.oracle.com/cd/E24628_01/index.htm

Helpful Links for Installations:

Page 12: New em12c kscope

#Kscope

Em12c Engage!

Page 13: New em12c kscope

#Kscope

The Summary Page

Page 14: New em12c kscope

#Kscope

What Can ALL be Monitored by EM12c?

Databases- Oracle, SQL Server and MySQL Applications such as Seibel, Fusion, JDE, Peoplesoft

and Apex. Hosts, Storage SANS, Cellnodes and Cloud

environments. Exadata, RAC, Dataguard and Oracle Database

Appliance.

14

Page 15: New em12c kscope

#Kscope

Global Installation of EM12c

15

Page 16: New em12c kscope

#Kscope

Setup Menu and Targets

Not only the User’s EM12c preferences are now contained in “Setup”, but the Agent configurations, MOS, security, notifications, OMS interface and patching/management packs.

Page 17: New em12c kscope

#Kscope

The “Setup” Menu

Page 18: New em12c kscope

#Kscope

Setup Menu Cont.

Page 19: New em12c kscope

#Kscope

Auto-deployment is an easy, repeatable process that no longer requires maintenance windows.

No SUDO privilege is necessary for the Oracle user, the root.sh can be run by any account with SUDO privs or by the Unix Admin.

A simple addition to the /etc/hosts file for the agent server and the EM12c host server to each file is all that is required.

If on a Windows EM12c, deploying to a Unix/Linux environment, Cygwin installation/configuration is required.

Adding Agents

Page 20: New em12c kscope

#Kscope

Prerequisites on Agent Deployments

Page 21: New em12c kscope

#Kscope

Agent Deployment Success!

Page 22: New em12c kscope

#Kscope

User Interface

Page 23: New em12c kscope

#Kscope

Database List View

Page 24: New em12c kscope

#Kscope

The Database Summary

Page 25: New em12c kscope

#Kscope

SQL Monitor

• Elapsed Time• SQL_ID, Beginning SQL Text.• Parallel, Waits and Execution Time

Page 26: New em12c kscope

#Kscope

Database Types Supported?

26

• Stand Alone Instance• RAC• Exadata• Dataguard

Page 27: New em12c kscope

#Kscope

Configuration Topology

27

• High Level View of an Environment• RAC Configuration Aware• Exadata Aware

Page 28: New em12c kscope

#Kscope

Let Me Count the Ways…

28

View an environment topology by the database servers, virtuals, listeners, etc.

Page 29: New em12c kscope

#Kscope

Hover for Data

29

Hover over objects will display more data.

Page 30: New em12c kscope

#Kscope

The More or the Less of it

30

Data is presented for any object you “hover” over.

Page 31: New em12c kscope

#Kscope

Configuration- Default, Specific

31

Critical Incidents

Page 32: New em12c kscope

#Kscope

Highlighting the Details

32

• Dependent Target Components• Red “X” • Wait Event High Level Info• Basic Info regarding Targets

Page 33: New em12c kscope

#Kscope

View Only Those with Critical Alerts

33

• Ability to narrow down view with filters to only what you want to see- Critical Alerts:

Page 34: New em12c kscope

#Kscope

Redundancy Check of the EM12c thru a Shell Script

Can be found at dbakevlar:

http://dbakevlar.com/kshell/ Will show you how to ping server Check status from command line of EM12c Report errors and alert if any received.

Page 35: New em12c kscope

#Kscope

Incident Manager, Metric Extensions

No longer referred to as alerts. Incident rules and rule gotchas. Metric Extensions and Metric usability.

● Replaces User Metric extensions● Rob Zoeteweij at http://oemgc.wordpress.com

Critical vs. warning and default incident settings for the rule sets.

Page 36: New em12c kscope

#Kscope

New Snapshot Window, ASH style

Ability to choose timelines by:Hour DayWeek MonthCalendar Custom

Page 37: New em12c kscope

#Kscope

Familiar Interface

Changes to interface were minimal for user comfort

Page 38: New em12c kscope

#Kscope

Sql Details View

Page 39: New em12c kscope

#Kscope

Load Map

New Visual Way of Showing Data, Multiple Ways!

Page 40: New em12c kscope

#Kscope

Future of “Top Activity” Easy Agent Deployment through EM12c Console Comfortable Interface for those familiar with Previous

Versions. Cool new features, new learning curve for some. Oracle user DOES NOT need sudo, disregard the

instructions.

ASH Analytics Summary

Page 41: New em12c kscope

#Kscope

Contact info for meCompany Website: www.enkitec.comTwitter: @DBAKevlarLinkedin: Kellyn Potvin and Rocky Mountain

Oracle User GroupEmail: [email protected] or

[email protected]: dbakevlar.com

Page 42: New em12c kscope

#Kscope

Questions?

Fastest Growing Companies in Dallas