Oracle Exadata - Exachk and 
Oracle Enterprise Manager 12c: 
Keeping up with Exadata 
Session: CON2699 
Date: Thursday, Oct 2, 2014
Accenture/Enkitec 
Enkitec joined Accenture’s Infrastructure Services as 
Accenture Enkitec Group 
- 17,000 Infrastructure Services professionals 
- 52,000 Oracle professionals 
Focus on Oracle Engineered Systems Solutions 
- Database Migrations & Consolidations 
- Database-as-a-Service 
- Oracle Applications on Engineered Systems 
- Cloud-based solutions leveraging Engineered Systems
Speaker 
Douglasville, Georgia 
Senior Technical Consultant 
IOUG, RMOUG, GAOUG, RACSIG 
@dbasolved 
http://dbasolved.com 
bcurtis@enkitec.com 
curtisbl@gmail.com
Agenda 
• Oracle Exachk 
- Exachk Tool 
- Exachk Outputs 
• Oracle EM 12c Approach 
- Prerequisites 
- Environment Info 
- Daemon 
- Plug-In/Agent Interaction 
- EM Outputs
ExaChk Tool 
Where to get it: 
MOS Note ID: 1070954.1 – Exachk or Healthcheck 
Current release: 2.2.5.2_20140815 
When to run: 
On a regular basis (30 days) 
After corrective actions performed on a failure
ExaChk Tool 
Run ExaChk: 
$ cd <exachk unzip location> 
$ ./exachk –a 
Note: Follow the prompts and provide passwords
Exachk Outputs
Enterprise Manager 12c Approach
Prerequisites 
Note: 757552.1 - Oracle Exadata Best Practices 
Note: 1110675.1 – Oracle Database Machine Monitoring Best 
Practices 
Oracle Exadata Configured and Monitored 
Oracle Engineered System Healthchecks Plug-In (12.1.0.5.0) 
Oracle Enterprise Manager 12c (12.1.0.2, 12.1.0.3, or 12.1.0.4)
Environment Info 
RAT_COPY_EM_XML_FILES : Enables copying of result files on all the 
cluster 
export RAT_COPY_EM_XML_FILES = 1! 
RAT_OUTPUT : Output path for the exachk output 
export RAT_OUTPUT = /U01/ORACLE/EXACHK_RPT!
Daemon 
Exachk daemon makes it possible to run the ALL (-a) option of the 
Exachk tool in silent mode. 
Start the daemon as the Oracle user (follow the prompts) 
./exachk –d start! 
Run Exachk by using the daemon 
./exachk –daemon –a! 
Note: Same process can be used to run Exachk on Exalogic
Daemon (Cluster) 
Run the daemon as the Oracle user with cluster support 
./exachk –clusternodes [node1,[node N]] –d start! 
Run Exachk by using the daemon 
./exachk –daemon –a! 
Note: Now exachk can run across all nodes in the exadata (if needed)
Plug-In 
Check for any new plug-ins 
!Setup -> Extensibility -> Self Update -> Plug-Ins! 
!Search for HealthChecks! 
! 
Apply to OMS and Target Agents 
!
Agent Interaction 
Results are placed in the metric: ExadataResults! 
Force the agent to collect Exadata metrics 
./emctl control agent runCollection 
<targetName>:oracle_exadata_hc ExadataResults! 
Note: <targetName> = Target in OEM12c
EM Output 
Reports: 
All Targets -> Engineered Systems -> Oracle 
Engineered System Healthchecks! 
! 
Can be saved as CSV files 
Key Areas: Summary, Incidents & Problems, Result Summary
EM Output 
Alerts: 
Default via Plug-In (15 total) 
1.Verify Disk Cache Policy on DB Server! 
! !2.Verify DB Server Disk Controllers use 
! !writeback cache! 
! !3. Verify RAID Controller Battery Condition 
! !and Temperature! 
! !...! 
! !13. Exachk not running! 
! !14. Results and Exception file(s) missing! 
! !15. Metric Parsing Failed! 
! !! 
Note: Unwanted alerts can be disabled with monitoring templates! 
!!
Reference material 
Http://dbasolved.com/2014/01/23/configure-oem12c-to-perform-checkups- 
on-exadata-exachk/! 
Oracle Enterprise Manager System Monitoring Plug-In Installation 
Guide for Oracle Engineered System Healthchecks ( 
http://docs.oracle.com/cd/E24628_01/install.121/e27420/ 
toc.htm#PICHK113)
Speaker 
Douglasville, Georgia 
Senior Technical Consultant 
IOUG, RMOUG, GAOUG, RACSIG 
@dbasolved 
http://dbasolved.com 
bcurtis@enkitec.com 
curtisbl@gmail.com

Exachk and oem12c

  • 1.
    Oracle Exadata -Exachk and Oracle Enterprise Manager 12c: Keeping up with Exadata Session: CON2699 Date: Thursday, Oct 2, 2014
  • 2.
    Accenture/Enkitec Enkitec joinedAccenture’s Infrastructure Services as Accenture Enkitec Group - 17,000 Infrastructure Services professionals - 52,000 Oracle professionals Focus on Oracle Engineered Systems Solutions - Database Migrations & Consolidations - Database-as-a-Service - Oracle Applications on Engineered Systems - Cloud-based solutions leveraging Engineered Systems
  • 3.
    Speaker Douglasville, Georgia Senior Technical Consultant IOUG, RMOUG, GAOUG, RACSIG @dbasolved http://dbasolved.com bcurtis@enkitec.com curtisbl@gmail.com
  • 4.
    Agenda • OracleExachk - Exachk Tool - Exachk Outputs • Oracle EM 12c Approach - Prerequisites - Environment Info - Daemon - Plug-In/Agent Interaction - EM Outputs
  • 5.
    ExaChk Tool Whereto get it: MOS Note ID: 1070954.1 – Exachk or Healthcheck Current release: 2.2.5.2_20140815 When to run: On a regular basis (30 days) After corrective actions performed on a failure
  • 6.
    ExaChk Tool RunExaChk: $ cd <exachk unzip location> $ ./exachk –a Note: Follow the prompts and provide passwords
  • 7.
  • 8.
  • 9.
    Prerequisites Note: 757552.1- Oracle Exadata Best Practices Note: 1110675.1 – Oracle Database Machine Monitoring Best Practices Oracle Exadata Configured and Monitored Oracle Engineered System Healthchecks Plug-In (12.1.0.5.0) Oracle Enterprise Manager 12c (12.1.0.2, 12.1.0.3, or 12.1.0.4)
  • 10.
    Environment Info RAT_COPY_EM_XML_FILES: Enables copying of result files on all the cluster export RAT_COPY_EM_XML_FILES = 1! RAT_OUTPUT : Output path for the exachk output export RAT_OUTPUT = /U01/ORACLE/EXACHK_RPT!
  • 11.
    Daemon Exachk daemonmakes it possible to run the ALL (-a) option of the Exachk tool in silent mode. Start the daemon as the Oracle user (follow the prompts) ./exachk –d start! Run Exachk by using the daemon ./exachk –daemon –a! Note: Same process can be used to run Exachk on Exalogic
  • 12.
    Daemon (Cluster) Runthe daemon as the Oracle user with cluster support ./exachk –clusternodes [node1,[node N]] –d start! Run Exachk by using the daemon ./exachk –daemon –a! Note: Now exachk can run across all nodes in the exadata (if needed)
  • 13.
    Plug-In Check forany new plug-ins !Setup -> Extensibility -> Self Update -> Plug-Ins! !Search for HealthChecks! ! Apply to OMS and Target Agents !
  • 14.
    Agent Interaction Resultsare placed in the metric: ExadataResults! Force the agent to collect Exadata metrics ./emctl control agent runCollection <targetName>:oracle_exadata_hc ExadataResults! Note: <targetName> = Target in OEM12c
  • 15.
    EM Output Reports: All Targets -> Engineered Systems -> Oracle Engineered System Healthchecks! ! Can be saved as CSV files Key Areas: Summary, Incidents & Problems, Result Summary
  • 16.
    EM Output Alerts: Default via Plug-In (15 total) 1.Verify Disk Cache Policy on DB Server! ! !2.Verify DB Server Disk Controllers use ! !writeback cache! ! !3. Verify RAID Controller Battery Condition ! !and Temperature! ! !...! ! !13. Exachk not running! ! !14. Results and Exception file(s) missing! ! !15. Metric Parsing Failed! ! !! Note: Unwanted alerts can be disabled with monitoring templates! !!
  • 18.
    Reference material Http://dbasolved.com/2014/01/23/configure-oem12c-to-perform-checkups- on-exadata-exachk/! Oracle Enterprise Manager System Monitoring Plug-In Installation Guide for Oracle Engineered System Healthchecks ( http://docs.oracle.com/cd/E24628_01/install.121/e27420/ toc.htm#PICHK113)
  • 19.
    Speaker Douglasville, Georgia Senior Technical Consultant IOUG, RMOUG, GAOUG, RACSIG @dbasolved http://dbasolved.com bcurtis@enkitec.com curtisbl@gmail.com