DevOps and Decoys How to Build a Successful Microsoft DevOps Including the Data
New em12c kscope
1. 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
2. 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 MySQL
Specialize in performance and management of large
enterprise environments.
Board of directors for RMOUG, (www.rmoug.org)
Blog: DBAKevlar.com
#Kscope
3. The Goal of Monitoring System
Complete
No “White Noise”
Redundancy
Escalation Process
GUI Interface for Those Less Familiar
Secure
#Kscope
4. Enterprise Manager 12c, the Cloud
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.
#Kscope
5. The Nitty-Gritty
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.
#Kscope
6. The Nitty Gritty, Cont.
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.
#Kscope
7. Licensing
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/lic
ense.102/b40010.pdf
#Kscope
8. The Repository:11.2.0.2
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);
#Kscope
10. Sysman Logins
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.
#Kscope
11. Helpful Links for Installations:
Gohkan Atil:
http://www.gokhanatil.com/2011/10/howto-
install-oracle-enterprise-manager.html
Martin Bach:
http://martincarstenbach.wordpress.com/2011/1
1/22/installing-oem-12c-agents-in-rpm-format/
Oracle’s Guide:
http://docs.oracle.com/cd/E24628_01/index.htm
#Kscope
14. 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
16. 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
19. Adding Agents
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.
#Kscope
32. Highlighting the Details
• Dependent Target Components
• Red “X”
• Wait Event High Level Info
• Basic Info regarding Targets
32 #Kscope
33. View Only Those with Critical Alerts
• Ability to narrow down view with filters to only what you want to see-
Critical Alerts:
33 #Kscope
34. 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
35. 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
36. New Snapshot Window, ASH style
Ability to choose timelines by:
Hour Day
Week Month
Calendar Custom
#Kscope
39. Load Map
New Visual Way of Showing Data,
Multiple Ways!
#Kscope
40. ASH Analytics Summary
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.
#Kscope
41. Contact info for me
Company Website: www.enkitec.com
Twitter: @DBAKevlar
Linkedin: Kellyn Potvin and Rocky Mountain
Oracle User Group
Email: dbakevlar@gmail.com or
kellyn.potvin@enkitec.com
Blog: dbakevlar.com
#Kscope
42. Questions?
Fastest Growing Companies
in Dallas
#Kscope