View
1.467
Download
9
Category
Preview:
Citation preview
ORACLE ENTERPRISE MANAGER
CLOUD CONTROL 13C FOR DBAs
Gökhan Atıl
GÖKHAN ATIL
➤ DBA Team Lead with 15+ years of experience
➤ Oracle ACE Director (2016)ACE (2011)
➤ 10g/11g and R12 OCP
➤ Founding Member and Vice President of TROUG
➤ Co-author of Expert Oracle Enterprise Manager 12c
➤ Blogger (since 2008) gokhanatil.com
➤ Twitter: @gokhanatil
2
AGENDA
➤ Introduction to Enterprise Manager Cloud Control
➤ Why Enterprise Manager Cloud Control?
➤ Top Features for DBAs
Monitoring
Performance Tuning
Provisioning
➤ Tips for Using EM13c
3
WHAT IS ENTERPRISE MANAGER CLOUD CONTROL?
➤ Centralised monitoring and management platform
➤ Agents: Collects monitoring and configuration data
➤ Management Server (OMS): Receives and processes data from Agents
➤ Repository (OMR): Persistent store for collected data
Agent
Agent
Agent
Repository Management Server
Connectors
Notifications
Console (web/cli)
4
➤ One tool to monitor and manage all Oracle databases
➤ Standardise (and automate) management tasks
➤ Extensible Architecture:
➤ Supports 3rd party plugins (MongoDB, PostgreSQL)
➤ Easy to maintain: Familiar components(Weblogic, Oracle DB, My Oracle Support)
➤ Base Functionality is Free (it's hard to beat free!)
WHY ENTERPRISE MANAGER CLOUD CONTROL?
No Data Guard No Real Application Clusters
Dedicated to EM13cNo Extra License
Required
5
ENTERPRISE MANAGERTop Features for DBAsME
YOU NEED TO MONITOR YOUR DATABASES
COMPREHENSIVE MONITORING CAPABILITIES
➤ Monitoring for on-premise, hybrid, and Oracle Cloud Platform
➤ Oracle-recommended metrics and thresholds
➤ Incident Management
➤ Metric data stored in the Management Repository (can be used for reporting)
➤ Real-time performance charts
➤ E-mail and pager notifications
8
METRICS, ALERTS AND INCIDENTS
PREDEFINED METRICS
+ Metric Extensions
WARNING & CRITICAL THRESHOLDS
MONITORING TEMPLATE
TARGETALERTSINCIDENT RULES
INCIDENT CREATED NOTIFICATION
tablespace usage %75 warning %90 critical
9
INCIDENT MANAGEMENT
➤ Assign
➤ Set Priority
➤ Escalate
➤ Clear
➤ Acknowledge
➤ Status Updates
10
INCIDENT DASHBOARDNEW ON
EM13c
11
CORRECTIVE ACTIONS
➤ Helps to automate administrative tasks to resolve incidents
➤ OS command, SQL, RMAN Script or EM actions such as start/stop agent
12
YOU ARE A FIREFIGHTER, RIGHT?
TOP ACTIVITY PAGEDatabase
Diagnostics Pack
ASH ANALYTICS
➤ Interactive version of ASH Reports
➤ Select the dimensions, drill down to undertake a performance review on a single page
➤ Save report as HTML
Database Diagnostics
Pack
15
ASH ANALYTICS (LOADMAP)
Loadmap shows waits indicating the importance of each by the size of the box
16
Database Diagnostics
Pack
COMPARE PERIOD ADDM
Why is the database slow? Is it slower than yesterday?
Database Diagnostics
Pack
17
AWR WAREHOUSE
➤ Consolidation of AWR data from multiple DBs
➤ Long term historical information
➤ Requires DB 11.2.0.4 or higher
➤ AWR data transferred with datapump
Database Diagnostics
Pack
18
EMERGENCY PERFORMANCE PAGE
EM Agent directly access SGA
Database Diagnostics
Pack
19
REALTIME ADDM
Root cause analysis using direct access to SGA
Database Diagnostics
Pack
20
PATCHING AND PROVISIONING
DATABASE PROVISIONING
Repeatable, reliable, automated, unattended deployment procedures for creating, cloning, updating databases.
➤ Create Profile (Database, Grid Infrastructure, Both)
➤ Setup Hosts (Credentials, Privileged Delegation, OS Groups)
➤ Deploy Software (Source, Destination)
➤ Grid Infrastructure (ASM Disk Groups, Password, Listener)
➤ Create Databases (Template, SID, Passwords, Storage, Initialization Parameters, Sizing)
➤ Schedule to Deploy
Lifecycle Management
Pack
22
DATABASE CLONING
➤ Manage your clones in one place
➤ Easily clone or create test database
➤ Clone your PDB to cloud
NEW ON
EM13c
PROVISIONING ORACHK
Install and set up ORAchk from the Enterprise Manager console instead of the command line on individual hosts
NEW ON
EM13c
24
DATABASE PATCHING
➤ Integrated patching workflow with My Oracle Support (MOS). EM can recommend patches
➤ Complete, end-to-end orchestration of patching workflow using Patch Plans.
1. Create a Patch Plan
2. Select patches
3. Set the Deployment Options (Stage Location, Targets, Credentials)
4. Validation (Analyze)
5. Review and Deploy
➤ Common issues: Directory/file permissions or disk space
25
ENTERPRISE MANAGERTips for Using EM13c
SIZING ENTERPRISE MANAGER 13.1.0.0
Always add more RAM to OMS Servers!
Size Agent Count
Target Count
OMS Machine Count*
Cores per OMS
Memory per OMS
(GB)
Database Machine
Count
Cores per Database Machine
Memory per DB
(GB)
Small < 100 < 1000 1 4 10 1 4 7
Medium >= 100 < 1000
>= 1000 < 10,000 2 6 12 2 (Oracle
RAC) 6 10
Large >= 1000 >= 10,000 2 12 24 2 (Oracle
RAC) 12 18
27
INSTALLING ENTERPRISE MANAGER 13.1.0.0
➤ Use DB template to create repository database (DB version
supported: 12.1.0.2)
➤ Do not unzip the binaries files. Execute the
em13100_<platform>.bin file to invoke the installer
➤ Use EM installer to install WLS
Always refer to “Official Installation Guide”
Check if the files have correct bytes/checksum values
28
LET THE INSTALLER HANDLE THE REST
USE “INITIAL SETUP CONSOLE”
After you install, visit Initial Setup Console to complete “recommended” post-install tasks.
NEW ON
EM13c
30
MONITORING AND INCIDENT HANDLING
➤ Create a copy of the system default Incident Rule Sets. The default rule sets are locked.
➤ Create monitoring templates, set critical metric values.
➤ Create groups. Assign monitoring templates to groups and set different notification types based on groups.
➤ Update all notification so only critical alerting is performed.
➤ Use the EM Console to view non-critical warnings
CHECK “MANAGEMENT PACK ACCESS”
Disable auto licensing to prevent license violations.
32
TAKE REGULAR BACKUPS
You need to back up following components:
➤ The Oracle Management Service: Filesystem backup of installed software* and backup of OMS configuration:
$OMS_HOME/bin/emctl exportconfig oms
➤ The Management Repository: Backups can be taken using RMAN
➤ The software library: Taking file system backups daily is sufficient in most cases.
33
KEEP YOUR ENTERPRISE UP TO DATE
➤ Oracle Recommended Patches for Enterprise Manager Base Platform (MOS Doc ID 822485.1 needs update)
➤ Use omspatcher (Patch 19999993) to patch OMS
➤ Database Recommended Patches (MOS Doc ID 756671.1)
➤ Keep your plugins and agents up to date using “Self-Update”
➤ Agents are patched via EM
➤ Create a patch plan, check for conflicts and deploy to a test server
➤ Create a gold image and use it to mass deploy
➤ Get to know EMDIAG Troubleshooting Kits Master Index (MOS Note 421053.1) - hopefully they will be released for EM13c soon
34
THANK YOU FOR ATTENDING! ANY QUESTIONS?
Recommended