New em12c kscope

Preview:

DESCRIPTION

EM12c KSCOPE 2012

Citation preview

#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

#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

#Kscope

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

The Goal of Monitoring System

#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

#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

#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.

#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

#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

#Kscope

Why Increase Processes in 11g?

#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

#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:

#Kscope

Em12c Engage!

#Kscope

The Summary Page

#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

#Kscope

Global Installation of EM12c

15

#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.

#Kscope

The “Setup” Menu

#Kscope

Setup Menu Cont.

#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

#Kscope

Prerequisites on Agent Deployments

#Kscope

Agent Deployment Success!

#Kscope

User Interface

#Kscope

Database List View

#Kscope

The Database Summary

#Kscope

SQL Monitor

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

#Kscope

Database Types Supported?

26

• Stand Alone Instance• RAC• Exadata• Dataguard

#Kscope

Configuration Topology

27

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

#Kscope

Let Me Count the Ways…

28

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

#Kscope

Hover for Data

29

Hover over objects will display more data.

#Kscope

The More or the Less of it

30

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

#Kscope

Configuration- Default, Specific

31

Critical Incidents

#Kscope

Highlighting the Details

32

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

#Kscope

View Only Those with Critical Alerts

33

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

#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.

#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.

#Kscope

New Snapshot Window, ASH style

Ability to choose timelines by:Hour DayWeek MonthCalendar Custom

#Kscope

Familiar Interface

Changes to interface were minimal for user comfort

#Kscope

Sql Details View

#Kscope

Load Map

New Visual Way of Showing Data, Multiple Ways!

#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

#Kscope

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

Oracle User GroupEmail: dbakevlar@gmail.com or

kellyn.potvin@enkitec.comBlog: dbakevlar.com

#Kscope

Questions?

Fastest Growing Companies in Dallas