SlideShare a Scribd company logo
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
EXAchk
Health Checks & Best Practices for Exadata
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
2
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
Why EXAchk?
Development Methodology
Recommended Usage Overview
Report Structure
Detailed Usage Options
Collection Manager
Integration With Other Tools
Troubleshooting
3
4
5
6
7
8
3
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
Why EXAchk?
Development Methodology
Recommended Usage Overview
Report Structure
Detailed Usage Options
Collection Manager
Integration With Other Tools
Troubleshooting
3
4
5
6
7
8
4
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Engineered to work
together with
Oracle Engineered Systems
Configuration specific
Health Checks
Saves Time Saves Money
Why EXAchk
5
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
–Automated risk identification and proactive notification
before business is impacted
–Health Checks based on most impactful reoccurring
problems across Oracle customer base
–Runs in your environment – no need to send anything to
Oracle
–Scheduled email Health Check reports
–Findings can be integrated into other tools of choice
Why EXAchk
Engineered
Systems
Non Engineered
Systems
EXAchk
ORAchk
Common Framework
Lightweight & non intrusive Health Check framework for the Oracle stack
6
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Engineered to work together with Engineered Systems
• Exadata DBM is engineered for best, fastest, and stable database performance and
availability
• Hundreds / Thousands of QA, Test, & MAA tests through Exadata DBM Lifecycles
• Feedback from internal tests, customers and development teams including Maximum
Availability Architecture (MAA) is integrated into the product and/or EXAchk
7
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Configuration specific Health Checks
• EXAchk provides configuration specific, up to date health check across the entire DBM
stack:
o Continuously evolving configuration checks for the entire Oracle Exadata Database Machine and the
software that runs upon it
o Exadata, DB, GI, ASM critical issues list specific for the environment
o Exadata full stack software planner
o MAA scorecard that highlights MAA configuration gaps and provide guidance to MAA and
consolidation best practices
o Automated scheduling ability and automatic difference identification between runs with email
notification
8
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
EXAchk Saves Time
• No time required on your part to develop checks (unless you want to…covered later)
o Hundreds of checks for best practices are provided
• Configuration is minimal
• Provides an automation framework which can be run fully automatically at scheduled
times or invoked adhoc on demand
• Executes quickly
o Parallelized execution keeps typical wall clock time low
• Provides prioritized, categorized report of findings focused on high priority issues first
• Provides self service guidance for each check
• Results can be integrated into your existing tools such as Oracle Enterprise Manager, 3rd
party tools such as Kibana or your own custom applications
9
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Saves Money
• EXAchk is provided as a “value add” as part of your existing Support Contract
oNo extra cost for EXAchk, included within your support fee
o Available to download from My Oracle Support (1070954.1)
• No development costs required by your organization
o Health Checks developed and provided for free by Oracle
o With User Defined Checks you can use EXAchk as an automation platform to run your
own checks
10
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
Why EXAchk?
Development Methodology
Recommended Usage Overview
Report Structure
Detailed Usage Options
Collection Manager
Integration With Other Tools
Troubleshooting
3
4
5
6
7
8
11
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• EXAchk is a lightweight, full-service best practice and critical issues evaluator for the
Exadata DBM
• Release cycles are targeted to 90 days, with Beta made available approximately two
weeks before production
o Interim releases may be released sooner if significant Critical Issues are discovered
o Also timed to coincide with major software releases and / or hardware changes
• Maintains backward compatibility
Development Methodology
12
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Continuous improvement from:
o Enhancement requests / feedback from customers
o Exadata MAA Best Practices team
o Critical Issues discovery
o Internal testing, Proofs of Concepts & Support Partners
Development Methodology
13
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Development Methodology
• EXAchk does not duplicate the function of other established tools
o Enterprise Manager for continuous monitoring
o AWR reports
o SQL tuning tools
o Advanced diagnostic gatherers
o Automated Service Request
o Storage server alert mechanisms
• EXAchk validates a given Exadata DBM configuration against a critical subset of the
Oracle MAA Exadata Best Practices (published in MOS doc 757552.1)
14
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
Why EXAchk?
Development Methodology
Recommended Usage Overview
Report Structure
Detailed Usage Options
Collection Manager
Integration With Other Tools
Troubleshooting
3
4
5
6
7
8
15
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Recommended Usage – Automated Risk Notification
1) Schedule EXAchk to run in daemon mode weekly or
daily and email report
2) Identify actions easily by viewing automated
comparison of previous runs
3) Act on recommendations
16
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Schedule EXAchk
?
Hour (0 – 23)
? ? ?
Day of month (1 – 31)
Month (1 – 12)
Day of week (0 – 6)
(0 to 6 are Sunday to Saturday)
example: exachk -set 'AUTORUN_SCHEDULE=8,20 * * 2,5' will schedule runs on Tuesday and Friday at 08:00 & 20:00
AUTORUN_SCHEDULE =
1717
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• First email will contain the HTML report
Email Notification
18
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
View EXAchk Report
• Health score
• Summary of EXAchk run
• Table of content
• Controls for report features
• Findings
• Recommendations
19
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
View EXAchk Report
• Table of content
• Controls for report features
• Checks which passed are not shown by default
• Quickly show or hide checks based on their
status
• Show or hide major sections of the report
• Collapse or expand check findings
• Show check Ids
• Remove the findings from the report – This
doesn’t change the report but optionally hides
findings on a check by check basis
• Display a printable view
20
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
View EXAchk Findings
• Check status
• Type of Check
• Check Message
• Where the check was run
• Link to expand details
21
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• What to do to solve the problem
• Links to relevant Knowledge docs
• Where recommendation applies
• Where problem doesn’t apply
• Example of data the
recommendation is based on
View Recommendations
22
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Review MAA Score Card
• Critical Issues in MAA Scorecard
o All issues reported in “SOFTWARE
MAINTENANCE BEST PRACTICES”
• Software version mapping table
• Installed software versions checked
for noncurrent or incompatible
feature usage
(Many other areas of report, shown in demo sample later)
23
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Subsequent emails compare results to
previous run
• Easily see if something has changed
• Email attachment has:
o Latest report
o Previous report
o Diff Report
Email Notification
24
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Diff overview
• Summary of this run vs previous
Diff Output
25
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Differences between each run
Diff Output
26
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Upgrade or Patching
o Detects all databases registered in the
clusterware automatically
o Presents list of databases to check
o Pre Upgrade
 Run during upgrade planning phase
 Asks which version you plan to upgrade to
o Post Upgrade
 Run after upgrade
• Other typical times to run EXAchk
o Machine moves
o Hardware failure / repair
o Problem troubleshooting
o In addition to go-live testing
• Other Key My Oracle Support notes
o MOS 757552.1 publishes the MAA Exadata Best
Practices
o MOS 888828.1 is the master Exadata version
reference
o Exadata Critical Issues (Doc ID 1270094.1)
Other Recommended Usage
./exachk -u –o pre
./exachk -u –o post
27
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
Why EXAchk?
Development Methodology
Recommended Usage Overview
Report Structure
Detailed Usage Options
Collection Manager
Integration With Other Tools
Troubleshooting
3
4
5
6
7
8
28
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Report Demo
29
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
Why EXAchk?
Development Methodology
Recommended Usage Overview
Report Structure
Detailed Usage Options
Collection Manager
Integration With Other Tools
Troubleshooting
3
4
5
6
7
8
30
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Supported Environments
• All supported hardware types, operating systems, firmware versions, and Oracle
versions for the following Oracle Engineered Systems:
o Big Data Appliance
o Exadata (V2 and above, HP hardware based V1 systems are not covered)
o Exalogic
o Exalytics
o SuperCluster
o Zero Data Loss Recovery Appliance
31
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
1. Included in base image
and latest OEDA
2. Download latest version
from My Oracle Support
(install < 1 min)
3. Auto update when later
version available
Roll Out & Maintain EXAchk
32
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
1. Download the exachk
bundle from MOS note
1070954.1 to your local
machine
2. Unzip it and transfer
exachk.zip to a
directory on the target
Engineered System
3. Unzip exack.zip
o As owner of oracle
database or grid home
Installation
33
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Run as root (recommended)
o EXAchk will su to lower privileged owners of
RDBMS or grid homes
o To specify a user other that root for these
situations:
• Run as RDBMS or GRID Home Owner
o User must be able to switch to root for root level
checks – several options:
1. Provide the root userid password at prompts
or
2. Set up sudo
or
3. Pre-configure passwordless SSH connectivity
Which User to Run EXAchk as
Connect via
SSH &
Run Checks on
Default User
Change User By
exporting user id in this
Environment Variable
Exadata
Storage Server
root RAT_CELL_SSH_USER
InfiniBand
switches
root
(when run as root)
RAT_IBSWITCH_USERnm2user
(when run as other user)
34
Note: You may only choose from the provided lower privileged accounts
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Option 1 With internet connection
o When EXAchk is older than 120 days it will prompt
you to let it automatically download newer version
from My Oracle Support
o Can also be specifically triggered with:
Option 2 No internet connection
a) Download the latest exachk.zip to a shared
network staging location
b) Set environment variable RAT_UPGRADE_LOC:
c) Next time exachk script is started it will prompt to
allow it to upgrade itself
Maintaining EXAchk
./exachk -download
export RAT_UPGRADE_LOC=<staging dir>
35
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Automated Usage with the Daemon
36
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Set Daemon Options, When, What & Who to Tell
./exachk –set “<option_1>=<option_1_value>;<option_2>=<option_2_value>;<option_n>=<option_n_value>”
AUTORUN_SCHEDULE
• Schedule when exachk will be run
• Hour, day of month, month of year & day of week
• Comma separate multiple values for same timeframe
• * Wildcard
?
Hour (0 – 23)
? ? ?
Day of month (1 – 31)
Month (1 – 12)
Day of week (0 – 6)
(0 to 6 are Sunday to Saturday)
./exachk –set “AUTORUN_SCHEDULE=2 * * 1,3,5”
AUTORUN_FLAGS
• Command line options to be passed through to exachk run
./exachk –set “AUTORUN_FLAGS=-profile dba –tag dba”
NOTIFICATION_EMAIL
• Comma separated list of emails to send daemon notifications to
./exachk –set “NOTIFICATION_EMAIL=some.person@acompany.com,another.person@acompany.com”
37
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Set Daemon Options, Maintenance
./exachk –set “<option_1>=<option_1_value>;<option_2>=<option_2_value>;<option_n>=<option_n_value>”
COLLECTION_RETENTION
• Number of days to keep files created by scheduled run, files older than this will be deleted
./exachk –set “COLLECTION_RETENTION=30”
PASSWORD_CHECK_INTERVAL
• Frequency in hours of password validation
• When found invalid daemon stops & notifies via log & email
./exachk –set “PASSWORD_CHECK_INTERVAL=48”
38
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Set Daemon Options, Multiple IDs
• Only one Daemon process should be used across a database cluster
o Multiple daemon profiles can be configured using IDs
o Allows for multiple different types of exachk runs
./exachk –d <ID> –set “<option>=<value>”
39
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Get Daemon Option
• Find a specific daemon option which has been set
• Use with or without ID
./exachk –d <ID> –get <option>
Get value of particular option for specific id
./exachk –get <option>
Get value of particular option for all IDs
40
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Get All Daemon Options
• Find any Daemon options which have been set
• Used with or without ID
./exachk –d <ID> –get all
Get value of all options for specific id
./exachk –get all
Get value of all options for all IDs
41
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Start Daemon
./exachk –d start
1. Start the daemon
2. Follow the prompts
42
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Daemon Information
./exachk –d status
Check if the daemon is running:
./exachk –d info
Get more detailed information about the daemon
43
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Daemon Next Autorun
./exachk –d nextautorun ./exachk –id <id> –d nextautorun
Find when the next auto run will happen: Find when the next auto run will happen for a specific ID
44
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Daemon Stopping
./exachk –d stop_client ./exachk –d stop
Stop an exachk run mid-flow: Stop the daemon
45
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Auto Restart Daemon
• Restart daemon if
machine restarts
o Uses passwordless ssh
user equivalence to root
./exachk –initsetup
46
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Restart status of daemon can be queried: If you want to remove restart settings:
Auto Restart Daemon, Check Status & Remove Auto Restart
./exachk –initcheck ./exachk –initrmsetup
47
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
With or Without the Daemon
• When daemon is running, if exachk is run in adhoc mode it will connect to
the daemon by default and make use of pre-provided prompt values
o To avoid connecting to the daemon use –nodaemon:
o To only run exachk when the daemon is running use –daemon:
./exachk –nodaemon
./exachk –daemon
48
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Email Notifications
• Run in ad hoc mode and receive html report via email
• Verify email configuration function
• Use –testemail all to use email addresses stored in daemon configuration
./exachk -sendemail "NOTIFICATION_EMAIL=abc@company.com,xyz@company.com"
./exachk -testemail "NOTIFICATION_EMAIL=abc@company.com,xyz@company.com"
./exachk -testemail all
49
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Additional EXAchk Capabilities & Features
50
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Health Check Catalog
• Bundled within .zip download
• Audit_Checks_Report_Exachk.html
• Contains all published checks
• Filterable & searchable
• Engineered System
• Profiles
• Alert Level
• Release Check Authored
• Platforms
• Look up check id without running report
51
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Database Checks
• EXAchk runs checks against all database nodes in the cluster by default
o To specify only a subset of nodes use:
o Only local node:
• Automatically discovers all databases and prompts for which should be checked
o Do not prompt but run all checks on all discovered database:
o Do not prompt and skip all database related checks:
o Only run checks against a subset of databases:
./exachk –clusternodes <node_1>,<node_2>
./exachk –localonly
./exachk –dball
./exachk –dbnone
./exachk –dbnames <db_1>,<db_2>
52
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Checks for Cells & Switches
• Run on a subset of cells using –cells
• Run on a subset of switches using -ibswitches
./exachk –cells <cell_1>,<cell_2>
./exachk –ibswitches <switch_1>,<switch_2>
53
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Virtualization
1. Run from dom0 on first compute to cover all dom0s, cells and switches
o Install EXAchk into the management domain (DOM0) & run as root
o Will discover all compute nodes, storage servers and InfiniBand switches in the entire InfiniBand fabric
and run EXAchk on all
o If a single machine has been separated into multiple management domains
• Use -clusternodes, -cells, -ibswitches to detail the components of the separate management domains
2. Run once on each virtual cluster
54
./exachk –clusternodes <node_1>, <node_2> –cells <cell_1>,<cell_2> –ibswitches <switch_1>,<switch_2>
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
EXAchk Output
• EXAchk will output the collection results to the directory it is run from
o Output can be directed to a different directory with –output
• Output will be directory and a zip of the same name
./exachk –output <OUTPUT_DIR>
o log : various log files
o outfiles : collection results checks are based on
o Reports : subreports used to build the main report
o Scripts : scripts used during collection
o Upload : files for upload of collection into database
or integration into other tools
o exachk_*.html : Main HTML report output
55
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Temporary Working Directory
• EXAchk will create temporary files during execution
• Default location is $HOME of the user EXAchk is running as
• Location can be changed by setting RAT_TMPDIR
• If using sudo access to root from a lower privileged user id, temporary
directory must be reflected in /etc/sudoers file
export RAT_TMPDIR=<TEMP_DIR>
./exachk
<user> ALL=(root) NOPASSWD:<TEMPDIR>/root_exachk.sh
56
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Parallel Execution
• Database collections are executed in parallel
• The default number of slave processes used is calculated automatically
• Default can be changed with –dbparallel <# slave processes> or -dbparallelmax
• Parallel execution can be disabled altogether if required with -dbserial
./exachk –dbparallel <# slave processes> ./exachk –dbparallelmax
./exachk –dbserial
57
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Tagging, Merging & Comparing Reports
• Collections are typically of the format: exachk_<dbserver>_<database>_<date>_<timestamp>.html
• Tag collections so output contains another word to help differentiate it:
exachk_<dbserver>_<database>_<date>_<timestamp>_<tag_name>.html
• Merge multiple reports into one with –merge and list of collection directories or zip
files:
• Force the merge of collections from dom0 and domu or global and local zones by adding
–force:
• Compare collections with –diff:
./exachk –merge <collection_1>,<collection_2>
./exachk –merge <collection_1>,<collection_2> -force
./exachk –diff <collection_1>,<collection_2>
./exachk –tag <tag_name>
58
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Profiles provide logical grouping of
checks which are about similar topics
• Run only checks in a specific profile
• Run everything except checks in a specific
profile
Profiles
./exachk –profile <profile>
./exachk –excludeprofile <profile>
Profile Description
asm ASM Checks
avdf Audit Vault Configuration checks
clusterware Oracle clusterware checks
control_VM Checks only for Control VM(ec1-vm, ovmm, db, pc1, pc2).
No cross node checks
corroborate Exadata checks needs further review by user to determine
pass or fail
dba DBA Checks
ebs Oracle E-Business Suite checks
eci_healthchecks Enterprise Cloud Infrastructure Healthchecks
ecs_healthchecks Enterprise Cloud System Healthchecks
goldengate Oracle GoldenGate checks
hardware Hardware specific checks for Oracle Engineered systems
maa Maximum Availability Architecture Checks
ovn Oracle Virtual Networking
platinum Platinum certification checks
preinstall Pre-installation checks
prepatch Checks to execute before patching
security Security checks
solaris_cluster Solaris Cluster Checks
storage Oracle Storage Server Checks
switch Infiniband switch checks
sysadmin Sysadmin checks
user_defined_checks Run user defined checks from user_defined_checks.xml
59
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Run or exclude individual checks
• Granular control to execute or exclude a single check
• Ideal for testing new checks or troubleshooting
• Run only specific check(s):
• Exclude a specific check:
• Find check id either from report or Health Check Catalog
./exachk -check <check_id_1>,<check_id_2>
./exachk –excludecheck <check_id_1>,<check_id_2>
60
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
Why EXAchk?
Development Methodology
Recommended Usage Overview
Report Structure
Detailed Usage Options
Collection Manager
Integration With Other Tools
Troubleshooting
3
4
5
6
7
8
61
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Collection Manager Dashboard
62
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Dashboard Filters
Filter by
Interval
Filter by
configurable
business units Filter by
systems
Click on color coded
area to drill down
63
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Most Failures & Warnings
Click to see the
recommendation details
64
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Most Failures
Click to drill into
failures
65
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Most Warnings
Click to drill into
warnings
66
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
No difference OR No regression
failed in current collection
At least one regression from
Non-WARNING to WARNING OR
Found WARNING regression in
current collection
At least one regression from
Non-FAIL to FAIL OR Found FAIL
regression in current collection
Non clickable green flag -
Preceding collection not found
Recent Collections
Health
Score Warning count
Fail count Info count Pass count
Ignore count
67
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
View Collection
Collection
Link
68
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
View Collection
Recommendation
69
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
User Defined Checks
• Use as a Health Checking Platform
• You write your own business
specific User Defined Checks
• Collection Manager authoring UI
very similar to Oracle’s internal
authoring tool
• OS or SQL logic
• Generates user_defined_checks.xml
sample in install directory
• Utilizes framework features such as
result output, email notification,
CM storage etc
70
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
User Defined Checks
• Have their own profile:
user_defined_checks
• Can be excluded:
./exachk -excludeprofile user_defined_checks
• Have their own section of the report
./exachk -profile user_defined_checks
• Can be run on their own:
71
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Collection Manager Setup
1. Ensure APEX 4.2 is installed & configured
2. Follow Collection Manager installation in Collection Manager User Guide
3. Login to Collection Manager Application via a URL like the following
o Format will depend on choices during installation
http://hostname:port/apex/f?p=ApplicationID
http://hostname:port/pls/apex/f?p=ApplicationID
72
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Collection Storage Table
• Collection zip files are stored in the
RCA13_DOCS table
o Already created during collection manager
installation
• Provide EXAchk where to upload collection
results by providing connection string &
password via –setdbupload and completing
prompts:
• Get current values with:
• Unset values with:
./exachk -setdbupload RAT_UPLOAD_CONNECT_STRING,RAT_UPLOAD_PASSWORD
./exachk –unsetdbupload RAT_UPLOAD_PASSWORD
./exachk -getdbupload
73
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Store DB Upload Variables in Wallet
• Set all with:
• Set specific variables by specifying comma separated list:
• Unset all with
• Check if variables are set correctly:
./exachk -setdbupload all
./exachk -setdbupload RAT_UPLOAD_CONNECT_STRING,RAT_UPLOAD_PASSWORD
./exachk -unsetdbupload all
./exachk -checkdbupload
74
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
Why EXAchk?
Development Methodology
Recommended Usage Overview
Report Structure
Detailed Usage Options
Collection Manager
Integration With Other Tools
Troubleshooting
3
4
5
6
7
8
75
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Integrating With
Oracle Enterprise Manager Cloud Control 13.1
76
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Enterprise Manager Integration
•Check results integrated into EM
compliance framework via plugin
•View results in native EM
compliance dashboards
•Related checks grouped into
compliance standards
•View targets checked, violations &
average score
•Drill down into compliance standard
to see individual check results
•View break down by target
77
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Integration is via the Enterprise
Manager ORAchk Healthchecks
plugin with the following Support:
• The following prerequisites must be met
before you can deploy the plug-in:
o Verify that your Engineered Systems hardware
and software are at the supported level as
described in Supported Hardware and Software
Versions
o All Engineered System plug-ins should be
deployed
o InfiniBand switches and storage cells should be
an Enterprise Manager-managed target for the
respective engineered system
o Expect package should be installed on the
hosts
Enterprise Manager Plugin Perquisites
Hardware Types
Supported
By Plugin
Exadata (physical configuration only) Yes
Exadata (virtual configuration) No
Recovery appliance Yes
Exalogic (physical configuration) Yes
Exalogic (virtualized configuration) Yes
Oracle SuperCluster No
Oracle Private Cloud Machine No
78
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Setting Up Enterprise Manager EXAchk Plugin
• The plugin is already installed by default with Enterprise Manager 13.1
1. Deploy the plugin using the Enterprise Manager Plugin Deployment feature
2. Provision the plugin to setup the EXAchk daemon
79
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Use Enterprise Manager provisioning
feature and select ORAchk/EXAchk
• After selected this will launch the
provisioning wizard, choose the system
type
Provision EXAchk
80
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Provision EXAchk
• Provide new or select existing
credentials
• Specify install location
• Select when daemon should be run
81
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Provision EXAchk
• Verify CRS Home
• Finally choose Cell & InfiniBand
configuration
82
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Drill into applicable standard and view
individaul checks & target status
View Results by Compliance Standard
Filter by Exachk%”
Click individual checks for
recommendation details
83
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Integrating With 3rd Party Tools
84
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
JSON Output to Integrate with Kibana, Elastic Search etc
85
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• EXAchk results are also output in
JSON format in the upload
directory of the collection
• Writing JSON Results With syslog
1. JSON output results can be sent to the
syslogd Daemon with –syslog option e.g.:
2. EXAchk uses the message levels of “crit”,
“err”, “warn” and “info”
3. You can verify syslog configuration by
running the following commands:
4. Then verify in your configured message
location (e.g. /var/adm/messages) that each
test message was written.
JSON Result Output
./exachk –set “AUTORUN_FLAGS=-syslog”
86
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Integrating With Your Own Application
87
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Custom App Integration
• If you don’t use Collection Manager and have your own application which consumes
the EXAchk results
1. Create the tables: auditcheck_result, auditcheck_patch_result & RCA13_DOCS tables
2. Tell EXAchk about these tables: ./exachk -setdbupload all
• EXAchk results will be uploaded into
the tables after execution, which can
be consumed by your own App
88
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
Why EXAchk?
Development Methodology
Recommended Usage Overview
Report Structure
Detailed Usage Options
Collection Manager
Integration With Other Tools
Troubleshooting
3
4
5
6
7
8
89
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• View Component Elapsed Times
o Identify if one particular component is slow
• View top 10 Time Consuming Checks
o If some in particular are slow, show check_id
and run again with:
Troubleshooting Performance
./exachk –excludecheck <check_id>
• Try increasing the number of parallel
slave processes (Note: will increase resource usage)
./exachk –dbparallelmax
90
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• If checks are being killed this will be due
to timeout:
• Timeouts can be caused by slow checks or
interactive prompts
• Try increasing default times with applicable
environment variables:
• EBS checks query application data which
can vary hugely in size depending on the
size of your data
oIf you suspect EBS checks try excluding
EBS profile:
oUse RAT_TIMEOUT to increase to a
value where they are no longer killed
Troubleshooting Timeouts
./exachk –excludeprofile ebs
91
Environment Variable Timeout Controlled
Default Value
(seconds)
RAT_TIMEOUT
non-root individual
commands
90
RAT_ROOT_TIMEOUT
root userid command
sets
300
RAT_PASSWORDCHECK_TIMEOUT
ssh login DNS
handshake
1
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Debugging via Daemon • Debugging adhoc EXAchk runs
Collecting Debug
./exachk –d start_debug ./exachk –debug
• Debug output:
92
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The preceding is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
93
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 94
EXAchk for Exadata Presentation

More Related Content

What's hot

Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
Sandesh Rao
 
AIOUG : ODEVCYathra 2018 - Oracle Autonomous Database What Every DBA should know
AIOUG : ODEVCYathra 2018 - Oracle Autonomous Database What Every DBA should knowAIOUG : ODEVCYathra 2018 - Oracle Autonomous Database What Every DBA should know
AIOUG : ODEVCYathra 2018 - Oracle Autonomous Database What Every DBA should know
Sandesh Rao
 
AUSOUG - Introducing New AI Ops Innovations in Oracle 19c Autonomous Health F...
AUSOUG - Introducing New AI Ops Innovations in Oracle 19c Autonomous Health F...AUSOUG - Introducing New AI Ops Innovations in Oracle 19c Autonomous Health F...
AUSOUG - Introducing New AI Ops Innovations in Oracle 19c Autonomous Health F...
Sandesh Rao
 
Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7
Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7
Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7
Gareth Chapman
 
ORAchk EXAchk what's new in 12.1.0.2.7
ORAchk EXAchk what's new in 12.1.0.2.7ORAchk EXAchk what's new in 12.1.0.2.7
ORAchk EXAchk what's new in 12.1.0.2.7
Sandesh Rao
 
Oracle ORAchk - An Overview Guide to Oracle Stack Health Checks
Oracle ORAchk - An Overview Guide to Oracle Stack Health ChecksOracle ORAchk - An Overview Guide to Oracle Stack Health Checks
Oracle ORAchk - An Overview Guide to Oracle Stack Health Checks
Gareth Chapman
 
New Features in Oracle ORAchk & EXAchk 12.2.0.1.1
New Features in Oracle ORAchk & EXAchk 12.2.0.1.1New Features in Oracle ORAchk & EXAchk 12.2.0.1.1
New Features in Oracle ORAchk & EXAchk 12.2.0.1.1
Gareth Chapman
 
What's new in oracle ORAchk & EXAchk 12.2.0.1.2
What's new in oracle ORAchk & EXAchk 12.2.0.1.2What's new in oracle ORAchk & EXAchk 12.2.0.1.2
What's new in oracle ORAchk & EXAchk 12.2.0.1.2
Gareth Chapman
 
AUSOUG - NZOUG - Groundbreakers - Jun 2019 - 19 Troubleshooting Tips and Tric...
AUSOUG - NZOUG - Groundbreakers - Jun 2019 - 19 Troubleshooting Tips and Tric...AUSOUG - NZOUG - Groundbreakers - Jun 2019 - 19 Troubleshooting Tips and Tric...
AUSOUG - NZOUG - Groundbreakers - Jun 2019 - 19 Troubleshooting Tips and Tric...
Sandesh Rao
 
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
Sandesh Rao
 
TFA_Whats_New_in version 12.1.2.8.4
TFA_Whats_New_in version 12.1.2.8.4TFA_Whats_New_in version 12.1.2.8.4
TFA_Whats_New_in version 12.1.2.8.4
Sandesh Rao
 
Introducing new AIOps innovations in Oracle 19c - San Jose AICUG
Introducing new AIOps innovations in Oracle 19c - San Jose AICUGIntroducing new AIOps innovations in Oracle 19c - San Jose AICUG
Introducing new AIOps innovations in Oracle 19c - San Jose AICUG
Sandesh Rao
 
Whats new in oracle orachk & exachk 18.4.0
Whats new in oracle orachk & exachk 18.4.0Whats new in oracle orachk & exachk 18.4.0
Whats new in oracle orachk & exachk 18.4.0
Gareth Chapman
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
Sandesh Rao
 
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsHow to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
Sandesh Rao
 
Oracle Trace File Analyzer Overview
Oracle Trace File Analyzer OverviewOracle Trace File Analyzer Overview
Oracle Trace File Analyzer Overview
Gareth Chapman
 
oracheck utility
oracheck utilityoracheck utility
oracheck utility
raviranchi02
 
Troubleshooting Tips and Tricks for Database 19c - EMEA Tour Oct 2019
Troubleshooting Tips and Tricks for Database 19c - EMEA Tour  Oct 2019Troubleshooting Tips and Tricks for Database 19c - EMEA Tour  Oct 2019
Troubleshooting Tips and Tricks for Database 19c - EMEA Tour Oct 2019
Sandesh Rao
 
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
Sandesh Rao
 
20 Tips and Tricks with the Autonomous Database
20 Tips and Tricks with the Autonomous Database 20 Tips and Tricks with the Autonomous Database
20 Tips and Tricks with the Autonomous Database
Sandesh Rao
 

What's hot (20)

Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
Oracle Autonomous Health Service- For Protecting Your On-Premise Databases- F...
 
AIOUG : ODEVCYathra 2018 - Oracle Autonomous Database What Every DBA should know
AIOUG : ODEVCYathra 2018 - Oracle Autonomous Database What Every DBA should knowAIOUG : ODEVCYathra 2018 - Oracle Autonomous Database What Every DBA should know
AIOUG : ODEVCYathra 2018 - Oracle Autonomous Database What Every DBA should know
 
AUSOUG - Introducing New AI Ops Innovations in Oracle 19c Autonomous Health F...
AUSOUG - Introducing New AI Ops Innovations in Oracle 19c Autonomous Health F...AUSOUG - Introducing New AI Ops Innovations in Oracle 19c Autonomous Health F...
AUSOUG - Introducing New AI Ops Innovations in Oracle 19c Autonomous Health F...
 
Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7
Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7
Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7
 
ORAchk EXAchk what's new in 12.1.0.2.7
ORAchk EXAchk what's new in 12.1.0.2.7ORAchk EXAchk what's new in 12.1.0.2.7
ORAchk EXAchk what's new in 12.1.0.2.7
 
Oracle ORAchk - An Overview Guide to Oracle Stack Health Checks
Oracle ORAchk - An Overview Guide to Oracle Stack Health ChecksOracle ORAchk - An Overview Guide to Oracle Stack Health Checks
Oracle ORAchk - An Overview Guide to Oracle Stack Health Checks
 
New Features in Oracle ORAchk & EXAchk 12.2.0.1.1
New Features in Oracle ORAchk & EXAchk 12.2.0.1.1New Features in Oracle ORAchk & EXAchk 12.2.0.1.1
New Features in Oracle ORAchk & EXAchk 12.2.0.1.1
 
What's new in oracle ORAchk & EXAchk 12.2.0.1.2
What's new in oracle ORAchk & EXAchk 12.2.0.1.2What's new in oracle ORAchk & EXAchk 12.2.0.1.2
What's new in oracle ORAchk & EXAchk 12.2.0.1.2
 
AUSOUG - NZOUG - Groundbreakers - Jun 2019 - 19 Troubleshooting Tips and Tric...
AUSOUG - NZOUG - Groundbreakers - Jun 2019 - 19 Troubleshooting Tips and Tric...AUSOUG - NZOUG - Groundbreakers - Jun 2019 - 19 Troubleshooting Tips and Tric...
AUSOUG - NZOUG - Groundbreakers - Jun 2019 - 19 Troubleshooting Tips and Tric...
 
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
15 Troubleshooting Tips and Tricks for database 21c - OGBEMEA KSAOUG
 
TFA_Whats_New_in version 12.1.2.8.4
TFA_Whats_New_in version 12.1.2.8.4TFA_Whats_New_in version 12.1.2.8.4
TFA_Whats_New_in version 12.1.2.8.4
 
Introducing new AIOps innovations in Oracle 19c - San Jose AICUG
Introducing new AIOps innovations in Oracle 19c - San Jose AICUGIntroducing new AIOps innovations in Oracle 19c - San Jose AICUG
Introducing new AIOps innovations in Oracle 19c - San Jose AICUG
 
Whats new in oracle orachk & exachk 18.4.0
Whats new in oracle orachk & exachk 18.4.0Whats new in oracle orachk & exachk 18.4.0
Whats new in oracle orachk & exachk 18.4.0
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
 
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsHow to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
 
Oracle Trace File Analyzer Overview
Oracle Trace File Analyzer OverviewOracle Trace File Analyzer Overview
Oracle Trace File Analyzer Overview
 
oracheck utility
oracheck utilityoracheck utility
oracheck utility
 
Troubleshooting Tips and Tricks for Database 19c - EMEA Tour Oct 2019
Troubleshooting Tips and Tricks for Database 19c - EMEA Tour  Oct 2019Troubleshooting Tips and Tricks for Database 19c - EMEA Tour  Oct 2019
Troubleshooting Tips and Tricks for Database 19c - EMEA Tour Oct 2019
 
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
 
20 Tips and Tricks with the Autonomous Database
20 Tips and Tricks with the Autonomous Database 20 Tips and Tricks with the Autonomous Database
20 Tips and Tricks with the Autonomous Database
 

Similar to EXAchk for Exadata Presentation

Streamline it management
Streamline it managementStreamline it management
Streamline it management
DLT Solutions
 
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
vasuballa
 
AWR, ASH with EM13 at HotSos 2016
AWR, ASH with EM13 at HotSos 2016AWR, ASH with EM13 at HotSos 2016
AWR, ASH with EM13 at HotSos 2016
Kellyn Pot'Vin-Gorman
 
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
vasuballa
 
SQL TUNING 101
SQL TUNING 101SQL TUNING 101
SQL TUNING 101
Alex Zaballa
 
Enterprise manager 13c
Enterprise manager 13cEnterprise manager 13c
Enterprise manager 13c
MarketingArrowECS_CZ
 
Oracle Open World Exadata Monitoring and Management with EM12c
Oracle Open World Exadata Monitoring and Management with EM12cOracle Open World Exadata Monitoring and Management with EM12c
Oracle Open World Exadata Monitoring and Management with EM12c
Kellyn Pot'Vin-Gorman
 
Using Machine Learning to Debug complex Oracle RAC Issues
Using Machine Learning  to Debug complex Oracle RAC IssuesUsing Machine Learning  to Debug complex Oracle RAC Issues
Using Machine Learning to Debug complex Oracle RAC Issues
Anil Nair
 
B4 making dev_ops_really_work
B4 making dev_ops_really_workB4 making dev_ops_really_work
B4 making dev_ops_really_work
Dr. Wilfred Lin (Ph.D.)
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
taoyan
 
The Oracle Autonomous Database
The Oracle Autonomous DatabaseThe Oracle Autonomous Database
The Oracle Autonomous Database
Connor McDonald
 
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
asifanw
 
#OOW16 - Implement the Best Practice for Oracle Financial Reporting Complianc...
#OOW16 - Implement the Best Practice for Oracle Financial Reporting Complianc...#OOW16 - Implement the Best Practice for Oracle Financial Reporting Complianc...
#OOW16 - Implement the Best Practice for Oracle Financial Reporting Complianc...
Dane Roberts
 
Maximize your Oracle Cloud Investment and Drive Innovation
 Maximize your Oracle Cloud Investment and Drive Innovation Maximize your Oracle Cloud Investment and Drive Innovation
Maximize your Oracle Cloud Investment and Drive Innovation
Smart ERP Solutions, Inc.
 
Introducing Oracle Advanced Financial Controls Cloud Service
Introducing Oracle Advanced Financial Controls Cloud ServiceIntroducing Oracle Advanced Financial Controls Cloud Service
Introducing Oracle Advanced Financial Controls Cloud Service
Dane Roberts
 
Oracle AHF Insights 23c
Oracle AHF Insights 23cOracle AHF Insights 23c
Oracle AHF Insights 23c
Sandesh Rao
 
Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)
pasalapudi123
 
Getting optimal performance from oracle e business suite
Getting optimal performance from oracle e business suiteGetting optimal performance from oracle e business suite
Getting optimal performance from oracle e business suite
aioughydchapter
 
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
vasuballa
 
Whats new in oracle OraChk and Exachk 18.3.0
Whats new in oracle OraChk and Exachk 18.3.0Whats new in oracle OraChk and Exachk 18.3.0
Whats new in oracle OraChk and Exachk 18.3.0
Sandesh Rao
 

Similar to EXAchk for Exadata Presentation (20)

Streamline it management
Streamline it managementStreamline it management
Streamline it management
 
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
 
AWR, ASH with EM13 at HotSos 2016
AWR, ASH with EM13 at HotSos 2016AWR, ASH with EM13 at HotSos 2016
AWR, ASH with EM13 at HotSos 2016
 
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
 
SQL TUNING 101
SQL TUNING 101SQL TUNING 101
SQL TUNING 101
 
Enterprise manager 13c
Enterprise manager 13cEnterprise manager 13c
Enterprise manager 13c
 
Oracle Open World Exadata Monitoring and Management with EM12c
Oracle Open World Exadata Monitoring and Management with EM12cOracle Open World Exadata Monitoring and Management with EM12c
Oracle Open World Exadata Monitoring and Management with EM12c
 
Using Machine Learning to Debug complex Oracle RAC Issues
Using Machine Learning  to Debug complex Oracle RAC IssuesUsing Machine Learning  to Debug complex Oracle RAC Issues
Using Machine Learning to Debug complex Oracle RAC Issues
 
B4 making dev_ops_really_work
B4 making dev_ops_really_workB4 making dev_ops_really_work
B4 making dev_ops_really_work
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
 
The Oracle Autonomous Database
The Oracle Autonomous DatabaseThe Oracle Autonomous Database
The Oracle Autonomous Database
 
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
 
#OOW16 - Implement the Best Practice for Oracle Financial Reporting Complianc...
#OOW16 - Implement the Best Practice for Oracle Financial Reporting Complianc...#OOW16 - Implement the Best Practice for Oracle Financial Reporting Complianc...
#OOW16 - Implement the Best Practice for Oracle Financial Reporting Complianc...
 
Maximize your Oracle Cloud Investment and Drive Innovation
 Maximize your Oracle Cloud Investment and Drive Innovation Maximize your Oracle Cloud Investment and Drive Innovation
Maximize your Oracle Cloud Investment and Drive Innovation
 
Introducing Oracle Advanced Financial Controls Cloud Service
Introducing Oracle Advanced Financial Controls Cloud ServiceIntroducing Oracle Advanced Financial Controls Cloud Service
Introducing Oracle Advanced Financial Controls Cloud Service
 
Oracle AHF Insights 23c
Oracle AHF Insights 23cOracle AHF Insights 23c
Oracle AHF Insights 23c
 
Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)
 
Getting optimal performance from oracle e business suite
Getting optimal performance from oracle e business suiteGetting optimal performance from oracle e business suite
Getting optimal performance from oracle e business suite
 
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
 
Whats new in oracle OraChk and Exachk 18.3.0
Whats new in oracle OraChk and Exachk 18.3.0Whats new in oracle OraChk and Exachk 18.3.0
Whats new in oracle OraChk and Exachk 18.3.0
 

More from Sandesh Rao

Whats new in Autonomous Database in 2022
Whats new in Autonomous Database in 2022Whats new in Autonomous Database in 2022
Whats new in Autonomous Database in 2022
Sandesh Rao
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
Sandesh Rao
 
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Sandesh Rao
 
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
Analysis of Database Issues using AHF and Machine Learning v2 -  SOUGAnalysis of Database Issues using AHF and Machine Learning v2 -  SOUG
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
Sandesh Rao
 
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
Sandesh Rao
 
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
Sandesh Rao
 
Machine Learning and AI at Oracle
Machine Learning and AI at OracleMachine Learning and AI at Oracle
Machine Learning and AI at Oracle
Sandesh Rao
 
Top 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous DatabaseTop 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous Database
Sandesh Rao
 
TFA Collector - what can one do with it
TFA Collector - what can one do with it TFA Collector - what can one do with it
TFA Collector - what can one do with it
Sandesh Rao
 
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmeaIntroduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Sandesh Rao
 
How to use Exachk effectively to manage Exadata environments OGBEmea
How to use Exachk effectively to manage Exadata environments OGBEmeaHow to use Exachk effectively to manage Exadata environments OGBEmea
How to use Exachk effectively to manage Exadata environments OGBEmea
Sandesh Rao
 
Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020
Sandesh Rao
 
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEAIntroduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Sandesh Rao
 
20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database
Sandesh Rao
 
TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new
Sandesh Rao
 
Machine Learning in Autonomous Data Warehouse
 Machine Learning in Autonomous Data Warehouse Machine Learning in Autonomous Data Warehouse
Machine Learning in Autonomous Data Warehouse
Sandesh Rao
 
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
Sandesh Rao
 
Introduction to Machine Learning and Data Science using Autonomous Database ...
Introduction to Machine Learning and Data Science using Autonomous Database  ...Introduction to Machine Learning and Data Science using Autonomous Database  ...
Introduction to Machine Learning and Data Science using Autonomous Database ...
Sandesh Rao
 
The Machine Learning behind the Autonomous Database ILOUG Feb 2020
The Machine Learning behind the Autonomous Database   ILOUG Feb 2020 The Machine Learning behind the Autonomous Database   ILOUG Feb 2020
The Machine Learning behind the Autonomous Database ILOUG Feb 2020
Sandesh Rao
 
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
Sandesh Rao
 

More from Sandesh Rao (20)

Whats new in Autonomous Database in 2022
Whats new in Autonomous Database in 2022Whats new in Autonomous Database in 2022
Whats new in Autonomous Database in 2022
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
 
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
Analysis of Database Issues using AHF and Machine Learning v2 -  SOUGAnalysis of Database Issues using AHF and Machine Learning v2 -  SOUG
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
 
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
 
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
 
Machine Learning and AI at Oracle
Machine Learning and AI at OracleMachine Learning and AI at Oracle
Machine Learning and AI at Oracle
 
Top 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous DatabaseTop 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous Database
 
TFA Collector - what can one do with it
TFA Collector - what can one do with it TFA Collector - what can one do with it
TFA Collector - what can one do with it
 
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmeaIntroduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
Introduction to Machine learning - DBA's to data scientists - Oct 2020 - OGBEmea
 
How to use Exachk effectively to manage Exadata environments OGBEmea
How to use Exachk effectively to manage Exadata environments OGBEmeaHow to use Exachk effectively to manage Exadata environments OGBEmea
How to use Exachk effectively to manage Exadata environments OGBEmea
 
Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020
 
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEAIntroduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
Introduction to Machine Learning - From DBA's to Data Scientists - OGBEMEA
 
20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database20 tips and tricks with the Autonomous Database
20 tips and tricks with the Autonomous Database
 
TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new TFA, ORAchk and EXAchk 20.2 - What's new
TFA, ORAchk and EXAchk 20.2 - What's new
 
Machine Learning in Autonomous Data Warehouse
 Machine Learning in Autonomous Data Warehouse Machine Learning in Autonomous Data Warehouse
Machine Learning in Autonomous Data Warehouse
 
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
 
Introduction to Machine Learning and Data Science using Autonomous Database ...
Introduction to Machine Learning and Data Science using Autonomous Database  ...Introduction to Machine Learning and Data Science using Autonomous Database  ...
Introduction to Machine Learning and Data Science using Autonomous Database ...
 
The Machine Learning behind the Autonomous Database ILOUG Feb 2020
The Machine Learning behind the Autonomous Database   ILOUG Feb 2020 The Machine Learning behind the Autonomous Database   ILOUG Feb 2020
The Machine Learning behind the Autonomous Database ILOUG Feb 2020
 
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
 

EXAchk for Exadata Presentation

  • 1. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | EXAchk Health Checks & Best Practices for Exadata
  • 2. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 2
  • 3. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 1 2 Why EXAchk? Development Methodology Recommended Usage Overview Report Structure Detailed Usage Options Collection Manager Integration With Other Tools Troubleshooting 3 4 5 6 7 8 3
  • 4. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 1 2 Why EXAchk? Development Methodology Recommended Usage Overview Report Structure Detailed Usage Options Collection Manager Integration With Other Tools Troubleshooting 3 4 5 6 7 8 4
  • 5. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Engineered to work together with Oracle Engineered Systems Configuration specific Health Checks Saves Time Saves Money Why EXAchk 5
  • 6. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | –Automated risk identification and proactive notification before business is impacted –Health Checks based on most impactful reoccurring problems across Oracle customer base –Runs in your environment – no need to send anything to Oracle –Scheduled email Health Check reports –Findings can be integrated into other tools of choice Why EXAchk Engineered Systems Non Engineered Systems EXAchk ORAchk Common Framework Lightweight & non intrusive Health Check framework for the Oracle stack 6
  • 7. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Engineered to work together with Engineered Systems • Exadata DBM is engineered for best, fastest, and stable database performance and availability • Hundreds / Thousands of QA, Test, & MAA tests through Exadata DBM Lifecycles • Feedback from internal tests, customers and development teams including Maximum Availability Architecture (MAA) is integrated into the product and/or EXAchk 7
  • 8. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Configuration specific Health Checks • EXAchk provides configuration specific, up to date health check across the entire DBM stack: o Continuously evolving configuration checks for the entire Oracle Exadata Database Machine and the software that runs upon it o Exadata, DB, GI, ASM critical issues list specific for the environment o Exadata full stack software planner o MAA scorecard that highlights MAA configuration gaps and provide guidance to MAA and consolidation best practices o Automated scheduling ability and automatic difference identification between runs with email notification 8
  • 9. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | EXAchk Saves Time • No time required on your part to develop checks (unless you want to…covered later) o Hundreds of checks for best practices are provided • Configuration is minimal • Provides an automation framework which can be run fully automatically at scheduled times or invoked adhoc on demand • Executes quickly o Parallelized execution keeps typical wall clock time low • Provides prioritized, categorized report of findings focused on high priority issues first • Provides self service guidance for each check • Results can be integrated into your existing tools such as Oracle Enterprise Manager, 3rd party tools such as Kibana or your own custom applications 9
  • 10. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Saves Money • EXAchk is provided as a “value add” as part of your existing Support Contract oNo extra cost for EXAchk, included within your support fee o Available to download from My Oracle Support (1070954.1) • No development costs required by your organization o Health Checks developed and provided for free by Oracle o With User Defined Checks you can use EXAchk as an automation platform to run your own checks 10
  • 11. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 1 2 Why EXAchk? Development Methodology Recommended Usage Overview Report Structure Detailed Usage Options Collection Manager Integration With Other Tools Troubleshooting 3 4 5 6 7 8 11
  • 12. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • EXAchk is a lightweight, full-service best practice and critical issues evaluator for the Exadata DBM • Release cycles are targeted to 90 days, with Beta made available approximately two weeks before production o Interim releases may be released sooner if significant Critical Issues are discovered o Also timed to coincide with major software releases and / or hardware changes • Maintains backward compatibility Development Methodology 12
  • 13. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • Continuous improvement from: o Enhancement requests / feedback from customers o Exadata MAA Best Practices team o Critical Issues discovery o Internal testing, Proofs of Concepts & Support Partners Development Methodology 13
  • 14. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Development Methodology • EXAchk does not duplicate the function of other established tools o Enterprise Manager for continuous monitoring o AWR reports o SQL tuning tools o Advanced diagnostic gatherers o Automated Service Request o Storage server alert mechanisms • EXAchk validates a given Exadata DBM configuration against a critical subset of the Oracle MAA Exadata Best Practices (published in MOS doc 757552.1) 14
  • 15. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 1 2 Why EXAchk? Development Methodology Recommended Usage Overview Report Structure Detailed Usage Options Collection Manager Integration With Other Tools Troubleshooting 3 4 5 6 7 8 15
  • 16. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Recommended Usage – Automated Risk Notification 1) Schedule EXAchk to run in daemon mode weekly or daily and email report 2) Identify actions easily by viewing automated comparison of previous runs 3) Act on recommendations 16
  • 17. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Schedule EXAchk ? Hour (0 – 23) ? ? ? Day of month (1 – 31) Month (1 – 12) Day of week (0 – 6) (0 to 6 are Sunday to Saturday) example: exachk -set 'AUTORUN_SCHEDULE=8,20 * * 2,5' will schedule runs on Tuesday and Friday at 08:00 & 20:00 AUTORUN_SCHEDULE = 1717
  • 18. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • First email will contain the HTML report Email Notification 18
  • 19. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | View EXAchk Report • Health score • Summary of EXAchk run • Table of content • Controls for report features • Findings • Recommendations 19
  • 20. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | View EXAchk Report • Table of content • Controls for report features • Checks which passed are not shown by default • Quickly show or hide checks based on their status • Show or hide major sections of the report • Collapse or expand check findings • Show check Ids • Remove the findings from the report – This doesn’t change the report but optionally hides findings on a check by check basis • Display a printable view 20
  • 21. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | View EXAchk Findings • Check status • Type of Check • Check Message • Where the check was run • Link to expand details 21
  • 22. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • What to do to solve the problem • Links to relevant Knowledge docs • Where recommendation applies • Where problem doesn’t apply • Example of data the recommendation is based on View Recommendations 22
  • 23. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Review MAA Score Card • Critical Issues in MAA Scorecard o All issues reported in “SOFTWARE MAINTENANCE BEST PRACTICES” • Software version mapping table • Installed software versions checked for noncurrent or incompatible feature usage (Many other areas of report, shown in demo sample later) 23
  • 24. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Subsequent emails compare results to previous run • Easily see if something has changed • Email attachment has: o Latest report o Previous report o Diff Report Email Notification 24
  • 25. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Diff overview • Summary of this run vs previous Diff Output 25
  • 26. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Differences between each run Diff Output 26
  • 27. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • Upgrade or Patching o Detects all databases registered in the clusterware automatically o Presents list of databases to check o Pre Upgrade  Run during upgrade planning phase  Asks which version you plan to upgrade to o Post Upgrade  Run after upgrade • Other typical times to run EXAchk o Machine moves o Hardware failure / repair o Problem troubleshooting o In addition to go-live testing • Other Key My Oracle Support notes o MOS 757552.1 publishes the MAA Exadata Best Practices o MOS 888828.1 is the master Exadata version reference o Exadata Critical Issues (Doc ID 1270094.1) Other Recommended Usage ./exachk -u –o pre ./exachk -u –o post 27
  • 28. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 1 2 Why EXAchk? Development Methodology Recommended Usage Overview Report Structure Detailed Usage Options Collection Manager Integration With Other Tools Troubleshooting 3 4 5 6 7 8 28
  • 29. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Report Demo 29
  • 30. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 1 2 Why EXAchk? Development Methodology Recommended Usage Overview Report Structure Detailed Usage Options Collection Manager Integration With Other Tools Troubleshooting 3 4 5 6 7 8 30
  • 31. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Supported Environments • All supported hardware types, operating systems, firmware versions, and Oracle versions for the following Oracle Engineered Systems: o Big Data Appliance o Exadata (V2 and above, HP hardware based V1 systems are not covered) o Exalogic o Exalytics o SuperCluster o Zero Data Loss Recovery Appliance 31
  • 32. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 1. Included in base image and latest OEDA 2. Download latest version from My Oracle Support (install < 1 min) 3. Auto update when later version available Roll Out & Maintain EXAchk 32
  • 33. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 1. Download the exachk bundle from MOS note 1070954.1 to your local machine 2. Unzip it and transfer exachk.zip to a directory on the target Engineered System 3. Unzip exack.zip o As owner of oracle database or grid home Installation 33
  • 34. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • Run as root (recommended) o EXAchk will su to lower privileged owners of RDBMS or grid homes o To specify a user other that root for these situations: • Run as RDBMS or GRID Home Owner o User must be able to switch to root for root level checks – several options: 1. Provide the root userid password at prompts or 2. Set up sudo or 3. Pre-configure passwordless SSH connectivity Which User to Run EXAchk as Connect via SSH & Run Checks on Default User Change User By exporting user id in this Environment Variable Exadata Storage Server root RAT_CELL_SSH_USER InfiniBand switches root (when run as root) RAT_IBSWITCH_USERnm2user (when run as other user) 34 Note: You may only choose from the provided lower privileged accounts
  • 35. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Option 1 With internet connection o When EXAchk is older than 120 days it will prompt you to let it automatically download newer version from My Oracle Support o Can also be specifically triggered with: Option 2 No internet connection a) Download the latest exachk.zip to a shared network staging location b) Set environment variable RAT_UPGRADE_LOC: c) Next time exachk script is started it will prompt to allow it to upgrade itself Maintaining EXAchk ./exachk -download export RAT_UPGRADE_LOC=<staging dir> 35
  • 36. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Automated Usage with the Daemon 36
  • 37. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Set Daemon Options, When, What & Who to Tell ./exachk –set “<option_1>=<option_1_value>;<option_2>=<option_2_value>;<option_n>=<option_n_value>” AUTORUN_SCHEDULE • Schedule when exachk will be run • Hour, day of month, month of year & day of week • Comma separate multiple values for same timeframe • * Wildcard ? Hour (0 – 23) ? ? ? Day of month (1 – 31) Month (1 – 12) Day of week (0 – 6) (0 to 6 are Sunday to Saturday) ./exachk –set “AUTORUN_SCHEDULE=2 * * 1,3,5” AUTORUN_FLAGS • Command line options to be passed through to exachk run ./exachk –set “AUTORUN_FLAGS=-profile dba –tag dba” NOTIFICATION_EMAIL • Comma separated list of emails to send daemon notifications to ./exachk –set “NOTIFICATION_EMAIL=some.person@acompany.com,another.person@acompany.com” 37
  • 38. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Set Daemon Options, Maintenance ./exachk –set “<option_1>=<option_1_value>;<option_2>=<option_2_value>;<option_n>=<option_n_value>” COLLECTION_RETENTION • Number of days to keep files created by scheduled run, files older than this will be deleted ./exachk –set “COLLECTION_RETENTION=30” PASSWORD_CHECK_INTERVAL • Frequency in hours of password validation • When found invalid daemon stops & notifies via log & email ./exachk –set “PASSWORD_CHECK_INTERVAL=48” 38
  • 39. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Set Daemon Options, Multiple IDs • Only one Daemon process should be used across a database cluster o Multiple daemon profiles can be configured using IDs o Allows for multiple different types of exachk runs ./exachk –d <ID> –set “<option>=<value>” 39
  • 40. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Get Daemon Option • Find a specific daemon option which has been set • Use with or without ID ./exachk –d <ID> –get <option> Get value of particular option for specific id ./exachk –get <option> Get value of particular option for all IDs 40
  • 41. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Get All Daemon Options • Find any Daemon options which have been set • Used with or without ID ./exachk –d <ID> –get all Get value of all options for specific id ./exachk –get all Get value of all options for all IDs 41
  • 42. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Start Daemon ./exachk –d start 1. Start the daemon 2. Follow the prompts 42
  • 43. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Daemon Information ./exachk –d status Check if the daemon is running: ./exachk –d info Get more detailed information about the daemon 43
  • 44. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Daemon Next Autorun ./exachk –d nextautorun ./exachk –id <id> –d nextautorun Find when the next auto run will happen: Find when the next auto run will happen for a specific ID 44
  • 45. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Daemon Stopping ./exachk –d stop_client ./exachk –d stop Stop an exachk run mid-flow: Stop the daemon 45
  • 46. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Auto Restart Daemon • Restart daemon if machine restarts o Uses passwordless ssh user equivalence to root ./exachk –initsetup 46
  • 47. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Restart status of daemon can be queried: If you want to remove restart settings: Auto Restart Daemon, Check Status & Remove Auto Restart ./exachk –initcheck ./exachk –initrmsetup 47
  • 48. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | With or Without the Daemon • When daemon is running, if exachk is run in adhoc mode it will connect to the daemon by default and make use of pre-provided prompt values o To avoid connecting to the daemon use –nodaemon: o To only run exachk when the daemon is running use –daemon: ./exachk –nodaemon ./exachk –daemon 48
  • 49. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Email Notifications • Run in ad hoc mode and receive html report via email • Verify email configuration function • Use –testemail all to use email addresses stored in daemon configuration ./exachk -sendemail "NOTIFICATION_EMAIL=abc@company.com,xyz@company.com" ./exachk -testemail "NOTIFICATION_EMAIL=abc@company.com,xyz@company.com" ./exachk -testemail all 49
  • 50. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Additional EXAchk Capabilities & Features 50
  • 51. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Health Check Catalog • Bundled within .zip download • Audit_Checks_Report_Exachk.html • Contains all published checks • Filterable & searchable • Engineered System • Profiles • Alert Level • Release Check Authored • Platforms • Look up check id without running report 51
  • 52. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Database Checks • EXAchk runs checks against all database nodes in the cluster by default o To specify only a subset of nodes use: o Only local node: • Automatically discovers all databases and prompts for which should be checked o Do not prompt but run all checks on all discovered database: o Do not prompt and skip all database related checks: o Only run checks against a subset of databases: ./exachk –clusternodes <node_1>,<node_2> ./exachk –localonly ./exachk –dball ./exachk –dbnone ./exachk –dbnames <db_1>,<db_2> 52
  • 53. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Checks for Cells & Switches • Run on a subset of cells using –cells • Run on a subset of switches using -ibswitches ./exachk –cells <cell_1>,<cell_2> ./exachk –ibswitches <switch_1>,<switch_2> 53
  • 54. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Virtualization 1. Run from dom0 on first compute to cover all dom0s, cells and switches o Install EXAchk into the management domain (DOM0) & run as root o Will discover all compute nodes, storage servers and InfiniBand switches in the entire InfiniBand fabric and run EXAchk on all o If a single machine has been separated into multiple management domains • Use -clusternodes, -cells, -ibswitches to detail the components of the separate management domains 2. Run once on each virtual cluster 54 ./exachk –clusternodes <node_1>, <node_2> –cells <cell_1>,<cell_2> –ibswitches <switch_1>,<switch_2>
  • 55. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | EXAchk Output • EXAchk will output the collection results to the directory it is run from o Output can be directed to a different directory with –output • Output will be directory and a zip of the same name ./exachk –output <OUTPUT_DIR> o log : various log files o outfiles : collection results checks are based on o Reports : subreports used to build the main report o Scripts : scripts used during collection o Upload : files for upload of collection into database or integration into other tools o exachk_*.html : Main HTML report output 55
  • 56. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Temporary Working Directory • EXAchk will create temporary files during execution • Default location is $HOME of the user EXAchk is running as • Location can be changed by setting RAT_TMPDIR • If using sudo access to root from a lower privileged user id, temporary directory must be reflected in /etc/sudoers file export RAT_TMPDIR=<TEMP_DIR> ./exachk <user> ALL=(root) NOPASSWD:<TEMPDIR>/root_exachk.sh 56
  • 57. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Parallel Execution • Database collections are executed in parallel • The default number of slave processes used is calculated automatically • Default can be changed with –dbparallel <# slave processes> or -dbparallelmax • Parallel execution can be disabled altogether if required with -dbserial ./exachk –dbparallel <# slave processes> ./exachk –dbparallelmax ./exachk –dbserial 57
  • 58. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Tagging, Merging & Comparing Reports • Collections are typically of the format: exachk_<dbserver>_<database>_<date>_<timestamp>.html • Tag collections so output contains another word to help differentiate it: exachk_<dbserver>_<database>_<date>_<timestamp>_<tag_name>.html • Merge multiple reports into one with –merge and list of collection directories or zip files: • Force the merge of collections from dom0 and domu or global and local zones by adding –force: • Compare collections with –diff: ./exachk –merge <collection_1>,<collection_2> ./exachk –merge <collection_1>,<collection_2> -force ./exachk –diff <collection_1>,<collection_2> ./exachk –tag <tag_name> 58
  • 59. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • Profiles provide logical grouping of checks which are about similar topics • Run only checks in a specific profile • Run everything except checks in a specific profile Profiles ./exachk –profile <profile> ./exachk –excludeprofile <profile> Profile Description asm ASM Checks avdf Audit Vault Configuration checks clusterware Oracle clusterware checks control_VM Checks only for Control VM(ec1-vm, ovmm, db, pc1, pc2). No cross node checks corroborate Exadata checks needs further review by user to determine pass or fail dba DBA Checks ebs Oracle E-Business Suite checks eci_healthchecks Enterprise Cloud Infrastructure Healthchecks ecs_healthchecks Enterprise Cloud System Healthchecks goldengate Oracle GoldenGate checks hardware Hardware specific checks for Oracle Engineered systems maa Maximum Availability Architecture Checks ovn Oracle Virtual Networking platinum Platinum certification checks preinstall Pre-installation checks prepatch Checks to execute before patching security Security checks solaris_cluster Solaris Cluster Checks storage Oracle Storage Server Checks switch Infiniband switch checks sysadmin Sysadmin checks user_defined_checks Run user defined checks from user_defined_checks.xml 59
  • 60. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Run or exclude individual checks • Granular control to execute or exclude a single check • Ideal for testing new checks or troubleshooting • Run only specific check(s): • Exclude a specific check: • Find check id either from report or Health Check Catalog ./exachk -check <check_id_1>,<check_id_2> ./exachk –excludecheck <check_id_1>,<check_id_2> 60
  • 61. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 1 2 Why EXAchk? Development Methodology Recommended Usage Overview Report Structure Detailed Usage Options Collection Manager Integration With Other Tools Troubleshooting 3 4 5 6 7 8 61
  • 62. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Collection Manager Dashboard 62
  • 63. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Dashboard Filters Filter by Interval Filter by configurable business units Filter by systems Click on color coded area to drill down 63
  • 64. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Most Failures & Warnings Click to see the recommendation details 64
  • 65. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Most Failures Click to drill into failures 65
  • 66. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Most Warnings Click to drill into warnings 66
  • 67. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | No difference OR No regression failed in current collection At least one regression from Non-WARNING to WARNING OR Found WARNING regression in current collection At least one regression from Non-FAIL to FAIL OR Found FAIL regression in current collection Non clickable green flag - Preceding collection not found Recent Collections Health Score Warning count Fail count Info count Pass count Ignore count 67
  • 68. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | View Collection Collection Link 68
  • 69. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | View Collection Recommendation 69
  • 70. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | User Defined Checks • Use as a Health Checking Platform • You write your own business specific User Defined Checks • Collection Manager authoring UI very similar to Oracle’s internal authoring tool • OS or SQL logic • Generates user_defined_checks.xml sample in install directory • Utilizes framework features such as result output, email notification, CM storage etc 70
  • 71. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | User Defined Checks • Have their own profile: user_defined_checks • Can be excluded: ./exachk -excludeprofile user_defined_checks • Have their own section of the report ./exachk -profile user_defined_checks • Can be run on their own: 71
  • 72. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Collection Manager Setup 1. Ensure APEX 4.2 is installed & configured 2. Follow Collection Manager installation in Collection Manager User Guide 3. Login to Collection Manager Application via a URL like the following o Format will depend on choices during installation http://hostname:port/apex/f?p=ApplicationID http://hostname:port/pls/apex/f?p=ApplicationID 72
  • 73. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Collection Storage Table • Collection zip files are stored in the RCA13_DOCS table o Already created during collection manager installation • Provide EXAchk where to upload collection results by providing connection string & password via –setdbupload and completing prompts: • Get current values with: • Unset values with: ./exachk -setdbupload RAT_UPLOAD_CONNECT_STRING,RAT_UPLOAD_PASSWORD ./exachk –unsetdbupload RAT_UPLOAD_PASSWORD ./exachk -getdbupload 73
  • 74. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Store DB Upload Variables in Wallet • Set all with: • Set specific variables by specifying comma separated list: • Unset all with • Check if variables are set correctly: ./exachk -setdbupload all ./exachk -setdbupload RAT_UPLOAD_CONNECT_STRING,RAT_UPLOAD_PASSWORD ./exachk -unsetdbupload all ./exachk -checkdbupload 74
  • 75. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 1 2 Why EXAchk? Development Methodology Recommended Usage Overview Report Structure Detailed Usage Options Collection Manager Integration With Other Tools Troubleshooting 3 4 5 6 7 8 75
  • 76. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Integrating With Oracle Enterprise Manager Cloud Control 13.1 76
  • 77. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Enterprise Manager Integration •Check results integrated into EM compliance framework via plugin •View results in native EM compliance dashboards •Related checks grouped into compliance standards •View targets checked, violations & average score •Drill down into compliance standard to see individual check results •View break down by target 77
  • 78. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • Integration is via the Enterprise Manager ORAchk Healthchecks plugin with the following Support: • The following prerequisites must be met before you can deploy the plug-in: o Verify that your Engineered Systems hardware and software are at the supported level as described in Supported Hardware and Software Versions o All Engineered System plug-ins should be deployed o InfiniBand switches and storage cells should be an Enterprise Manager-managed target for the respective engineered system o Expect package should be installed on the hosts Enterprise Manager Plugin Perquisites Hardware Types Supported By Plugin Exadata (physical configuration only) Yes Exadata (virtual configuration) No Recovery appliance Yes Exalogic (physical configuration) Yes Exalogic (virtualized configuration) Yes Oracle SuperCluster No Oracle Private Cloud Machine No 78
  • 79. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Setting Up Enterprise Manager EXAchk Plugin • The plugin is already installed by default with Enterprise Manager 13.1 1. Deploy the plugin using the Enterprise Manager Plugin Deployment feature 2. Provision the plugin to setup the EXAchk daemon 79
  • 80. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • Use Enterprise Manager provisioning feature and select ORAchk/EXAchk • After selected this will launch the provisioning wizard, choose the system type Provision EXAchk 80
  • 81. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Provision EXAchk • Provide new or select existing credentials • Specify install location • Select when daemon should be run 81
  • 82. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Provision EXAchk • Verify CRS Home • Finally choose Cell & InfiniBand configuration 82
  • 83. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Drill into applicable standard and view individaul checks & target status View Results by Compliance Standard Filter by Exachk%” Click individual checks for recommendation details 83
  • 84. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Integrating With 3rd Party Tools 84
  • 85. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | JSON Output to Integrate with Kibana, Elastic Search etc 85
  • 86. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • EXAchk results are also output in JSON format in the upload directory of the collection • Writing JSON Results With syslog 1. JSON output results can be sent to the syslogd Daemon with –syslog option e.g.: 2. EXAchk uses the message levels of “crit”, “err”, “warn” and “info” 3. You can verify syslog configuration by running the following commands: 4. Then verify in your configured message location (e.g. /var/adm/messages) that each test message was written. JSON Result Output ./exachk –set “AUTORUN_FLAGS=-syslog” 86
  • 87. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Integrating With Your Own Application 87
  • 88. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Custom App Integration • If you don’t use Collection Manager and have your own application which consumes the EXAchk results 1. Create the tables: auditcheck_result, auditcheck_patch_result & RCA13_DOCS tables 2. Tell EXAchk about these tables: ./exachk -setdbupload all • EXAchk results will be uploaded into the tables after execution, which can be consumed by your own App 88
  • 89. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Agenda 1 2 Why EXAchk? Development Methodology Recommended Usage Overview Report Structure Detailed Usage Options Collection Manager Integration With Other Tools Troubleshooting 3 4 5 6 7 8 89
  • 90. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • View Component Elapsed Times o Identify if one particular component is slow • View top 10 Time Consuming Checks o If some in particular are slow, show check_id and run again with: Troubleshooting Performance ./exachk –excludecheck <check_id> • Try increasing the number of parallel slave processes (Note: will increase resource usage) ./exachk –dbparallelmax 90
  • 91. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • If checks are being killed this will be due to timeout: • Timeouts can be caused by slow checks or interactive prompts • Try increasing default times with applicable environment variables: • EBS checks query application data which can vary hugely in size depending on the size of your data oIf you suspect EBS checks try excluding EBS profile: oUse RAT_TIMEOUT to increase to a value where they are no longer killed Troubleshooting Timeouts ./exachk –excludeprofile ebs 91 Environment Variable Timeout Controlled Default Value (seconds) RAT_TIMEOUT non-root individual commands 90 RAT_ROOT_TIMEOUT root userid command sets 300 RAT_PASSWORDCHECK_TIMEOUT ssh login DNS handshake 1
  • 92. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | • Debugging via Daemon • Debugging adhoc EXAchk runs Collecting Debug ./exachk –d start_debug ./exachk –debug • Debug output: 92
  • 93. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 93
  • 94. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 94