SlideShare a Scribd company logo
09. – 12.12.2019
Frankfurt am Main
#ittage
OraChk
Markus Flechtner
DB-configuration-check and -management
www.markusdba.net|.de
@markusdba
OraChk
Database Configuration-Check and -Management
Markus Flechtner
Markus Flechtner
• Principal Consultant, Trivadis, Düsseldorf
• Oracle since 1990: Development, Support, DBA
• Focus: RAC, HA, Upgrade + Migration
• Teacher: RAC, New Features, Multitenant,
PostgreSQL
• Co-Author of the book "Der Oracle DBA"
(Hanser, 2016)
@markusdba www.markusdba.net|.de
17.05.2022 OraChk - Database Configuration -Check and -Management
Agenda
• What's OraChk?
• Availability & Installation
• Configuration Check
• Collection Manager
• Add your own checks
• Summary & Further Information
17.05.2022 OraChk - Database Configuration -Check and -Management
What's OraChk?
17.05.2022 OraChk - Database Configuration -Check and -Management
Introduction
• Available since July 2011
• Current version 19.3.2 (November 2019)
• Formerly known as "RACCheck"
• Supported on Unix, Linux and Windows
• Checks your installation against more than 1.300 Oracle Best Practices
• Audit_Checks_Report_Orachk.html contains a list of all checks
• Additional user defined checks are possible
• ExaChk is a similar tool for Exadata
• Python based
17.05.2022 OraChk - Database Configuration -Check and -Management
OraChk includes checks for ..
• Oracle Database
• Single-instance Oracle Database
• Oracle Grid Infrastructure and Oracle RAC
• Maximum Availability Architecture (MAA) validation
• Upgrade Readiness validation
• Oracle GoldenGate
• Application Continuity
• Oracle Engineered Systems (=ExaChk)
• Oracle Database Appliance
• Enterprise Manager Cloud Control (12c only)
• Oracle Identity and Access Management
• Oracle Hardware Systems
• Oracle Siebel
• Oracle PeopleSoft
17.05.2022 OraChk - Database Configuration -Check and -Management
Demo
(show list of predefined checks)
ORAchk_Health_Check_Catalog.html
Example Report (1)
17.05.2022 OraChk - Database Configuration -Check and -Management
Example Report (2) -Details
17.05.2022 OraChk - Database Configuration -Check and -Management
Availability & Installation
17.05.2022 OraChk - Database Configuration -Check and -Management
Availability– Levels of Confusion
• OraChk is available
• As part of an RDBMS software installation ($ORACLE_HOME/suptools/orachk)
• As part of an GI software installation ($GI_HOME/suptools/orachk)
• As part of the "Autonomous Health Framework" (AHF) – since October 2019
• OraChk was available
• As standalone download
• As part of the "Support Tools Bundle" (delivered with TFA)
• Current version:
• 19.3.2 (as part of AHF)
• 19.2.0_20190717 (when upgrading the "RDBMS orachk")
– no higher version available
17.05.2022 OraChk - Database Configuration -Check and -Management
} Now included in AHF
• When started, OraChk checks its age and can install (and even download) a new version
oracle@ittage:/u00/app/oracle/product/19.0.0.0/suptools/orachk/ [rdbms19000] ./orachk
Running orachk
[..]
This version of orachk was released on 29-Nov-2018 and its older than 180 days. No new
version of orachk is available in RAT_UPGRADE_LOC. It is highly recommended that you
download the latest version of orachk from my oracle support to ensure the highest
level of accuracy of the data contained within the report.
Do you want to download latest version from my oracle support? [y/n] [y] y
Enter your my oracle support username:- markus.flechtner@trivadis.com
Enter your my oracle support password:-
Started downloading...
orachk.zip is successfully downloaded to /u00/app/oracle/orachk//orachk_112719_224034/
location!
Do you want to upgrade to the latest version of orachk? [y/n][y]
[..]
Upgrade (when part of the RDBMS-SW)
17.05.2022 OraChk - Database Configuration -Check and -Management
• Install OraChk only
• Autonomous Health Framework (AHF) consists of
• OraChk
• TFA + Support Tools Bundle
• Its own JRE (for TFA)
• Install complete Autonomous Health Framework (about 1 GB diskspace required)
• Installation as root recommended
root# ./ahf_setup
oracle> ./ahf_setup -extract orachk
Installation(AHF) (1)
17.05.2022 OraChk - Database Configuration -Check and -Management
Separate talk
Why?
• During the installation you have to specify
• The location of the AHF software ($AHF_HOME, default /opt/oracle.ahf)
• The location of the results (reports etc.) – 5 GB free disk space required
• Executables in $AHF_HOME/bin:
root@ittage:/opt/oracle.ahf/bin/ [rdbms19000] ls -al
total 8
drwxr-xr-x. 2 root root 34 Nov 27 23:46 .
drwxr-xr-x. 11 root root 4096 Nov 27 23:46 ..
lrwxrwxrwx. 1 root root 29 Nov 27 23:46 orachk ->
/opt/oracle.ahf/orachk/orachk
-rwxr-xr-x. 1 root root 3296 Nov 27 23:46 tfactl
Installation(AHF) (2)
17.05.2022 OraChk - Database Configuration -Check and -Management
• Orachk can run in "daemon mode" and can perform regular checks automatically
root@ittage:/opt/oracle.ahf/bin/ [rdbms19000] ./orachk -d -h
-d
Used for daemon related options.
Eg:
./orachk -d start : Starts the daemon
./orachk -d stop : Stops the daemon
./orachk -d info : Displays details about the
daemon. [...]
./orachk -d stop_client : Forces a running daemon
client to stop.
./orachk -d nextautorun : Displays details about when
the next scheduled automatic run occurs.
./orachk -d status : Checks the current status
[...]
Daemon Mode (1)
17.05.2022 OraChk - Database Configuration -Check and -Management
root@ittage:/opt/oracle.ahf/bin/ [rdbms19000] ./orachk -d start
This computer is for [S]ingle instance database or part of a [C]luster to
run RAC database [S|C] [C]: S
[ ... perform a "manual run" for daemon configuration]
orachk daemon is started with PID : 4104
Daemon log file location is :
/opt/oracle.ahf/data/ittage/orachk/orachk_daemon.log
root@ittage:/opt/oracle.ahf/bin/ [rdbms19000] ./orachk -d status
orachk daemon is running. Daemon PID: 4104
root@ittage:/opt/oracle.ahf/bin/ [rdbms19000] ps -af |grep 4104
root 4104 1 1 08:24 pts/0 00:00:08
/opt/oracle.ahf/python/bin/python /opt/oracle.ahf/orachk/orachk.pyc -
start_scheduler -scheduler_daemon 1
Daemon Mode (2) -Example
17.05.2022 OraChk - Database Configuration -Check and -Management
• Among other settings, the schedule for the automated checks can be specified with a
crontab-like syntax
• Format:
• Minute
• Hour
• Day
• Month
• Day of Week
• Example: (2 AM every Saturday)
root@ittage:/ ./orachk –set "AUTORUN_SCHEDULE=0 2 * * 6"
Daemon Mode (3) – Define Schedule
17.05.2022 OraChk - Database Configuration -Check and -Management
Configuration Check
17.05.2022 OraChk - Database Configuration -Check and -Management
• Running as "root" recommended,
• "oracle" cannot perform all checks
root@ittage:/home/oracle/ [rdbms19000] /opt/oracle.ahf/bin/orachk
This computer is for [S]ingle instance database or part of a [C]luster to run RAC database [S|C] [C]: S
List of running databases
1. CITTAGE
2. None of above
Select databases from list for checking best practices. For multiple databases, select 1 for All or
comma separated number like 1,2 etc [1-2][1]. 1
Checking Status of Oracle Software Stack - Clusterware, ASM, RDBMS
-------------------------------------------------------------------------------------------------------
Oracle Stack Status
-------------------------------------------------------------------------------------------------------
Host Name CRS Installed ASM HOME RDBMS Installed CRS UP ASM UP RDBMS UP DB
Instance Name
-------------------------------------------------------------------------------------------------------
ittage No No Yes No No Yes
CITTAGE
-------------------------------------------------------------------------------------------------------
Run a ManualCheck (1)
17.05.2022 OraChk - Database Configuration -Check and -Management
[…]
Collecting - Database Parameters for CITTAGE database
Collecting - Database Undocumented Parameters for CITTAGE database
Collecting - RDBMS Feature Usage for CITTAGE database
Collecting - CPU Information
Collecting - Disk I/O Scheduler on Linux
Collecting - DiskMount Information
Collecting - Kernel parameters
Collecting - Maximum number of semaphore sets on system
Collecting - Maximum number of semaphores on system
Collecting - Maximum number of semaphores per semaphore set
Collecting - Memory Information
Collecting - OS Packages
Collecting - Operating system release information and kernel version
Collecting - Patches for RDBMS Home
Collecting - Table of file system defaults
Collecting - number of semaphore operations per semop system call
Collecting - Disk Information
Collecting - ORAchk Daemon/Scheduler configuration
Collecting - Root user limits
Collecting - Verify no database server kernel out of memory errors
[…]
Run a ManualCheck (2)
17.05.2022 OraChk - Database Configuration -Check and -Management
Run a ManualCheck (3)
17.05.2022 OraChk - Database Configuration -Check and -Management
Demo
(show result of OraChk)
orachk_ittage_PITTAGE2_112719_224034.html
Run a ManualCheck – CLI options (excerpt)
17.05.2022 OraChk - Database Configuration -Check and -Management
Parameter meaning
-a run all checks
-m Disable MAA checks
-preupgrade /
-postupgrade
Run pre-/post upgrade checks
(use additional "-t" to specify the target version)
-b Best-Practices Checks only, no patch recommendations
-p Patch recommendations only
-dball
-dbnames
run checks for all databases
run check for a specific database
-diff compare two orachk reports
-profile choose the component you want to check "asm, dba, goldengate, .." and more
Collection Manager
17.05.2022 OraChk - Database Configuration -Check and -Management
Collection Manager (Overview)
• ORAchk results can be stored in a repository database
• Collection Manager is a GUI for the repository database
• APEX 5 (or higher) application
• "Apex5_CollectionManager_App.sql" is included with OraChk to install the APEX application
• The database running Collection Manager must be licensed
• But you can use Oracle XE (Oracle Database 18c Express Edition)
17.05.2022 OraChk - Database Configuration -Check and -Management
Collection Manager – Features
• Status Overview for all databases
• Compare different databases
• Compare different OraChk runs of a single database
• Create additional checks
• Define profiles (= customized set of checks)
• Create incidents (i.e. tasks resulting on OraChk results)
17.05.2022 OraChk - Database Configuration -Check and -Management
oracle@ittage:/u00/app/oracle/ ./orachk -setdbupload all
Running orachk
----------------------------------------------------------
PATH : /u00/app/oracle/product/19.0.0.0/suptools/orachk
VERSION : 19.2.0_20190717
COLLECTIONS DATA LOCATION : /u00/app/oracle/orachk/
----------------------------------------------------------
Enter value for RAT_UPLOAD_CONNECT_STRING: 192.168.1.113:1521/apexpdb
Enter value for RAT_UPLOAD_PASSWORD: ******
Database upload parameters successfully stored in orachk wallet. Run will keep
uploading the collections in database until it is unset using ./orachk -unsetdbupload
all/<env variable name>
oracle@ittage:/u00/app/oracle/ [CITTAGE] ./orachk -checkdbupload
Running orachk
----------------------------------------------------------
PATH : /u00/app/oracle/product/19.0.0.0/suptools/orachk
VERSION : 19.2.0_20190717
COLLECTIONS DATA LOCATION : /u00/app/oracle/orachk/
----------------------------------------------------------
Configuration is good to upload result to database.
Configure Database Upload for OraChk
17.05.2022 OraChk - Database Configuration -Check and -Management
Collection Manager – Screenshots (1)
17.05.2022 OraChk - Database Configuration -Check and -Management
Collection Manager – Screenshots (2)
17.05.2022 OraChk - Database Configuration -Check and -Management
Collection Manager – Screenshots (3)
17.05.2022 OraChk - Database Configuration -Check and -Management
Collection Manager – Screenshots (4)
17.05.2022 OraChk - Database Configuration -Check and -Management
Collection Manager – Administration
17.05.2022 OraChk - Database Configuration -Check and -Management
Add your own checks
17.05.2022 OraChk - Database Configuration -Check and -Management
Additional Checks for OraChk (1)
• You can configure the checks
• Disable Checks
• Add your own checks to OraChk
• But modifying existing checks (e.g. changing thresholds) is not possible
• Collection Manager is the easiest way to do so
• After defining new checks you have to download ""user_defined_checks.xml" and to
distribute it to the servers
• Run "orachk –profile user_defined_checks" to restrict OraChk on your own checks
17.05.2022 OraChk - Database Configuration -Check and -Management
Additional Checks for OraChk (2)
17.05.2022 OraChk - Database Configuration -Check and -Management
Summary
&
Further Information
17.05.2022 OraChk - Database Configuration -Check and -Management
Summary
+ Helpful tool for checking your Oracle configuration
+ Don't take every check for relevant
+ Don't expect your systems to achieve "100 of 100 points"
+ Collection Manager
+ Simple configuration management/monitoring
+ Basic "ticket system"
 Orachk once was a cute, small and efficient tool but, …
 Very dynamic
• Between October and December 3 versions (AHF 19.3.0, 19.3.1 and 19.3.2) were released
 Very confusing
• Different ways to install the tool and to keep it up to date
• Orachk is delivered with the RDBMS software but not upgraded with RUs
• "RDBMS OraChk" seems to be a dead end
17.05.2022 OraChk - Database Configuration -Check and -Management
Further Information
• MOS-Notes
• ORAchk - Health Checks for the Oracle Stack (Doc ID 1268927.2)
• Oracle Exadata Database Machine EXAchk or HealthCheck (Doc ID 1070954.1)
• ORAchk Upgrade Readiness Assessment (Doc ID 1457357.1)
• How to Install ORAchk on Windows (Doc ID 2414394.1)
• Autonomous Health Framework (AHF) - Including TFA and ORAchk/EXAChk (Doc ID 2550798.1)
• Documentation
• https://docs.oracle.com/en/engineered-systems/health-diagnostics/autonomous-health-
framework/
• Article
• https://www.informatik-aktuell.de/betrieb/datenbanken/oracle-orachk-
konfigurationspruefung-und-management.html
17.05.2022 OraChk - Database Configuration -Check and -Management
Questions & Answers
Markus Flechtner
markus.flechtner@trivadis.com
Phone +49 211 5866 64725
@markusdba www.markusdba.net|.de
Mirko Hotzy
• Solution Unit Manager
Carl Pfaffenberger
Account Manager - Sales
Weitere Fragen oder Interesse an Trivadis?
Gerne stehen wir für Sie im Foyer zur Verfügung!
OraChk

More Related Content

Similar to OraChk

Expert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACExpert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RAC
SolarWinds
 
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Bobby Curtis
 
les01.pdf
les01.pdfles01.pdf
les01.pdf
VAMSICHOWDARY61
 
MIgrating to RAC using Dataguard
MIgrating to RAC  using Dataguard MIgrating to RAC  using Dataguard
MIgrating to RAC using Dataguard
Fuad Arshad
 
#WeSpeakLinux Session
#WeSpeakLinux Session#WeSpeakLinux Session
#WeSpeakLinux Session
Kellyn Pot'Vin-Gorman
 
OGG Architecture Performance
OGG Architecture PerformanceOGG Architecture Performance
OGG Architecture Performance
Enkitec
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
Satishbabu Gunukula
 
(Re)Indexing Large Repositories in Alfresco
(Re)Indexing Large Repositories in Alfresco(Re)Indexing Large Repositories in Alfresco
(Re)Indexing Large Repositories in Alfresco
Angel Borroy López
 
RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)
Gustavo Rene Antunez
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
Francisco Alvarez
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0
Santosh Kangane
 
Introduction to Apache Spark :: Lagos Scala Meetup session 2
Introduction to Apache Spark :: Lagos Scala Meetup session 2 Introduction to Apache Spark :: Lagos Scala Meetup session 2
Introduction to Apache Spark :: Lagos Scala Meetup session 2
Olalekan Fuad Elesin
 
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
 
Trivadis TechEvent 2016 Analyzing Oracle related issues using TFACTL by Raine...
Trivadis TechEvent 2016 Analyzing Oracle related issues using TFACTL by Raine...Trivadis TechEvent 2016 Analyzing Oracle related issues using TFACTL by Raine...
Trivadis TechEvent 2016 Analyzing Oracle related issues using TFACTL by Raine...
Trivadis
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
Guatemala User Group
 
Take your database source code and data under control
Take your database source code and data under controlTake your database source code and data under control
Take your database source code and data under control
Marcin Przepiórowski
 
Oracle Fusion Middleware provisioning with Puppet
Oracle Fusion Middleware provisioning with PuppetOracle Fusion Middleware provisioning with Puppet
Oracle Fusion Middleware provisioning with Puppet
Edwin Biemond
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
mengjiagou
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture Performance
Enkitec
 
Oracle DBA
Oracle DBAOracle DBA
Oracle DBA
shivankuniversity
 

Similar to OraChk (20)

Expert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACExpert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RAC
 
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
 
les01.pdf
les01.pdfles01.pdf
les01.pdf
 
MIgrating to RAC using Dataguard
MIgrating to RAC  using Dataguard MIgrating to RAC  using Dataguard
MIgrating to RAC using Dataguard
 
#WeSpeakLinux Session
#WeSpeakLinux Session#WeSpeakLinux Session
#WeSpeakLinux Session
 
OGG Architecture Performance
OGG Architecture PerformanceOGG Architecture Performance
OGG Architecture Performance
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
 
(Re)Indexing Large Repositories in Alfresco
(Re)Indexing Large Repositories in Alfresco(Re)Indexing Large Repositories in Alfresco
(Re)Indexing Large Repositories in Alfresco
 
RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0
 
Introduction to Apache Spark :: Lagos Scala Meetup session 2
Introduction to Apache Spark :: Lagos Scala Meetup session 2 Introduction to Apache Spark :: Lagos Scala Meetup session 2
Introduction to Apache Spark :: Lagos Scala Meetup session 2
 
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
 
Trivadis TechEvent 2016 Analyzing Oracle related issues using TFACTL by Raine...
Trivadis TechEvent 2016 Analyzing Oracle related issues using TFACTL by Raine...Trivadis TechEvent 2016 Analyzing Oracle related issues using TFACTL by Raine...
Trivadis TechEvent 2016 Analyzing Oracle related issues using TFACTL by Raine...
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
 
Take your database source code and data under control
Take your database source code and data under controlTake your database source code and data under control
Take your database source code and data under control
 
Oracle Fusion Middleware provisioning with Puppet
Oracle Fusion Middleware provisioning with PuppetOracle Fusion Middleware provisioning with Puppet
Oracle Fusion Middleware provisioning with Puppet
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture Performance
 
Oracle DBA
Oracle DBAOracle DBA
Oracle DBA
 

More from Markus Flechtner

My SYSAUX tablespace is full, please
My SYSAUX tablespace is full, pleaseMy SYSAUX tablespace is full, please
My SYSAUX tablespace is full, please
Markus Flechtner
 
Rolle Rückwärts - Backported Features in Oracle Database 19c
Rolle Rückwärts - Backported Features in Oracle Database 19cRolle Rückwärts - Backported Features in Oracle Database 19c
Rolle Rückwärts - Backported Features in Oracle Database 19c
Markus Flechtner
 
Oracle vs. PostgreSQL - Unterschiede in 45 Minuten
Oracle vs. PostgreSQL - Unterschiede in 45 MinutenOracle vs. PostgreSQL - Unterschiede in 45 Minuten
Oracle vs. PostgreSQL - Unterschiede in 45 Minuten
Markus Flechtner
 
Container Only - Neue Features für Multitenant in Oracle 21c
Container Only - Neue Features für Multitenant in Oracle 21cContainer Only - Neue Features für Multitenant in Oracle 21c
Container Only - Neue Features für Multitenant in Oracle 21c
Markus Flechtner
 
Oracle Datenbank-Architektur
Oracle Datenbank-ArchitekturOracle Datenbank-Architektur
Oracle Datenbank-Architektur
Markus Flechtner
 
Wie kommt der Client zur Datenbank?
Wie kommt der Client zur Datenbank?Wie kommt der Client zur Datenbank?
Wie kommt der Client zur Datenbank?
Markus Flechtner
 
TFA - Trace File Analyzer Collector
TFA - Trace File Analyzer CollectorTFA - Trace File Analyzer Collector
TFA - Trace File Analyzer Collector
Markus Flechtner
 
High Availability for Oracle SE2
High Availability for Oracle SE2High Availability for Oracle SE2
High Availability for Oracle SE2
Markus Flechtner
 
My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please help
Markus Flechtner
 
Datenbank-Hausputz für Einsteiger
Datenbank-Hausputz für EinsteigerDatenbank-Hausputz für Einsteiger
Datenbank-Hausputz für Einsteiger
Markus Flechtner
 
Should I stay or should I go?
Should I stay or should I go?Should I stay or should I go?
Should I stay or should I go?
Markus Flechtner
 
Privilege Analysis with the Oracle Database
Privilege Analysis with the Oracle DatabasePrivilege Analysis with the Oracle Database
Privilege Analysis with the Oracle Database
Markus Flechtner
 
New Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cNew Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21c
Markus Flechtner
 
Oracle - Checklist for performance issues
Oracle - Checklist for performance issuesOracle - Checklist for performance issues
Oracle - Checklist for performance issues
Markus Flechtner
 
Einführung in den SQL-Developer
Einführung in den SQL-DeveloperEinführung in den SQL-Developer
Einführung in den SQL-Developer
Markus Flechtner
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection Issues
Markus Flechtner
 
Checklist for Upgrades and Migrations
Checklist for Upgrades and MigrationsChecklist for Upgrades and Migrations
Checklist for Upgrades and Migrations
Markus Flechtner
 
Codd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Codd & ACID - ein Ausflug in die Datenbank-Theorie und GeschichteCodd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Codd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Markus Flechtner
 
Datenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-DictionaryDatenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Markus Flechtner
 
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Markus Flechtner
 

More from Markus Flechtner (20)

My SYSAUX tablespace is full, please
My SYSAUX tablespace is full, pleaseMy SYSAUX tablespace is full, please
My SYSAUX tablespace is full, please
 
Rolle Rückwärts - Backported Features in Oracle Database 19c
Rolle Rückwärts - Backported Features in Oracle Database 19cRolle Rückwärts - Backported Features in Oracle Database 19c
Rolle Rückwärts - Backported Features in Oracle Database 19c
 
Oracle vs. PostgreSQL - Unterschiede in 45 Minuten
Oracle vs. PostgreSQL - Unterschiede in 45 MinutenOracle vs. PostgreSQL - Unterschiede in 45 Minuten
Oracle vs. PostgreSQL - Unterschiede in 45 Minuten
 
Container Only - Neue Features für Multitenant in Oracle 21c
Container Only - Neue Features für Multitenant in Oracle 21cContainer Only - Neue Features für Multitenant in Oracle 21c
Container Only - Neue Features für Multitenant in Oracle 21c
 
Oracle Datenbank-Architektur
Oracle Datenbank-ArchitekturOracle Datenbank-Architektur
Oracle Datenbank-Architektur
 
Wie kommt der Client zur Datenbank?
Wie kommt der Client zur Datenbank?Wie kommt der Client zur Datenbank?
Wie kommt der Client zur Datenbank?
 
TFA - Trace File Analyzer Collector
TFA - Trace File Analyzer CollectorTFA - Trace File Analyzer Collector
TFA - Trace File Analyzer Collector
 
High Availability for Oracle SE2
High Availability for Oracle SE2High Availability for Oracle SE2
High Availability for Oracle SE2
 
My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please help
 
Datenbank-Hausputz für Einsteiger
Datenbank-Hausputz für EinsteigerDatenbank-Hausputz für Einsteiger
Datenbank-Hausputz für Einsteiger
 
Should I stay or should I go?
Should I stay or should I go?Should I stay or should I go?
Should I stay or should I go?
 
Privilege Analysis with the Oracle Database
Privilege Analysis with the Oracle DatabasePrivilege Analysis with the Oracle Database
Privilege Analysis with the Oracle Database
 
New Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cNew Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21c
 
Oracle - Checklist for performance issues
Oracle - Checklist for performance issuesOracle - Checklist for performance issues
Oracle - Checklist for performance issues
 
Einführung in den SQL-Developer
Einführung in den SQL-DeveloperEinführung in den SQL-Developer
Einführung in den SQL-Developer
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection Issues
 
Checklist for Upgrades and Migrations
Checklist for Upgrades and MigrationsChecklist for Upgrades and Migrations
Checklist for Upgrades and Migrations
 
Codd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Codd & ACID - ein Ausflug in die Datenbank-Theorie und GeschichteCodd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Codd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
 
Datenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-DictionaryDatenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
 
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
 

Recently uploaded

Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
Edge AI and Vision Alliance
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 

Recently uploaded (20)

Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 

OraChk

  • 1. 09. – 12.12.2019 Frankfurt am Main #ittage OraChk Markus Flechtner DB-configuration-check and -management
  • 3. Markus Flechtner • Principal Consultant, Trivadis, Düsseldorf • Oracle since 1990: Development, Support, DBA • Focus: RAC, HA, Upgrade + Migration • Teacher: RAC, New Features, Multitenant, PostgreSQL • Co-Author of the book "Der Oracle DBA" (Hanser, 2016) @markusdba www.markusdba.net|.de
  • 4. 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 5.
  • 6. Agenda • What's OraChk? • Availability & Installation • Configuration Check • Collection Manager • Add your own checks • Summary & Further Information 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 7. What's OraChk? 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 8. Introduction • Available since July 2011 • Current version 19.3.2 (November 2019) • Formerly known as "RACCheck" • Supported on Unix, Linux and Windows • Checks your installation against more than 1.300 Oracle Best Practices • Audit_Checks_Report_Orachk.html contains a list of all checks • Additional user defined checks are possible • ExaChk is a similar tool for Exadata • Python based 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 9. OraChk includes checks for .. • Oracle Database • Single-instance Oracle Database • Oracle Grid Infrastructure and Oracle RAC • Maximum Availability Architecture (MAA) validation • Upgrade Readiness validation • Oracle GoldenGate • Application Continuity • Oracle Engineered Systems (=ExaChk) • Oracle Database Appliance • Enterprise Manager Cloud Control (12c only) • Oracle Identity and Access Management • Oracle Hardware Systems • Oracle Siebel • Oracle PeopleSoft 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 10. Demo (show list of predefined checks) ORAchk_Health_Check_Catalog.html
  • 11. Example Report (1) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 12. Example Report (2) -Details 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 13. Availability & Installation 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 14. Availability– Levels of Confusion • OraChk is available • As part of an RDBMS software installation ($ORACLE_HOME/suptools/orachk) • As part of an GI software installation ($GI_HOME/suptools/orachk) • As part of the "Autonomous Health Framework" (AHF) – since October 2019 • OraChk was available • As standalone download • As part of the "Support Tools Bundle" (delivered with TFA) • Current version: • 19.3.2 (as part of AHF) • 19.2.0_20190717 (when upgrading the "RDBMS orachk") – no higher version available 17.05.2022 OraChk - Database Configuration -Check and -Management } Now included in AHF
  • 15. • When started, OraChk checks its age and can install (and even download) a new version oracle@ittage:/u00/app/oracle/product/19.0.0.0/suptools/orachk/ [rdbms19000] ./orachk Running orachk [..] This version of orachk was released on 29-Nov-2018 and its older than 180 days. No new version of orachk is available in RAT_UPGRADE_LOC. It is highly recommended that you download the latest version of orachk from my oracle support to ensure the highest level of accuracy of the data contained within the report. Do you want to download latest version from my oracle support? [y/n] [y] y Enter your my oracle support username:- markus.flechtner@trivadis.com Enter your my oracle support password:- Started downloading... orachk.zip is successfully downloaded to /u00/app/oracle/orachk//orachk_112719_224034/ location! Do you want to upgrade to the latest version of orachk? [y/n][y] [..] Upgrade (when part of the RDBMS-SW) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 16. • Install OraChk only • Autonomous Health Framework (AHF) consists of • OraChk • TFA + Support Tools Bundle • Its own JRE (for TFA) • Install complete Autonomous Health Framework (about 1 GB diskspace required) • Installation as root recommended root# ./ahf_setup oracle> ./ahf_setup -extract orachk Installation(AHF) (1) 17.05.2022 OraChk - Database Configuration -Check and -Management Separate talk Why?
  • 17. • During the installation you have to specify • The location of the AHF software ($AHF_HOME, default /opt/oracle.ahf) • The location of the results (reports etc.) – 5 GB free disk space required • Executables in $AHF_HOME/bin: root@ittage:/opt/oracle.ahf/bin/ [rdbms19000] ls -al total 8 drwxr-xr-x. 2 root root 34 Nov 27 23:46 . drwxr-xr-x. 11 root root 4096 Nov 27 23:46 .. lrwxrwxrwx. 1 root root 29 Nov 27 23:46 orachk -> /opt/oracle.ahf/orachk/orachk -rwxr-xr-x. 1 root root 3296 Nov 27 23:46 tfactl Installation(AHF) (2) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 18. • Orachk can run in "daemon mode" and can perform regular checks automatically root@ittage:/opt/oracle.ahf/bin/ [rdbms19000] ./orachk -d -h -d Used for daemon related options. Eg: ./orachk -d start : Starts the daemon ./orachk -d stop : Stops the daemon ./orachk -d info : Displays details about the daemon. [...] ./orachk -d stop_client : Forces a running daemon client to stop. ./orachk -d nextautorun : Displays details about when the next scheduled automatic run occurs. ./orachk -d status : Checks the current status [...] Daemon Mode (1) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 19. root@ittage:/opt/oracle.ahf/bin/ [rdbms19000] ./orachk -d start This computer is for [S]ingle instance database or part of a [C]luster to run RAC database [S|C] [C]: S [ ... perform a "manual run" for daemon configuration] orachk daemon is started with PID : 4104 Daemon log file location is : /opt/oracle.ahf/data/ittage/orachk/orachk_daemon.log root@ittage:/opt/oracle.ahf/bin/ [rdbms19000] ./orachk -d status orachk daemon is running. Daemon PID: 4104 root@ittage:/opt/oracle.ahf/bin/ [rdbms19000] ps -af |grep 4104 root 4104 1 1 08:24 pts/0 00:00:08 /opt/oracle.ahf/python/bin/python /opt/oracle.ahf/orachk/orachk.pyc - start_scheduler -scheduler_daemon 1 Daemon Mode (2) -Example 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 20. • Among other settings, the schedule for the automated checks can be specified with a crontab-like syntax • Format: • Minute • Hour • Day • Month • Day of Week • Example: (2 AM every Saturday) root@ittage:/ ./orachk –set "AUTORUN_SCHEDULE=0 2 * * 6" Daemon Mode (3) – Define Schedule 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 21. Configuration Check 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 22. • Running as "root" recommended, • "oracle" cannot perform all checks root@ittage:/home/oracle/ [rdbms19000] /opt/oracle.ahf/bin/orachk This computer is for [S]ingle instance database or part of a [C]luster to run RAC database [S|C] [C]: S List of running databases 1. CITTAGE 2. None of above Select databases from list for checking best practices. For multiple databases, select 1 for All or comma separated number like 1,2 etc [1-2][1]. 1 Checking Status of Oracle Software Stack - Clusterware, ASM, RDBMS ------------------------------------------------------------------------------------------------------- Oracle Stack Status ------------------------------------------------------------------------------------------------------- Host Name CRS Installed ASM HOME RDBMS Installed CRS UP ASM UP RDBMS UP DB Instance Name ------------------------------------------------------------------------------------------------------- ittage No No Yes No No Yes CITTAGE ------------------------------------------------------------------------------------------------------- Run a ManualCheck (1) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 23. […] Collecting - Database Parameters for CITTAGE database Collecting - Database Undocumented Parameters for CITTAGE database Collecting - RDBMS Feature Usage for CITTAGE database Collecting - CPU Information Collecting - Disk I/O Scheduler on Linux Collecting - DiskMount Information Collecting - Kernel parameters Collecting - Maximum number of semaphore sets on system Collecting - Maximum number of semaphores on system Collecting - Maximum number of semaphores per semaphore set Collecting - Memory Information Collecting - OS Packages Collecting - Operating system release information and kernel version Collecting - Patches for RDBMS Home Collecting - Table of file system defaults Collecting - number of semaphore operations per semop system call Collecting - Disk Information Collecting - ORAchk Daemon/Scheduler configuration Collecting - Root user limits Collecting - Verify no database server kernel out of memory errors […] Run a ManualCheck (2) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 24. Run a ManualCheck (3) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 25. Demo (show result of OraChk) orachk_ittage_PITTAGE2_112719_224034.html
  • 26. Run a ManualCheck – CLI options (excerpt) 17.05.2022 OraChk - Database Configuration -Check and -Management Parameter meaning -a run all checks -m Disable MAA checks -preupgrade / -postupgrade Run pre-/post upgrade checks (use additional "-t" to specify the target version) -b Best-Practices Checks only, no patch recommendations -p Patch recommendations only -dball -dbnames run checks for all databases run check for a specific database -diff compare two orachk reports -profile choose the component you want to check "asm, dba, goldengate, .." and more
  • 27. Collection Manager 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 28. Collection Manager (Overview) • ORAchk results can be stored in a repository database • Collection Manager is a GUI for the repository database • APEX 5 (or higher) application • "Apex5_CollectionManager_App.sql" is included with OraChk to install the APEX application • The database running Collection Manager must be licensed • But you can use Oracle XE (Oracle Database 18c Express Edition) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 29. Collection Manager – Features • Status Overview for all databases • Compare different databases • Compare different OraChk runs of a single database • Create additional checks • Define profiles (= customized set of checks) • Create incidents (i.e. tasks resulting on OraChk results) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 30. oracle@ittage:/u00/app/oracle/ ./orachk -setdbupload all Running orachk ---------------------------------------------------------- PATH : /u00/app/oracle/product/19.0.0.0/suptools/orachk VERSION : 19.2.0_20190717 COLLECTIONS DATA LOCATION : /u00/app/oracle/orachk/ ---------------------------------------------------------- Enter value for RAT_UPLOAD_CONNECT_STRING: 192.168.1.113:1521/apexpdb Enter value for RAT_UPLOAD_PASSWORD: ****** Database upload parameters successfully stored in orachk wallet. Run will keep uploading the collections in database until it is unset using ./orachk -unsetdbupload all/<env variable name> oracle@ittage:/u00/app/oracle/ [CITTAGE] ./orachk -checkdbupload Running orachk ---------------------------------------------------------- PATH : /u00/app/oracle/product/19.0.0.0/suptools/orachk VERSION : 19.2.0_20190717 COLLECTIONS DATA LOCATION : /u00/app/oracle/orachk/ ---------------------------------------------------------- Configuration is good to upload result to database. Configure Database Upload for OraChk 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 31. Collection Manager – Screenshots (1) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 32. Collection Manager – Screenshots (2) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 33. Collection Manager – Screenshots (3) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 34. Collection Manager – Screenshots (4) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 35. Collection Manager – Administration 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 36. Add your own checks 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 37. Additional Checks for OraChk (1) • You can configure the checks • Disable Checks • Add your own checks to OraChk • But modifying existing checks (e.g. changing thresholds) is not possible • Collection Manager is the easiest way to do so • After defining new checks you have to download ""user_defined_checks.xml" and to distribute it to the servers • Run "orachk –profile user_defined_checks" to restrict OraChk on your own checks 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 38. Additional Checks for OraChk (2) 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 39. Summary & Further Information 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 40. Summary + Helpful tool for checking your Oracle configuration + Don't take every check for relevant + Don't expect your systems to achieve "100 of 100 points" + Collection Manager + Simple configuration management/monitoring + Basic "ticket system"  Orachk once was a cute, small and efficient tool but, …  Very dynamic • Between October and December 3 versions (AHF 19.3.0, 19.3.1 and 19.3.2) were released  Very confusing • Different ways to install the tool and to keep it up to date • Orachk is delivered with the RDBMS software but not upgraded with RUs • "RDBMS OraChk" seems to be a dead end 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 41. Further Information • MOS-Notes • ORAchk - Health Checks for the Oracle Stack (Doc ID 1268927.2) • Oracle Exadata Database Machine EXAchk or HealthCheck (Doc ID 1070954.1) • ORAchk Upgrade Readiness Assessment (Doc ID 1457357.1) • How to Install ORAchk on Windows (Doc ID 2414394.1) • Autonomous Health Framework (AHF) - Including TFA and ORAchk/EXAChk (Doc ID 2550798.1) • Documentation • https://docs.oracle.com/en/engineered-systems/health-diagnostics/autonomous-health- framework/ • Article • https://www.informatik-aktuell.de/betrieb/datenbanken/oracle-orachk- konfigurationspruefung-und-management.html 17.05.2022 OraChk - Database Configuration -Check and -Management
  • 42. Questions & Answers Markus Flechtner markus.flechtner@trivadis.com Phone +49 211 5866 64725 @markusdba www.markusdba.net|.de
  • 43. Mirko Hotzy • Solution Unit Manager Carl Pfaffenberger Account Manager - Sales Weitere Fragen oder Interesse an Trivadis? Gerne stehen wir für Sie im Foyer zur Verfügung!

Editor's Notes

  1. Here are the most important facts & figures at a glance. Trivadis was founded in 1994 as an independent service provider. Today, we have roughly 700 employees at 16 locations in Switzerland, Germany, Austria, Denmark and Romania. In the past financial year, we carried out over 1900 customer projects successfully and generated sales of roughly CHF 118 million. In addition to this large number of projects, we supported our customers with more than 250 Service Level Agreements. The foundation for sustainable technological excellence lies in our emphasis on research and development. Each year, we invest roughly CHF 5 million in analyzing and evaluating new technologies and in developing our methods and products. We are shaping the digital future together with our customers and partners. Transition to next slide: In keeping with our mission
  2. Mein Name ist … Ich bin … (Rolle und Funktion) Ich arbeite seit …. bei der Trivadis in … (Workspace / Land) Mein Schwerpunkt / Mein Hauptaufgaben … (Spezialisierung / Verantwortung aufzeigen) Optional: Zuvor habe ich bei / als …. Berufs-/Projekterfahrung (Kompetenz unterfüttern) Wenn ich nicht gerade … (Beschäftigung bei Trivadis) mache, … (Interessen / Hobbys nennen. Sich als Mensch zeigen) Überleitung zur nächsten Folie: Was solltet ihr nun über die Trivadis wissen?