SlideShare a Scribd company logo
VP AIOps for the Autonomous Database
Sandesh Rao
#DOAG2021
How to Use EXAchk Effectively to Manage
Exadata Environments
@sandeshr
https://www.linkedin.com/in/raosandesh/
https://www.slideshare.net/SandeshRao4
What is AHF
Compliance
Checking
Fault
Detection
Support
Upload
Fault
Notification
Diagnostic
Collection
2 TFA
Automatic issue detection,
diagnostic collection and analysis
along with a single interface for
Database support tools
1 EXAchk
Automatic compliance checking and
warnings when drifting away from best
practices as well as offering pre and
post upgrade advice
Install
OEDA Dec 2019+: AHF is already installed in your base image
Earlier versions either from RU or install from Doc 1070954.1
Installation and staying up to date
Exacloud ECS installer
One release behind latest
Release Updates
One release behind latest
MOS Download
Latest release
Doc 1070954.1
Upgrade Upgrade Upgrade
EXAchk
Automatic proactive warnings
before you’re impacted
Results viewable in the
tool of your choice
Regular emails with
check results
Compliance checks for most
impactful reoccurring problems
No need to send
anything to Oracle
REDUCE
YOUR RISK
Oracle Stack Coverage
Engineered Systems
Oracle Exadata Database Machine
Oracle SuperCluster
Oracle Private Cloud Appliance
Oracle Database Appliance
Oracle Big Data Appliance
Oracle Zero Data Loss Recovery
Appliance
Oracle ZFS Storage Appliance
Systems
Oracle Solaris
Cross stack checks
Solaris Cluster
OVN
ASR
Oracle Database
Autonomous Database
Standalone Database
Grid Infrastructure & RAC
Maximum Availability Architecture
(MAA) Scorecard
Upgrade Readiness Validation
Golden Gate
Application Continuity
Enterprise Manager Cloud
Control
Repository
Agent
OMS
Middleware
Oracle Identify and Access
Management Suite (Oracle IAM)
Oracle CRM
Oracle Project Billing
Siebel
Database best practices
PeopleSoft
Database best practices
SAP
EXAdata best practices
Performed as root user
On one BM database server or domU/VM in Virtual deployment in the cluster:
1. Unzip the latest AHF installer
2. Run the installer:
e.g.:
./ahf_setup -ahf_loc /opt -data_dir /u01/app/grid
AHF will upgrade any previous versions of EXAchk and TFA found on the system
Make sure you have enough room in /opt
Upgrading AHF on Exadata Bare Metal or Virtual DomU
unzip AHF-LINUX_<version>.zip
./ahf_setup -ahf_loc /opt -data_dir <ORACLE_BASE of Grid owner>
Performed as root user
On each database server Xen dom0/KVM Host in the cluster, perform the following steps:
1. Unzip the latest AHF installer
2. Run the installer:
AHF will upgrade any previous versions of EXAchk and TFA found on the system
After AHF is installed local to each database server, the TFA daemons will discover each other, typically
within 5 to 10 minutes
Make sure you have enough room in /opt
Upgrading Exadata Dom0 (Xen or KVM)
unzip AHF-LINUX_<version>.zip
./ahf_setup -ahf_loc /opt -silent -local -data_dir /opt
Performed as root user
On each database server in the cluster, perform the following steps:
1. Unzip the latest AHF installer
2. Run the installer:
AHF will upgrade any previous versions of EXAchk and TFA found on the system
After AHF is installed local to each database server, the TFA daemons will discover each other, typically
within 5 to 10 minutes
Make sure you have enough room in /opt
Upgrading AHF on Exadata Cloud@Customer
unzip AHF-LINUX_<version>.zip
./ahf_setup -ahf_loc /opt -silent -local -data_dir /u02
ORAchk / EXAchk Collection Manager Enterprise Manager ELK Stack
Architecture Options
Health
Checks
Run
Checks
HTML
Email
Oracle
Database
Many Instances One Instance One Instance One Instance
Oracle
Database
Elastic
Search
SQL
Results
XML
JSON
View enterprise-wide
results via Collection
Manager interface
View enterprise-wide
results via Enterprise
Manager interface
View enterprise-wide
results via Kibana
dashboards
AHF Service
One Instance
Object
Store
View enterprise-wide
results via AHF Service
UI
Building compliance with best practices
Development methodology
1
Idea
Reports from development, testing, support etc
2
Expert review
Weekly meetings to review and test
3
MOS Note 757552.1
Published Exadata best practices
4
Default deployment
Bake best practices back in to default deployment
5 ORAchk / EXAchk check
Generation of new checks
EXAchk
Run automatically and monitor the diffs.
In Virtualized Exadata, autoruns only on domU
AUTOMATED (recommended)
Run once a month, if in Virtualized Exadata, run
on dom0, cells and switches
ON-DEMAND
Run before and after configuration changes
CONFIGURATION
Run before and after any planned software and
hardware maintenance
MAINTENANCE
EXAchk compliance use cases
Enterprise Manager
EXAchk compliance checks are
integrated into the OEM Compliance
Check Framework Dashboards and
Compliance Standards via the
Engineered System plug-in
AHF
AHF EXAchk is integrated with other
Oracle Health Check and compliance
management software
Cluster Verification Utility
CVU checks are run:
• During full EXAchk runs
• In –profile preinstall
• In -preupgrade
AutoUpgrade Utility
AutoUpgrade utility checks are run:
• In -preupgrade
DBSAT
EXAchk is also integrated with DBSAT
• In –profile security
Integration
If you need support
-debug
Run on-demand
exachk
Limit checks
-profile
One or more of 40+
different component
focused check categories
-preupgrade
Helps you plan your
upgrade
-postupgrade
Helps confirm a successful
upgrade
Limit targets
-cells
-clusternodes
-ibswitches
-dbnames
Options
TFA scheduler used to run EXAchk….results in reduced process overheads
Critical checks automatically run once a day at 2am, can be changed with:
exachk –id exachk.autostart_client_exatier1 –set “AUTORUN_SCHEDULE=minute hour day month day_of_week”
Full checks run once a week at 3am Sunday, can be changed with:
exachk –id exachk.autostart_client –set “AUTORUN_SCHEDULE=minute hour day month day_of_week”
For example, to change Critical checks to run at 8am every Monday & Thursday use:
exachk –id exachk.autostart_client_exatier1 –set “AUTORUN_SCHEDULE=* 8 * * 1,4”
EXAchk now run via the TFA scheduler
TFA Scheduler EXAchk
1. Proactive notification of compliance failures:
exachk -set “NOTIFICATION_EMAIL=SOME.BODY@COMPANY.COM
2. Fault notification:
tfactl set notificationAddress=some.body@example.com
3. Database specific fault notification:
tfactl set notificationAddress=<db_owner_name>:another.person@example.com
4. Optionally configure an SMTP server:
tfactl set smtp
5. Confirm email notification work:
tfactl sendmail <email_address>
Configure email notification
Store your MOS credentials securely in an encrypted wallet, ready for future upload:
tfactl setupload
–name mos_config
–type https
–url https://transport.oracle.com/upload/issue
-proxy www-proxy.acme.com:80
-user john.doe@acme.com
Configure MOS upload
Upload your collection to MOS to get help from Oracle support with a single command:
e.g:
tfactl upload –name mos_config –id 3-123456789 –file my_TFA_collection.zip
e.g:
exachk –name mos_config –id 3-123456789 –zipfile my_exachk_coll.zip
Upload to MOS
tfactl upload –name mos_config –id <sr-number> –file <file-name>
exachk –name mos_config –id <sr-number> –zipfile <file-name>
Run as root (recommended)
o ORAchk/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 Homeowner
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
or
4. Allow ORAchk/EXAchk to configure private keys for
remote nodes
Which User to Run 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_USER
nm2user
(when run as other user)
Note: You may only choose from the provided lower privileged account
Note:
•On SuperCluster you can use Role Based Access Control (RBAC) to execute root
privileged checks, no root user required.
•root checks must be run as a user with a root equivalent access role
•On Exalogic it is only supported to run as root
EXAchk will:
1. Prompt for remote node password
2. Login to remote node and generate private and public key pair on remote node
3. Copy contents public key into the .ssh/authorized_keys file of remote node and delete the
public key from remote node
4. Copy private key of remote node into local node and use as identity file to make future
connections
Alternatively, you can provide the private key file yourself
Run:
E.g.:
This will generate the following key pair in the $HOME/.ssh/ directory:
• id_dsa.myhost67.root (private key / Identity file)
• id_dsa.myhost67.root.pub (Public key)
Remote node connection without passwordless SSH
ssh-keygen -f $HOME/.ssh/id_dsa.host.user -N ''
ssh-keygen -f $HOME/.ssh/id_dsa.myhost67.user -N ''
1. TFA SECURE SOCKETS
Easier setup of ORAchk and EXAchk access to remote Database servers
Host 1
ORAchk /
EXAchk
TFA
Host 2
ORAchk /
EXAchk
Secure
socket
TFA
Host 3
ORAchk /
EXAchk
Secure
socket
TFA
Used by EXAchk instead
of passwordless SSH
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
Diff overview
Summary of this run vs previous
Diff Output
Differences between each run
Diff Output
• ORAchk_Health_Check_Catalog.html
• EXAchk_Health_Check_Catalog.html
• Contains all published checks
• Filterable & searchable
• Product Area / Engineered System
• Profiles
• Alert Level
• Release Check Authored
• Platforms
• Privileged User
• Look up check id without running report
Health Check Catalog
1. Checks run against all database nodes in the cluster by default
oTo specify only a subset of nodes use:
oOnly local node:
2. Automatically discovers all databases and prompts for which should be checked
oDo not prompt but run all checks on all discovered database:
oDo not prompt and skip all database related checks:
oOnly run checks against a subset of databases:
oOnly run checks against a subset of PDBs:
Database Checks
–clusternodes <node_1>,<node_2>
–localonly
–dball
–dbnone
–dbnames <db_1>,<db_2>
–pdbnames <pdb_1>,<pdb_2>
Easier to stay up to date with Cluster Verification Utility checks
ORAchk
EXAchk
CVU
CVU
ORAchk
EXAchk
FULLY INTEGRATED
ORAchk/EXAchk will verify you
have a relevant CVU version
and if not, help in downloading
one
CVU checks are run by default
when you run ORAchk or
EXAchk
No CVU checks: -excludecvu
Only CVU checks: -cvuonly
Temporary files will be created during execution
Default location is $HOME
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
Root privilege checks run from root_orachk.sh or root_exachk.sh
• If you want the root script in a different directory to RAT_TMPDIR use: RAT_ROOT_SH_DIR
Temporary Working Directory
export RAT_TMPDIR=<TEMP_DIR>
<user> ALL=(root) NOPASSWD:<TEMPDIR>/root_[orachk|exachk].sh
oracle ALL=(root) NOPASSWD:/mylocation/root_exachk.sh
oracle ALL=(root) NOPASSWD:/tmp/root_orachk.sh
export RAT_ROOT_SH_DIR=/mylocation
Database collections are executed in parallel if possible
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
Parallel Execution
–dbparallel <# slave processes>
–dbparallelmax
–dbserial
Collections are typically of the format:
[orachk|exachk]_<dbserver>_<database>_<date>_<timestamp>.html
Tag collections so output contains another word to help differentiate it:
[orachk|exachk]_<dbserver>_<database>_<date>_<timestamp>_<tag_name>.html
Merge multiple reports into one with –merge and list of collection directories or zip
files:
Compare collections with –diff:
Tagging, Merging & Comparing Reports
–merge <collection_1>,<collection_2>
–diff <collection_1>,<collection_2>
–tag <tag_name>
1. 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
–profile <profile>
–excludeprofile <profile>
Create user defined profiles by providing a comma separated list of check ids:
Once a user defined profile has been created, it can be modified:
• This list of check_ids can contain both new checks to be added and existing checks to be removed,
ORAchk/EXAchk will add/remove as necessary
Delete a user defined profile:
User defined profiles
-createprofile <profile_name> <check_ids>
-modifyprofile <profile_name> <check_ids>
-deleteprofile <profile_name>
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
Run or exclude individual checks
-check <check_id_1>,<check_id_2>
–excludecheck <check_id_1>,<check_id_2>
1. Generate a health check report
2. Fix the issues identified
3. Generate another health check report verifying only the issues that failed before
Only Run Checks that Previously Failed
-failedchecks <previous_result>
• Track changes to the attributes of important files with –fileattr
– Looks at all files & directories within Grid Infrastructure and Database homes by default
– The list of monitored directories and their contents can be configured to your specific
requirements
– Use –fileattr start to start the first snapshot
Keep Track of Changes to the Attributes of Important Files
$ ./orachk -fileattr start
CRS stack is running and CRS_HOME is not set. Do you want to set CRS_HOME to
/u01/app/11.2.0.4/grid?[y/n][y]
Checking ssh user equivalency settings on all nodes in cluster
Node mysrv22 is configured for ssh user equivalency for oradb user
Node mysrv23 is configured for ssh user equivalency for oradb user
List of directories(recursive) for checking file attributes:
/u01/app/oradb/product/11.2.0/dbhome_11203
/u01/app/oradb/product/11.2.0/dbhome_11204
orachk has taken snapshot of file attributes for above directories at:
/orahome/oradb/orachk/orachk_mysrv21_20170504_041214
./orachk –fileattr start
Include other directories with –includedir <directories> using a comma separated list of directories
Keep Track of Changes to the Attributes of Important Files
./orachk –fileattr start includedir “/home/oradb,/etc/oatab”
• Exclude the default discovered directories with –excludediscovery
./orachk –fileattr start includedir “/home/oradb,/etc/oatab” -excludediscovery
Note:
• Use the same arguments with check that you used with start
• Will proceed to perform standard health checks after attribute checking
• File Attribute Changes will also show in HTML report output
Compare current attributes against first snapshot using –fileattr check
Keep Track of Changes to the Attributes of Important Files
$ ./orachk -fileattr check -includedir "/root/myapp/config" -excludediscovery
CRS stack is running and CRS_HOME is not set. Do you want to set CRS_HOME to
/u01/app/12.2.0/grid?[y/n][y]
Checking for prompts on myserver18 for oragrid user...
Checking ssh user equivalency settings on all nodes in cluster
Node myserver17 is configured for ssh user equivalency for root user
List of directories(recursive) for checking file attributes:
/root/myapp/config
Checking file attribute changes...
.
"/root/myapp/config/myappconfig.xml" is different:
Baseline : 0644 oracle root /root/myapp/config/myappconfig.xml
Current : 0644 root root /root/myapp/config/myappconfig.xml
…etc
…etc
./orachk –fileattr check
• Results of snapshot comparison will also
be shown in the HTML report output
To prevent standard health checking after attribute checking add –fileattronly:
To use a different snapshot baseline use –baseline:
To remove all snapshot use –fileattr remove
Keep Track of Changes to the Attributes of Important Files
–fileattr check –fileattronly
-fileattr check -baseline <snapshot>
-fileattr remove
ORAchk and EXAchk can encrypt the resulting collection zip file
To use encryption add the option -encryptzip: e.g.
• This will prompt for the password
• Once the zip file is encrypted, the original zip and directory will be deleted
To decrypt a zip use:
Encrypted resulting zip file
–profile dba -encryptzip
–decryptzip <zip_filename>
The encrypt/decrypt feature is only supported on Linux and Solaris platforms.
ORAchk and EXAchk include full REST support, allowing invocation & query over HTTPS
Oracle REST Data Services (ORDS) is included within the install
To enable REST:
1. Start ORDS:
2. Start the daemon, using the -ords option:
Start a full health check run by accessing the URL: https://<host>:7080/ords/tfaml/orachk/start_client
Run specific profiles: https://<host>:7080/ords/tfaml/orachk/profile/<profile1>,<profile2>
Run specific checks: https://<host>:7080/ords/tfaml/orachk/check/<check_id>,<check_id>
Any request will return a job id, which can then be used to query:
• Status: https://<host>:7080/ords/tfaml/orachk/status/<job_id>
• Download result: https://<host>:7080/ords/tfaml/orachk/download/<job_id>
REST Interface
–ordssetup
-d start -ords
The standalone ORDS setup feature utilizes file-based user authentication and is provided solely for use in test and development environments.
For production use, the included orachk.jar and ords.war should be deployed and configured.
Oracle Health Check Collection Manager Dashboard
Dashboard Filters
Filter by
Interval
Filter by
configurable
business units Filter by
systems
Click on color coded
area to drill down
Filter by
health score
Most Failures & Warnings
Click to see the
recommendation details
Most Failures
Click to drill into
failures
Most Warnings
Click to drill into
warnings
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
View Collection
Collection
Link
View Collection
Recommendation
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
User Defined Checks
• Have their own profile:
user_defined_checks
• Can be excluded:
-excludeprofile user_defined_checks
• Have their own section of the report
-profile user_defined_checks
• Can be run on their own:
• Can have customized check names, pass and fail messages:
<existing_check_code>
echo "CUSTOM_CHECK_NAME=<customized_check_name>" >> CUSTOMIZE_CHECK_PARAMS
echo "CUSTOM_PASS_MSG=<customized_pass_message>" >> CUSTOMIZE_CHECK_PARAMS
echo "CUSTOM_FAIL_MSG=<customized_fail_message>" >> CUSTOMIZE_CHECK_PARAMS
1. First time installation done via the APEX
workspace (5.x or higher)
2. Use the sql script applicable for your APEX
version:
• Eg APEX 5.x: Apex5_CollectionManager_App.sql
3. Follow Health Check Collection Manager
installation in the User Guide
4. Login to Collection Manager Application
via a URL like the following:
http://hostname:port/apex/f?p=ApplicationID
http://hostname:port/pls/apex/f?p=ApplicationID
Collection Manager upgrade done from
orachk / exachk:
Will determine the APEX version you
have and install the latest applicable
Collection Manager app
If the Collection Manager schema
changes in the future then ORAchk will
prompt for auto upgrade
Setup
-cmupgrade
• Collection zip files are stored in the RCA13_DOCS table - already created during collection manager installation
• Provide ORAchk details of where to upload collection results with –setdbupload all and complete prompts:
• Get current values with -getdbupload:
• Unset values with –unsetdbupload <parameter>:
Collection Storage Table
-setdbupload all
–unsetdbupload RAT_UPLOAD_PASSWORD
-getdbupload
• Set all with:
• Set specific variables by specifying comma separated list:
• Unset all with
• Check if variables are set correctly:
Store DB Upload Variables in Wallet
-setdbupload all
-setdbupload RAT_UPLOAD_CONNECT_STRING,RAT_UPLOAD_PASSWORD
-unsetdbupload all
-checkdbupload
Other Upload Parameters Not Set
by default
Description
RAT_UPLOAD_USER The user to connect as (default is ORACHKCM)
RAT_UPLOAD_TABLE The table name to store non-zipped collection
results
RAT_PATCH_UPLOAD_TABLE The table name to store non-zipped patch results
RAT_UPLOAD_ORACLE_HOME The ORACLE_HOME used during establishing
connection and uploading.
(Uses GI HOME discovered by ORAchk by default)
RAT_UPLOAD_TABLE &
RAT_PATCH_UPLOAD_TABLE
Only needed if you are using your own custom
application to view collection results, rather than
Collection Manager.
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
After selected this will launch the provisioning
wizard, choose the system type
Use Enterprise Manager provisioning feature and
select ORAchk/EXAchk
Provision
Drill into applicable standard and
view individual checks & target
status
View Results by Compliance Standard
Filter by Exachk%”
Click individual checks for
recommendation details
JSON Output to Integrate with Kibana, Elastic Search etc
• The JSON provides many tags to allow
dashboard filtering based on facts such as:
• Engineered System type
• Engineered System version
• Hardware type
• Node name
• OS version
• Rack identifier
• Rack type
• Database version
• And more...
• Kibana can be used to view health check
compliance across your data center
• Results can also be filtered based on any
combination of exposed system attributes
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. Message levels used 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
–set “AUTORUN_FLAGS=-syslog”
Sensitive information can be hidden from diagnostics
Machine learning algorithms determine sensitive data like:
• Host names
• IP addresses
• MAC addresses
• Oracle Database names
• Tablespace names
• Service names
• Ports
• Operating system user names
Sanitize or mask sensitive information
Add –sanitize or –mask to any command
• –sanitize replaces a sensitive value with random characters
• myhost123 >>>> JnsF3km9
• –mask replaces a sensitive value with a series of ‘X’
• myhost123 >>>> XXXXXXXX
Sanitize or mask sensitive information
Sanitized hostname
Check ID
tfactl orachk –preupgrade -sanitize
Sanitized hostname
Sanitized hostname
tfactl orachk –preupgrade -sanitize
tfactl orachk -rmap qzh024703246tsa1
TFA using ORAchk : /opt/oracle.ahf/orachk/orachk
___________________________________________________________________________
_____
| Entity Type | Substituted Entity Name | Original Entity Name
|
___________________________________________________________________________
_____
| hostname | qzh024703246tsa1 | myserver1
|
___________________________________________________________________________
_____
Reverse map the sanitization
Sanitized hostname
Repair command
Check ID
Repair command
Check ID
Check ID
Repair command
Understand what the repair command will do with:
Understand what the repair command does
tfactl orachk -showrepair 8300E0A2FFE48253E053D298EB0A76CC
TFA using ORAchk : /opt/oracle.ahf/orachk/orachk
Repair Command:
currentUserName=$(whoami)
if [ "$currentUserName" = "root" ]
then
repair_report=$(rpm -e stix-fonts 2>&1)
else
repair_report="$currentUserName does not have priviedges to run
$CRS_HOME/bin/crsctl set resource use 1"
fi
echo -e "$repair_report"
Run the checks again and repair everything that fails
Run the checks again and repair only the specified checks
Run the checks again and repair all checks listed in the file
Run the repair command
tfactl orachk -repaircheck all
tfactl orachk -repaircheck <check_id_1>,<check_id_2>
tfactl orachk -repaircheck <file>
ORAchk and EXAchk local language support
INTERNATIONALIZATION
of
MESSAGES & REPORTS
Spanish (es)
German (de)
French (fr)
Italian (it)
Japanese (ja)
Korean (ko)
Portuguese-Brazil (pt_BR)
Simplified Chinese (zh_CN)
Traditional Chinese (zh_TW)
export RAT_LANG=es
orachk
export RAT_LANG={value}
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
Thank You
Any Questions ?
Sandesh Rao
VP AIOps for the Autonomous Database
@sandeshr
https://www.linkedin.com/in/raosandesh/
https://www.slideshare.net/SandeshRao4
Ad

More Related Content

What's hot (20)

What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
Maria Colgan
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
Satishbabu Gunukula
 
Oracle Database Vaultのご紹介
Oracle Database Vaultのご紹介Oracle Database Vaultのご紹介
Oracle Database Vaultのご紹介
オラクルエンジニア通信
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
Markus Michalewicz
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance Tuning
Bobby Curtis
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
Jitendra Singh
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best Practices
Bobby Curtis
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
Markus Michalewicz
 
AWR and ASH Deep Dive
AWR and ASH Deep DiveAWR and ASH Deep Dive
AWR and ASH Deep Dive
Kellyn Pot'Vin-Gorman
 
ODA Backup Restore Utility & ODA Rescue Live Disk
ODA Backup Restore Utility & ODA Rescue Live DiskODA Backup Restore Utility & ODA Rescue Live Disk
ODA Backup Restore Utility & ODA Rescue Live Disk
Ruggero Citton
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Zohar Elkayam
 
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Markus Michalewicz
 
All of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperAll of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL Developer
Jeff Smith
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)
Gustavo Rene Antunez
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
Anil Nair
 
Oracle Enterprise Manager
Oracle Enterprise ManagerOracle Enterprise Manager
Oracle Enterprise Manager
Bob Rhubart
 
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0
オラクルエンジニア通信
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Markus Michalewicz
 
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
 
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsYour tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
John Kanagaraj
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
Maria Colgan
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
Markus Michalewicz
 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance Tuning
Bobby Curtis
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
Jitendra Singh
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best Practices
Bobby Curtis
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
Markus Michalewicz
 
ODA Backup Restore Utility & ODA Rescue Live Disk
ODA Backup Restore Utility & ODA Rescue Live DiskODA Backup Restore Utility & ODA Rescue Live Disk
ODA Backup Restore Utility & ODA Rescue Live Disk
Ruggero Citton
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Zohar Elkayam
 
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Markus Michalewicz
 
All of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperAll of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL Developer
Jeff Smith
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)
Gustavo Rene Antunez
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
Anil Nair
 
Oracle Enterprise Manager
Oracle Enterprise ManagerOracle Enterprise Manager
Oracle Enterprise Manager
Bob Rhubart
 
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0
Oracle GoldenGate 19c を使用した 簡単データベース移行ガイド_v1.0
オラクルエンジニア通信
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Markus Michalewicz
 
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
 
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsYour tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
John Kanagaraj
 

Similar to How to Use EXAchk Effectively to Manage Exadata Environments (20)

Oracle forms and reports 11g installation on linux
Oracle forms and reports 11g installation on linuxOracle forms and reports 11g installation on linux
Oracle forms and reports 11g installation on linux
Venu Palakolanu
 
Prizm Installation Guide
Prizm Installation GuidePrizm Installation Guide
Prizm Installation Guide
vjvarenya
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
MuhammadShoaibHussai2
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14
kmsa
 
Oracle11g on fedora14
Oracle11g on fedora14Oracle11g on fedora14
Oracle11g on fedora14
Khalid Matar Albuflasah
 
What's new in Oracle Trace File Analyzer version 12.2.1.1.0
What's new in Oracle Trace File Analyzer version 12.2.1.1.0What's new in Oracle Trace File Analyzer version 12.2.1.1.0
What's new in Oracle Trace File Analyzer version 12.2.1.1.0
Sandesh Rao
 
Automation Suite PPT (2).pptx
Automation Suite PPT (2).pptxAutomation Suite PPT (2).pptx
Automation Suite PPT (2).pptx
RohitRadhakrishnan8
 
APEX richtig installieren und konfigurieren
APEX richtig installieren und konfigurierenAPEX richtig installieren und konfigurieren
APEX richtig installieren und konfigurieren
Oliver Lemm
 
Finer Things Club - Lesser known zOSMF SW Mgmt Functions.pdf
Finer Things Club - Lesser known zOSMF SW Mgmt Functions.pdfFiner Things Club - Lesser known zOSMF SW Mgmt Functions.pdf
Finer Things Club - Lesser known zOSMF SW Mgmt Functions.pdf
Marna Walle
 
Hp fortify source code analyzer(sca)
Hp fortify source code analyzer(sca)Hp fortify source code analyzer(sca)
Hp fortify source code analyzer(sca)
Nagaraju Repala
 
Em library
Em libraryEm library
Em library
shady999
 
APACHE
APACHEAPACHE
APACHE
ARJUN
 
Oracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single nodeOracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single node
Osama Mustafa
 
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
 
Oracle ORAchk & EXAchk overview
Oracle ORAchk & EXAchk overviewOracle ORAchk & EXAchk overview
Oracle ORAchk & EXAchk overview
Gareth Chapman
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
mengjiagou
 
Exachk Customer Presentation
Exachk Customer PresentationExachk Customer Presentation
Exachk Customer Presentation
Sandesh Rao
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RAC
Secure-24
 
les_02.ppt of the Oracle course train_2 file
les_02.ppt of the Oracle course train_2 fileles_02.ppt of the Oracle course train_2 file
les_02.ppt of the Oracle course train_2 file
YulinLiu27
 
Extend Eclipse p2 framework capabilities: Add your custom installation steps
Extend Eclipse p2 framework capabilities: Add your custom installation stepsExtend Eclipse p2 framework capabilities: Add your custom installation steps
Extend Eclipse p2 framework capabilities: Add your custom installation steps
Dragos_Mihailescu
 
Oracle forms and reports 11g installation on linux
Oracle forms and reports 11g installation on linuxOracle forms and reports 11g installation on linux
Oracle forms and reports 11g installation on linux
Venu Palakolanu
 
Prizm Installation Guide
Prizm Installation GuidePrizm Installation Guide
Prizm Installation Guide
vjvarenya
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14
kmsa
 
What's new in Oracle Trace File Analyzer version 12.2.1.1.0
What's new in Oracle Trace File Analyzer version 12.2.1.1.0What's new in Oracle Trace File Analyzer version 12.2.1.1.0
What's new in Oracle Trace File Analyzer version 12.2.1.1.0
Sandesh Rao
 
APEX richtig installieren und konfigurieren
APEX richtig installieren und konfigurierenAPEX richtig installieren und konfigurieren
APEX richtig installieren und konfigurieren
Oliver Lemm
 
Finer Things Club - Lesser known zOSMF SW Mgmt Functions.pdf
Finer Things Club - Lesser known zOSMF SW Mgmt Functions.pdfFiner Things Club - Lesser known zOSMF SW Mgmt Functions.pdf
Finer Things Club - Lesser known zOSMF SW Mgmt Functions.pdf
Marna Walle
 
Hp fortify source code analyzer(sca)
Hp fortify source code analyzer(sca)Hp fortify source code analyzer(sca)
Hp fortify source code analyzer(sca)
Nagaraju Repala
 
Em library
Em libraryEm library
Em library
shady999
 
APACHE
APACHEAPACHE
APACHE
ARJUN
 
Oracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single nodeOracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single node
Osama Mustafa
 
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
 
Oracle ORAchk & EXAchk overview
Oracle ORAchk & EXAchk overviewOracle ORAchk & EXAchk overview
Oracle ORAchk & EXAchk overview
Gareth Chapman
 
Exachk Customer Presentation
Exachk Customer PresentationExachk Customer Presentation
Exachk Customer Presentation
Sandesh Rao
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RAC
Secure-24
 
les_02.ppt of the Oracle course train_2 file
les_02.ppt of the Oracle course train_2 fileles_02.ppt of the Oracle course train_2 file
les_02.ppt of the Oracle course train_2 file
YulinLiu27
 
Extend Eclipse p2 framework capabilities: Add your custom installation steps
Extend Eclipse p2 framework capabilities: Add your custom installation stepsExtend Eclipse p2 framework capabilities: Add your custom installation steps
Extend Eclipse p2 framework capabilities: Add your custom installation steps
Dragos_Mihailescu
 
Ad

More from Sandesh Rao (20)

Will Oracle 23ai make you a better DBA or Developer?
Will Oracle 23ai make you a better DBA or Developer?Will Oracle 23ai make you a better DBA or Developer?
Will Oracle 23ai make you a better DBA or Developer?
Sandesh Rao
 
Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...
Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...
Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...
Sandesh Rao
 
Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...
Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...
Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...
Sandesh Rao
 
Sandesh_Rao_Unlocking Oracle Database Mysteries AHF Insights and the AI-LLM D...
Sandesh_Rao_Unlocking Oracle Database Mysteries AHF Insights and the AI-LLM D...Sandesh_Rao_Unlocking Oracle Database Mysteries AHF Insights and the AI-LLM D...
Sandesh_Rao_Unlocking Oracle Database Mysteries AHF Insights and the AI-LLM D...
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
 
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
 
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
 
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
 
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
 
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
 
Will Oracle 23ai make you a better DBA or Developer?
Will Oracle 23ai make you a better DBA or Developer?Will Oracle 23ai make you a better DBA or Developer?
Will Oracle 23ai make you a better DBA or Developer?
Sandesh Rao
 
Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...
Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...
Beyond Metrics – Oracle AHF Insights for Proactive Database Management - DOAG...
Sandesh Rao
 
Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...
Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...
Sandesh_Rao_Navigating Oracle Troubleshooting- AHF Insights for Database 23ai...
Sandesh Rao
 
Sandesh_Rao_Unlocking Oracle Database Mysteries AHF Insights and the AI-LLM D...
Sandesh_Rao_Unlocking Oracle Database Mysteries AHF Insights and the AI-LLM D...Sandesh_Rao_Unlocking Oracle Database Mysteries AHF Insights and the AI-LLM D...
Sandesh_Rao_Unlocking Oracle Database Mysteries AHF Insights and the AI-LLM D...
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
 
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
 
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
 
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
 
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
 
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
 
Ad

Recently uploaded (20)

#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 

How to Use EXAchk Effectively to Manage Exadata Environments

  • 1. VP AIOps for the Autonomous Database Sandesh Rao #DOAG2021 How to Use EXAchk Effectively to Manage Exadata Environments @sandeshr https://www.linkedin.com/in/raosandesh/ https://www.slideshare.net/SandeshRao4
  • 2. What is AHF Compliance Checking Fault Detection Support Upload Fault Notification Diagnostic Collection 2 TFA Automatic issue detection, diagnostic collection and analysis along with a single interface for Database support tools 1 EXAchk Automatic compliance checking and warnings when drifting away from best practices as well as offering pre and post upgrade advice
  • 3. Install OEDA Dec 2019+: AHF is already installed in your base image Earlier versions either from RU or install from Doc 1070954.1 Installation and staying up to date Exacloud ECS installer One release behind latest Release Updates One release behind latest MOS Download Latest release Doc 1070954.1 Upgrade Upgrade Upgrade
  • 4. EXAchk Automatic proactive warnings before you’re impacted Results viewable in the tool of your choice Regular emails with check results Compliance checks for most impactful reoccurring problems No need to send anything to Oracle REDUCE YOUR RISK
  • 5. Oracle Stack Coverage Engineered Systems Oracle Exadata Database Machine Oracle SuperCluster Oracle Private Cloud Appliance Oracle Database Appliance Oracle Big Data Appliance Oracle Zero Data Loss Recovery Appliance Oracle ZFS Storage Appliance Systems Oracle Solaris Cross stack checks Solaris Cluster OVN ASR Oracle Database Autonomous Database Standalone Database Grid Infrastructure & RAC Maximum Availability Architecture (MAA) Scorecard Upgrade Readiness Validation Golden Gate Application Continuity Enterprise Manager Cloud Control Repository Agent OMS Middleware Oracle Identify and Access Management Suite (Oracle IAM) Oracle CRM Oracle Project Billing Siebel Database best practices PeopleSoft Database best practices SAP EXAdata best practices
  • 6. Performed as root user On one BM database server or domU/VM in Virtual deployment in the cluster: 1. Unzip the latest AHF installer 2. Run the installer: e.g.: ./ahf_setup -ahf_loc /opt -data_dir /u01/app/grid AHF will upgrade any previous versions of EXAchk and TFA found on the system Make sure you have enough room in /opt Upgrading AHF on Exadata Bare Metal or Virtual DomU unzip AHF-LINUX_<version>.zip ./ahf_setup -ahf_loc /opt -data_dir <ORACLE_BASE of Grid owner>
  • 7. Performed as root user On each database server Xen dom0/KVM Host in the cluster, perform the following steps: 1. Unzip the latest AHF installer 2. Run the installer: AHF will upgrade any previous versions of EXAchk and TFA found on the system After AHF is installed local to each database server, the TFA daemons will discover each other, typically within 5 to 10 minutes Make sure you have enough room in /opt Upgrading Exadata Dom0 (Xen or KVM) unzip AHF-LINUX_<version>.zip ./ahf_setup -ahf_loc /opt -silent -local -data_dir /opt
  • 8. Performed as root user On each database server in the cluster, perform the following steps: 1. Unzip the latest AHF installer 2. Run the installer: AHF will upgrade any previous versions of EXAchk and TFA found on the system After AHF is installed local to each database server, the TFA daemons will discover each other, typically within 5 to 10 minutes Make sure you have enough room in /opt Upgrading AHF on Exadata Cloud@Customer unzip AHF-LINUX_<version>.zip ./ahf_setup -ahf_loc /opt -silent -local -data_dir /u02
  • 9. ORAchk / EXAchk Collection Manager Enterprise Manager ELK Stack Architecture Options Health Checks Run Checks HTML Email Oracle Database Many Instances One Instance One Instance One Instance Oracle Database Elastic Search SQL Results XML JSON View enterprise-wide results via Collection Manager interface View enterprise-wide results via Enterprise Manager interface View enterprise-wide results via Kibana dashboards AHF Service One Instance Object Store View enterprise-wide results via AHF Service UI
  • 10. Building compliance with best practices Development methodology 1 Idea Reports from development, testing, support etc 2 Expert review Weekly meetings to review and test 3 MOS Note 757552.1 Published Exadata best practices 4 Default deployment Bake best practices back in to default deployment 5 ORAchk / EXAchk check Generation of new checks
  • 11. EXAchk Run automatically and monitor the diffs. In Virtualized Exadata, autoruns only on domU AUTOMATED (recommended) Run once a month, if in Virtualized Exadata, run on dom0, cells and switches ON-DEMAND Run before and after configuration changes CONFIGURATION Run before and after any planned software and hardware maintenance MAINTENANCE EXAchk compliance use cases
  • 12. Enterprise Manager EXAchk compliance checks are integrated into the OEM Compliance Check Framework Dashboards and Compliance Standards via the Engineered System plug-in AHF AHF EXAchk is integrated with other Oracle Health Check and compliance management software Cluster Verification Utility CVU checks are run: • During full EXAchk runs • In –profile preinstall • In -preupgrade AutoUpgrade Utility AutoUpgrade utility checks are run: • In -preupgrade DBSAT EXAchk is also integrated with DBSAT • In –profile security Integration
  • 13. If you need support -debug Run on-demand exachk Limit checks -profile One or more of 40+ different component focused check categories -preupgrade Helps you plan your upgrade -postupgrade Helps confirm a successful upgrade Limit targets -cells -clusternodes -ibswitches -dbnames Options
  • 14. TFA scheduler used to run EXAchk….results in reduced process overheads Critical checks automatically run once a day at 2am, can be changed with: exachk –id exachk.autostart_client_exatier1 –set “AUTORUN_SCHEDULE=minute hour day month day_of_week” Full checks run once a week at 3am Sunday, can be changed with: exachk –id exachk.autostart_client –set “AUTORUN_SCHEDULE=minute hour day month day_of_week” For example, to change Critical checks to run at 8am every Monday & Thursday use: exachk –id exachk.autostart_client_exatier1 –set “AUTORUN_SCHEDULE=* 8 * * 1,4” EXAchk now run via the TFA scheduler TFA Scheduler EXAchk
  • 15. 1. Proactive notification of compliance failures: exachk -set “[email protected] 2. Fault notification: tfactl set [email protected] 3. Database specific fault notification: tfactl set notificationAddress=<db_owner_name>:[email protected] 4. Optionally configure an SMTP server: tfactl set smtp 5. Confirm email notification work: tfactl sendmail <email_address> Configure email notification
  • 16. Store your MOS credentials securely in an encrypted wallet, ready for future upload: tfactl setupload –name mos_config –type https –url https://transport.oracle.com/upload/issue -proxy www-proxy.acme.com:80 -user [email protected] Configure MOS upload
  • 17. Upload your collection to MOS to get help from Oracle support with a single command: e.g: tfactl upload –name mos_config –id 3-123456789 –file my_TFA_collection.zip e.g: exachk –name mos_config –id 3-123456789 –zipfile my_exachk_coll.zip Upload to MOS tfactl upload –name mos_config –id <sr-number> –file <file-name> exachk –name mos_config –id <sr-number> –zipfile <file-name>
  • 18. Run as root (recommended) o ORAchk/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 Homeowner 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 or 4. Allow ORAchk/EXAchk to configure private keys for remote nodes Which User to Run 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_USER nm2user (when run as other user) Note: You may only choose from the provided lower privileged account Note: •On SuperCluster you can use Role Based Access Control (RBAC) to execute root privileged checks, no root user required. •root checks must be run as a user with a root equivalent access role •On Exalogic it is only supported to run as root
  • 19. EXAchk will: 1. Prompt for remote node password 2. Login to remote node and generate private and public key pair on remote node 3. Copy contents public key into the .ssh/authorized_keys file of remote node and delete the public key from remote node 4. Copy private key of remote node into local node and use as identity file to make future connections Alternatively, you can provide the private key file yourself Run: E.g.: This will generate the following key pair in the $HOME/.ssh/ directory: • id_dsa.myhost67.root (private key / Identity file) • id_dsa.myhost67.root.pub (Public key) Remote node connection without passwordless SSH ssh-keygen -f $HOME/.ssh/id_dsa.host.user -N '' ssh-keygen -f $HOME/.ssh/id_dsa.myhost67.user -N ''
  • 20. 1. TFA SECURE SOCKETS Easier setup of ORAchk and EXAchk access to remote Database servers Host 1 ORAchk / EXAchk TFA Host 2 ORAchk / EXAchk Secure socket TFA Host 3 ORAchk / EXAchk Secure socket TFA Used by EXAchk instead of passwordless SSH
  • 21. 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
  • 22. Diff overview Summary of this run vs previous Diff Output
  • 23. Differences between each run Diff Output
  • 24. • ORAchk_Health_Check_Catalog.html • EXAchk_Health_Check_Catalog.html • Contains all published checks • Filterable & searchable • Product Area / Engineered System • Profiles • Alert Level • Release Check Authored • Platforms • Privileged User • Look up check id without running report Health Check Catalog
  • 25. 1. Checks run against all database nodes in the cluster by default oTo specify only a subset of nodes use: oOnly local node: 2. Automatically discovers all databases and prompts for which should be checked oDo not prompt but run all checks on all discovered database: oDo not prompt and skip all database related checks: oOnly run checks against a subset of databases: oOnly run checks against a subset of PDBs: Database Checks –clusternodes <node_1>,<node_2> –localonly –dball –dbnone –dbnames <db_1>,<db_2> –pdbnames <pdb_1>,<pdb_2>
  • 26. Easier to stay up to date with Cluster Verification Utility checks ORAchk EXAchk CVU CVU ORAchk EXAchk FULLY INTEGRATED ORAchk/EXAchk will verify you have a relevant CVU version and if not, help in downloading one CVU checks are run by default when you run ORAchk or EXAchk No CVU checks: -excludecvu Only CVU checks: -cvuonly
  • 27. Temporary files will be created during execution Default location is $HOME 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 Root privilege checks run from root_orachk.sh or root_exachk.sh • If you want the root script in a different directory to RAT_TMPDIR use: RAT_ROOT_SH_DIR Temporary Working Directory export RAT_TMPDIR=<TEMP_DIR> <user> ALL=(root) NOPASSWD:<TEMPDIR>/root_[orachk|exachk].sh oracle ALL=(root) NOPASSWD:/mylocation/root_exachk.sh oracle ALL=(root) NOPASSWD:/tmp/root_orachk.sh export RAT_ROOT_SH_DIR=/mylocation
  • 28. Database collections are executed in parallel if possible 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 Parallel Execution –dbparallel <# slave processes> –dbparallelmax –dbserial
  • 29. Collections are typically of the format: [orachk|exachk]_<dbserver>_<database>_<date>_<timestamp>.html Tag collections so output contains another word to help differentiate it: [orachk|exachk]_<dbserver>_<database>_<date>_<timestamp>_<tag_name>.html Merge multiple reports into one with –merge and list of collection directories or zip files: Compare collections with –diff: Tagging, Merging & Comparing Reports –merge <collection_1>,<collection_2> –diff <collection_1>,<collection_2> –tag <tag_name>
  • 30. 1. 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 –profile <profile> –excludeprofile <profile>
  • 31. Create user defined profiles by providing a comma separated list of check ids: Once a user defined profile has been created, it can be modified: • This list of check_ids can contain both new checks to be added and existing checks to be removed, ORAchk/EXAchk will add/remove as necessary Delete a user defined profile: User defined profiles -createprofile <profile_name> <check_ids> -modifyprofile <profile_name> <check_ids> -deleteprofile <profile_name>
  • 32. 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 Run or exclude individual checks -check <check_id_1>,<check_id_2> –excludecheck <check_id_1>,<check_id_2>
  • 33. 1. Generate a health check report 2. Fix the issues identified 3. Generate another health check report verifying only the issues that failed before Only Run Checks that Previously Failed -failedchecks <previous_result>
  • 34. • Track changes to the attributes of important files with –fileattr – Looks at all files & directories within Grid Infrastructure and Database homes by default – The list of monitored directories and their contents can be configured to your specific requirements – Use –fileattr start to start the first snapshot Keep Track of Changes to the Attributes of Important Files $ ./orachk -fileattr start CRS stack is running and CRS_HOME is not set. Do you want to set CRS_HOME to /u01/app/11.2.0.4/grid?[y/n][y] Checking ssh user equivalency settings on all nodes in cluster Node mysrv22 is configured for ssh user equivalency for oradb user Node mysrv23 is configured for ssh user equivalency for oradb user List of directories(recursive) for checking file attributes: /u01/app/oradb/product/11.2.0/dbhome_11203 /u01/app/oradb/product/11.2.0/dbhome_11204 orachk has taken snapshot of file attributes for above directories at: /orahome/oradb/orachk/orachk_mysrv21_20170504_041214 ./orachk –fileattr start
  • 35. Include other directories with –includedir <directories> using a comma separated list of directories Keep Track of Changes to the Attributes of Important Files ./orachk –fileattr start includedir “/home/oradb,/etc/oatab” • Exclude the default discovered directories with –excludediscovery ./orachk –fileattr start includedir “/home/oradb,/etc/oatab” -excludediscovery
  • 36. Note: • Use the same arguments with check that you used with start • Will proceed to perform standard health checks after attribute checking • File Attribute Changes will also show in HTML report output Compare current attributes against first snapshot using –fileattr check Keep Track of Changes to the Attributes of Important Files $ ./orachk -fileattr check -includedir "/root/myapp/config" -excludediscovery CRS stack is running and CRS_HOME is not set. Do you want to set CRS_HOME to /u01/app/12.2.0/grid?[y/n][y] Checking for prompts on myserver18 for oragrid user... Checking ssh user equivalency settings on all nodes in cluster Node myserver17 is configured for ssh user equivalency for root user List of directories(recursive) for checking file attributes: /root/myapp/config Checking file attribute changes... . "/root/myapp/config/myappconfig.xml" is different: Baseline : 0644 oracle root /root/myapp/config/myappconfig.xml Current : 0644 root root /root/myapp/config/myappconfig.xml …etc …etc ./orachk –fileattr check • Results of snapshot comparison will also be shown in the HTML report output
  • 37. To prevent standard health checking after attribute checking add –fileattronly: To use a different snapshot baseline use –baseline: To remove all snapshot use –fileattr remove Keep Track of Changes to the Attributes of Important Files –fileattr check –fileattronly -fileattr check -baseline <snapshot> -fileattr remove
  • 38. ORAchk and EXAchk can encrypt the resulting collection zip file To use encryption add the option -encryptzip: e.g. • This will prompt for the password • Once the zip file is encrypted, the original zip and directory will be deleted To decrypt a zip use: Encrypted resulting zip file –profile dba -encryptzip –decryptzip <zip_filename> The encrypt/decrypt feature is only supported on Linux and Solaris platforms.
  • 39. ORAchk and EXAchk include full REST support, allowing invocation & query over HTTPS Oracle REST Data Services (ORDS) is included within the install To enable REST: 1. Start ORDS: 2. Start the daemon, using the -ords option: Start a full health check run by accessing the URL: https://<host>:7080/ords/tfaml/orachk/start_client Run specific profiles: https://<host>:7080/ords/tfaml/orachk/profile/<profile1>,<profile2> Run specific checks: https://<host>:7080/ords/tfaml/orachk/check/<check_id>,<check_id> Any request will return a job id, which can then be used to query: • Status: https://<host>:7080/ords/tfaml/orachk/status/<job_id> • Download result: https://<host>:7080/ords/tfaml/orachk/download/<job_id> REST Interface –ordssetup -d start -ords The standalone ORDS setup feature utilizes file-based user authentication and is provided solely for use in test and development environments. For production use, the included orachk.jar and ords.war should be deployed and configured.
  • 40. Oracle Health Check Collection Manager Dashboard
  • 41. Dashboard Filters Filter by Interval Filter by configurable business units Filter by systems Click on color coded area to drill down Filter by health score
  • 42. Most Failures & Warnings Click to see the recommendation details
  • 43. Most Failures Click to drill into failures
  • 44. Most Warnings Click to drill into warnings
  • 45. 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
  • 48. 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
  • 49. User Defined Checks • Have their own profile: user_defined_checks • Can be excluded: -excludeprofile user_defined_checks • Have their own section of the report -profile user_defined_checks • Can be run on their own: • Can have customized check names, pass and fail messages: <existing_check_code> echo "CUSTOM_CHECK_NAME=<customized_check_name>" >> CUSTOMIZE_CHECK_PARAMS echo "CUSTOM_PASS_MSG=<customized_pass_message>" >> CUSTOMIZE_CHECK_PARAMS echo "CUSTOM_FAIL_MSG=<customized_fail_message>" >> CUSTOMIZE_CHECK_PARAMS
  • 50. 1. First time installation done via the APEX workspace (5.x or higher) 2. Use the sql script applicable for your APEX version: • Eg APEX 5.x: Apex5_CollectionManager_App.sql 3. Follow Health Check Collection Manager installation in the User Guide 4. Login to Collection Manager Application via a URL like the following: http://hostname:port/apex/f?p=ApplicationID http://hostname:port/pls/apex/f?p=ApplicationID Collection Manager upgrade done from orachk / exachk: Will determine the APEX version you have and install the latest applicable Collection Manager app If the Collection Manager schema changes in the future then ORAchk will prompt for auto upgrade Setup -cmupgrade
  • 51. • Collection zip files are stored in the RCA13_DOCS table - already created during collection manager installation • Provide ORAchk details of where to upload collection results with –setdbupload all and complete prompts: • Get current values with -getdbupload: • Unset values with –unsetdbupload <parameter>: Collection Storage Table -setdbupload all –unsetdbupload RAT_UPLOAD_PASSWORD -getdbupload
  • 52. • Set all with: • Set specific variables by specifying comma separated list: • Unset all with • Check if variables are set correctly: Store DB Upload Variables in Wallet -setdbupload all -setdbupload RAT_UPLOAD_CONNECT_STRING,RAT_UPLOAD_PASSWORD -unsetdbupload all -checkdbupload Other Upload Parameters Not Set by default Description RAT_UPLOAD_USER The user to connect as (default is ORACHKCM) RAT_UPLOAD_TABLE The table name to store non-zipped collection results RAT_PATCH_UPLOAD_TABLE The table name to store non-zipped patch results RAT_UPLOAD_ORACLE_HOME The ORACLE_HOME used during establishing connection and uploading. (Uses GI HOME discovered by ORAchk by default) RAT_UPLOAD_TABLE & RAT_PATCH_UPLOAD_TABLE Only needed if you are using your own custom application to view collection results, rather than Collection Manager.
  • 53. 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
  • 54. After selected this will launch the provisioning wizard, choose the system type Use Enterprise Manager provisioning feature and select ORAchk/EXAchk Provision
  • 55. Drill into applicable standard and view individual checks & target status View Results by Compliance Standard Filter by Exachk%” Click individual checks for recommendation details
  • 56. JSON Output to Integrate with Kibana, Elastic Search etc • The JSON provides many tags to allow dashboard filtering based on facts such as: • Engineered System type • Engineered System version • Hardware type • Node name • OS version • Rack identifier • Rack type • Database version • And more... • Kibana can be used to view health check compliance across your data center • Results can also be filtered based on any combination of exposed system attributes
  • 57. 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. Message levels used 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 –set “AUTORUN_FLAGS=-syslog”
  • 58. Sensitive information can be hidden from diagnostics Machine learning algorithms determine sensitive data like: • Host names • IP addresses • MAC addresses • Oracle Database names • Tablespace names • Service names • Ports • Operating system user names Sanitize or mask sensitive information
  • 59. Add –sanitize or –mask to any command • –sanitize replaces a sensitive value with random characters • myhost123 >>>> JnsF3km9 • –mask replaces a sensitive value with a series of ‘X’ • myhost123 >>>> XXXXXXXX Sanitize or mask sensitive information
  • 60. Sanitized hostname Check ID tfactl orachk –preupgrade -sanitize
  • 61. Sanitized hostname Sanitized hostname tfactl orachk –preupgrade -sanitize
  • 62. tfactl orachk -rmap qzh024703246tsa1 TFA using ORAchk : /opt/oracle.ahf/orachk/orachk ___________________________________________________________________________ _____ | Entity Type | Substituted Entity Name | Original Entity Name | ___________________________________________________________________________ _____ | hostname | qzh024703246tsa1 | myserver1 | ___________________________________________________________________________ _____ Reverse map the sanitization
  • 64. Repair command Check ID Check ID Repair command
  • 65. Understand what the repair command will do with: Understand what the repair command does tfactl orachk -showrepair 8300E0A2FFE48253E053D298EB0A76CC TFA using ORAchk : /opt/oracle.ahf/orachk/orachk Repair Command: currentUserName=$(whoami) if [ "$currentUserName" = "root" ] then repair_report=$(rpm -e stix-fonts 2>&1) else repair_report="$currentUserName does not have priviedges to run $CRS_HOME/bin/crsctl set resource use 1" fi echo -e "$repair_report"
  • 66. Run the checks again and repair everything that fails Run the checks again and repair only the specified checks Run the checks again and repair all checks listed in the file Run the repair command tfactl orachk -repaircheck all tfactl orachk -repaircheck <check_id_1>,<check_id_2> tfactl orachk -repaircheck <file>
  • 67. ORAchk and EXAchk local language support INTERNATIONALIZATION of MESSAGES & REPORTS Spanish (es) German (de) French (fr) Italian (it) Japanese (ja) Korean (ko) Portuguese-Brazil (pt_BR) Simplified Chinese (zh_CN) Traditional Chinese (zh_TW) export RAT_LANG=es orachk export RAT_LANG={value}
  • 80. Thank You Any Questions ? Sandesh Rao VP AIOps for the Autonomous Database @sandeshr https://www.linkedin.com/in/raosandesh/ https://www.slideshare.net/SandeshRao4