SlideShare a Scribd company logo
1 of 58
Download to read offline
BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA
HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH
Tools, not only for RAC databases
.. OraCHK, CHM, OSWatcher and TFA
Markus Flechtner
Principal Consultant
Our company.
Tools, not only for RAC databases2 24.12.16
Trivadis is a market leader in IT consulting, system integration, solution engineering
and the provision of IT services focusing on and technologies
in Switzerland, Germany, Austria and Denmark. We offer our services in the following
strategic business fields:
Trivadis Services takes over the interactive operation of your IT systems.
O P E R A T I O N
COPENHAGEN
MUNICH
LAUSANNE
BERN
ZURICH
BRUGG
GENEVA
HAMBURG
DÜSSELDORF
FRANKFURT
STUTTGART
FREIBURG
BASLE
VIENNA
With over 600 specialists and IT experts in your region.
Tools, not only for RAC databases3 24.12.16
14 Trivadis branches and more than
600 employees
200 Service Level Agreements
Over 4,000 training participants
Research and development budget:
CHF 5.0 / EUR 4 million
Financially self-supporting and
sustainably profitable
Experience from more than 1,900
projects per year at over 800
customers
About Markus Flechtner
Principal Consultant, Trivadis, Duesseldorf/Germany, since April 2008
Discipline Manager Infrastructure Database @Trivadis
Working with Oracle since the 1990’s
– Development (Forms, Reports, PL/SQL)
– Support
– Database Administration
Focus
– Oracle Real Application Clusters
– Database Migration Projects
Teacher
– O-RAC – Oracle Real Application Clusters
– O-NF12CDBA – Oracle 12c New Features for the DBA
Blog:
http://markusdba.de/
@markusdba
Tools, not only for RAC databases4 24.12.16
Our database doctors ..
Dr. ORAchk
– Regular screening examination
Dr. CHM & OSWatcher
– Electrocardiogram (ECG)
Dr. TFA
– In case of emergency
Tools, not only for RAC databases5 24.12.16
Oracle Support Tools Bundle
Collection of database and RAC support tools
Includes
– ORAchk
– ExaChk (*) – like OraChk, but for Engineered Systems
– OSWatcher
– ProcWatcher (*) – tool to examine and monitor Oracle database and/or clusterware
processes
– ORATOP (*) - near real-time monitoring of databases
– SQLT (*) – helps in tuning SQL statements
– DARDA (*) - Diagnostic Assistant - interface for other diagnostic tools
– .. And many more
Integrated in TFA collector since release 12.1.2.3.0
(*) not covered by this talk
Tools, not only for RAC databases6 24.12.16
Running other tools from TFA collector
oracle@walhall:~/ [rdbms12102] tfactl toolstatus
.--------------------------------------.
| External Support Tools |
+---------+--------------+-------------+
| Host | Tool | Status |
+---------+--------------+-------------+
| walhall | alertsummary | DEPLOYED |
| walhall | exachk | DEPLOYED |
| walhall | ls | DEPLOYED |
| walhall | pstack | DEPLOYED |
| walhall | orachk | DEPLOYED |
[..]
| walhall | events | DEPLOYED |
| walhall | ps | DEPLOYED |
| walhall | srdc | DEPLOYED |
'---------+--------------+-------------'
oracle> /u00/app/oracle/tools/tfa/bin/tfactl run alertsummary
Tools, not only for RAC databases7 24.12.16
Agenda
Tools, not only for RAC databases8 24.12.16
1. ORAchk
2. Cluster Health Monitor (CHM) (RAC only)
3. OSWatcher
4. Trace File Analyzer (TFA) Collector
Tools, not only for RAC databases9 24.12.16
OraChk
ORAchk – Purpose & History
Available since July 2011
Current version 12.1.0.2.6_20160207
Formerly known as "RACCheck"
Supported on Unix, Linux and Windows (Cygwin/Standalone version)
Checks your installation against more than 1.000 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
Tools, not only for RAC databases10 24.12.16
ORAchk – Not a RAC or database tool only
ORAchk includes checks for
– Oracle Database (Single Instance + RAC)
– MAA Validation
– Upgrade Readiness
– Golden Gate
– Enterprise Manager 12c Cloud Control
– Peoplesoft
– Siebel
– Oracle Sun Server
Tools, not only for RAC databases11 24.12.16
ORAchk – Interfaces
CLI tool
– Daemon possible
HTML- and ZIP-output
Results can be stored in a database
– è "configuration management lite"
GUI
– Collection Manager (APEX)
– Enterprise Manager Plugin
Tools, not only for RAC databases12 24.12.16
ORAchk - Installation
Clusterware 11.2.0.4 and 12.1.0.2
– Installed with the software (into $ORACLE_HOME/suptools/orachk)
– So far not updated with the PSUs L
For older versions
– Install TFA Collector 12.1.2.3.0 or higher
– Download ORAchk via MOS 1268927.2
Recommendation:
– Use newest standalone version
Tools, not only for RAC databases13 24.12.16
ORAchk – Basic Command Line Options
Option Meaning
-a Run all Checks
-b Best Practice Check only
-p Patch Check Only
-u –o pre|post Pre or Post Upgrade Checks
-dbnames run for a subset of databases only
-clusternodes run for a subset of nodes only
-h Help on all available parameters (long list)
Tools, not only for RAC databases14 24.12.16
ORAchk – Sample Output (1) – at runtime
ORAchk checks O/S, clusterware and databases on all nodes
Result: ZIP-File and HTML-Report
Tools, not only for RAC databases15 24.12.16
ORAchk – Sample Output (2) – Header
Tools, not only for RAC databases16 24.12.16
ORAchk – Sample Output (3) – Overview
Tools, not only for RAC databases17 24.12.16
ORAchk – Sample Output (4) – Details
Tools, not only for RAC databases18 24.12.16
ORAchk – Advanced Command Line Options
Option Meaning
-diff Compare 2 reports
-d Manage ORAchk daemon
-profile Run for specific components or applications like:
• ASM
• Clusterware
• EBS
• MAA
• Goldengate
• Enterprise Manager 12c
.. And more
Tools, not only for RAC databases19 24.12.16
ORAchk – Collection Manager (1)
ORAchk results can be stored in a repository database
Collection Manager is a GUI for the repository database
APEX application (4.2.0 or higher)
– Import.sql is delivered with ORAchk software
Installation
– Create database user for ORAchk
– create 3 tables (see Appendix F of the OraChk Users Guide)
– Install APEX application
Tools, not only for RAC databases20 24.12.16
ORAchk – Collection Manager (2)
Set environment
Run ORAchk
– If the environment is set, then the data will be inserted into the repository database
export
RAT_UPLOAD_CONNECT_STRING="(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbser
ver)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=EMREP)))"
export RAT_UPLOAD_TABLE=auditcheck_result
export RAT_PATCH_UPLOAD_TABLE=auditcheck_patch_result
export RAT_ZIP_UPLOAD_TABLE=RCA13_DOCS
export RAT_UPLOAD_USER=orachk
export RAT_UPLOAD_PASSWORD=orachk
export RAT_UPLOAD_ORACLE_HOME=/u00/app/oracle/product/11.2.0.4
Tools, not only for RAC databases21 24.12.16
ORAchk – Collection Manager (3) – some screenshots
Tools, not only for RAC databases22 24.12.16
ORAchk – Collection Manager (4) – some screenshots
Tools, not only for RAC databases23 24.12.16
ORAchk – Collection Manager (5) – some screenshots
Tools, not only for RAC databases24 24.12.16
ORAchk – Collection Manager (6) – some screenshots
Tools, not only for RAC databases25 24.12.16
Tools, not only for RAC databases26 24.12.16
Cluster Health Monitor
Cluster Health Monitor (CHM)
Available since Oracle Grid Infrastructure 11.2.0.2
Collects OS information of the cluster nodes
– CPU load
– Memory
– Top Processes
– File Systems
– System information
Components
– sysmond (on every cluster node)
– loggerd
Cluster Resource crf
Tools, not only for RAC databases27 24.12.16
Cluster Health Monitor (CHM) – CLI oclumon
grid@rac1node1:~/ oclumon –h
For help in interactive mode : <verb> -h
Currently supported verbs are :
dumpnodeview, manage, version, debug, analyze, quit, exit, and help
Option
Dumpnodeview Shows collected data (for specific nodes and/or a specific timewindow
Manage Manages the CHM repository and show
Version Shows version information
Debug Debugs CHM components
Analyze Deprecated, will be ignored
Tools, not only for RAC databases28 24.12.16
Cluster Health Monitor (CHM) – CLI show data
grid@rac1node1:~/ [grid12102] oclumon dumpnodeview
dumpnodeview: Node name not given. Querying for the local host
----------------------------------------
Node: rac1node1 Clock: '15-02-22 18.05.43 ' SerialNo:1440
----------------------------------------
SYSTEM:
#pcpus: 1 #vcpus: 2 cpuht: N chipname: Intel(R) cpu: 20.59 cpuq: 0 physmemfree: 393676
physmemtotal: 4958228 mcache: 2506540 swapfree: 3956548 swaptotal: 3964924
hugepagetotal: 0 hugepagefree: 0 hugepagesize: 2048 ior: 156 iow: 78 ios: 32 swpin: 0
swpout: 0 pgin: 155 pgout: 59 netr: 102.554 netw: 75.683 procs: 323 procsoncpu: 2
rtprocs: 13 rtprocsoncpu: N/A #fds: 20704 #sysfdlimit: 6815744 #disks: 9 #nics: 4
nicErrors: 0
TOP CONSUMERS:
topcpu: 'mdb_vktm_-mgmtd(5402) 4.39' topprivmem: 'java(2046) 171088' topshm:
'ora_mman_raccdb(5479) 300808' topfd: 'oraagent.bin(4891) 251' topthread: 'console-kit-
dae(3254) 64'
[..]
Tools, not only for RAC databases29 24.12.16
Cluster Health Monitor (CHM) – -MGMTDB (1)
In Oracle 12c CHM data is stored in the Grid Infrastructure Management Repository (GIMR),
SID=-MGMTDB
– Mandatory with 12.1.0.2
– Single instance database, CDB database with 12.1.0.2 (PDB-name = clustername)
– No additional license required
– Basic installation needs about 5 GB in the diskgroup with OCR and voting files
– Additional listener MGMTLSNR
Required size depends on number of nodes and retention time
– About 1,3 GB + 500 MB/node
– Check and configure with "oclumon"
Tools, not only for RAC databases30 24.12.16
Cluster Health Monitor (CHM) – -MGMTDB (2) - Tools
mgmtca (for initial configuration only)
Srvctl
oclumon
– Oracle recommends a retention time of 72 h ( = 259200 seconds)
grid@rac1node2:~/ oclumon manage -h
Manage verb usage
=================
manage -repos {checkretentiontime <time> | changerepossize <memsize>} | -
get {<key1> [<key2> ...] | alllogger [-details] | mylogger [-details]}
..
grid@rac1node2:~/ oclumon manage -repos checkretentiontime 259200
The Cluster Health Monitor repository is too small for the desired
retention. Please first resize the repository to 5844 MB
Tools, not only for RAC databases31 24.12.16
Cluster Health Monitor (CHM) – EM 12c Cloud Control
CHM data can be displayed in EM 12c Cloud Control
Tools, not only for RAC databases32 24.12.16
Cluster Health Monitor (CHM) – Memory Guard
Evaluates the memory usage on the cluster nodes based on data collected by Cluster Health
Monitor (CHM)
Automatically stops database services (transactional) in case of memory pressure on a cluster
node
– .. or even kills database sessions
.. and automatically reactivates the services when enough memory is available
Starting with Oracle12.1.0.2 Memory Guard is automatically activated
Tools, not only for RAC databases33 24.12.16
Tools, not only for RAC databases34 24.12.16
OSWatcher
OSWatcher (1)
Collects OS statistics in the background (hourly) using OS commands
– CPU
– Memory
– Disk I/O
Installed and activated with TFA collector
Can generate graphics
OSWatcher vs. CHM
– CHM CPU overhead lower
– OSWatcher runs with user priority (CHM: Realtime)
– OSWatcher collects more information
Tools, not only for RAC databases35 24.12.16
OSWatcher (2) – Generate graphics
oracle> /u00/app/oracle/tools/tfa/bin/tfactl run oswbb
Starting OSW Analyzer V7.3.1
OSWatcher Analyzer Written by Oracle Center of Expertise
Copyright (c) 2014 by Oracle Corporation
Parsing Data. Please Wait...
Scanning file headers for version and platform info...
Parsing file dbserver.markusflechtner.vm_iostat_15.02.22.0800.dat ...
Parsing file dbserver.markusflechtner.vm_iostat_15.02.22.0900.dat ...
[..]
Parsing Completed.
Enter 1 to Display CPU Process Queue Graphs
Enter 2 to Display CPU Utilization Graphs
Enter 3 to Display CPU Other Graphs
Enter 4 to Display Memory Graphs
Enter 5 to Display Disk IO Graphs
[..]
Enter Q to Quit Program
Please Select an Option:
Tools, not only for RAC databases36 24.12.16
OSWatcher (3) - Examples
Tools, not only for RAC databases37 24.12.16
OSWatcher (4) - Housekeeping
Files are written to $TFA_HOME/repository/suptools/walhall/oswbb/oracle/archive/
No automatic housekeeping L
Create a cronjob
– Replace $TFA_HOME with your directory
Tools, not only for RAC databases38 24.12.16
find $TFA_HOME/repository/suptools/walhall/oswbb/oracle/archive -name "*.*" -
mtime +10 -exec rm -f {} ;
Tools, not only for RAC databases39 24.12.16
Trace File Analyzer (TFA)
Collector
Real life experience ..
26 node cluster
– 5 databases
Strange ASM issue
Oracle Support requested
– Clusterware logs
– ASM alert.logs
– Database alert.logs
For each of the
26 servers!!
Tools, not only for RAC databases40 24.12.16
Trace File Analyzer Collector
Initial release in January 2013, current version 12.1.2.7.0 (March 2016)
Collects trace and log files and system information from all nodes into a cluster with a
single command initiated on one cluster node
Integrates a lot of other tools with one single CLI
Centralized output
Real-time scanning for specific error messages possible è Automatic Collection
Included in Clusterware 11.2.0.4 and 12.1.0.2
For other versions (10.2 or higher):
– Download from MOS: 1513912.1
– RAC and DB Support Tools Bundle is included in current TFA package
Tools, not only for RAC databases41 24.12.16
TFA Collector – Installation
For Clusterware 11.2.0.4 and 12.1.0.2: No additional installation required
For older versions:
[root@rac1node1 tmp]# ./installTFALite.sh
Starting TFA installation
Enter a location for installing TFA [/tmp]: /u00/app/oracle
Checking for available space in /u00/app/oracle
Enter a Java Home that contains Java 1.6 or later : /usr/java/jre1.7.0_13
Running Auto Setup for TFA as user root…
Would you like to do a [L]ocal only or [C]lusterwide installation ? [L|l|C|c] [C] : C
The following installation requires temporary use of SSH.
If SSH is not configured already then we will remove SSH when complete.
Do you wish to Continue ? [Y|y|N|n] [N] y
Installing TFA at /u00/app/oracle in all hosts
Discovering Nodes and Oracle resources
Checking whether CRS is up and running
..
Tools, not only for RAC databases42 24.12.16
TFA Collector – Update
TFA updates are not part of the PSUs
– è TFA installed with Oracle Clusterware is not updated automatically
Manual updates
– Running TFA is detected automatically
– TFA is updated in the correct directory
Recommendation:
– Disable the version delivered with Oracle Clusterware
– Install the newest standalone version
Tools, not only for RAC databases43 24.12.16
TFA Collector – Architecture
JAVA-based tool
TFA-daemon “TFAMain” running on all cluster nodes
Data Storage
– File-Repository for Diagnostic Information
– Berkeley Database for metadata, file inventory, event history, etc.
Command Line Interface
– tfactl (perl)
– Communication with daemon using secure sockets
oracle@rac1node1:~/ [rdbms12102] ps -ef |grep tfa |grep –v grep
root 2325 1 0 10:14 ? 00:00:03 /bin/sh /etc/init.d/init.tfa run
root 3631 1 0 10:16 ? 00:05:10 /u00/app/grid/product/12.1.0.2/jdk/jre/bin/java –
[..] oracle.rat.tfa.TFAMain /u00/app/grid/product/12.1.0.2/tfa/rac1node1/tfa_home
Tools, not only for RAC databases44 24.12.16
TFA Collector – Commands (1) – Command Overview
oracle@rac1node1:/home/grid/ tfactl
Usage : /u00/app/grid/product/12.1.0.2/bin/tfactl <command> [options]
<command> =
print Print requested details
analyze List events summary and search strings in alert logs.
diagcollect Collect logs from across nodes in cluster
collection Manage TFA collections
directory Add or Remove or Modify directory in TFA
toolstatus Prints the status of TFA Support Tools
run <tool> Run the desired support tool
start <tool> Starts the desired support tool
stop <tool> Stops the desired support tool
restart <tool> Restarts the desired support tool
For help with a command: /oracle/u00/app/oracle/tools/tfa/bin/tfactl <command> -help
Tools, not only for RAC databases45 24.12.16
TFA Collector – Commands (2) – commands for root
Configuration tasks must be done by root
The following additional commands are available:
<command> =
start Starts TFA
stop Stops TFA
enable Enable TFA Auto restart
disable Disable TFA Auto restart
access Add or Remove or List TFA Users and Groups
purge Delete collections from TFA repository
directory Add or Remove or Modify directory in TFA
host Add or Remove host in TFA
set Turn ON/OFF or Modify various TFA features
uninstall Uninstall TFA from this node
diagnosetfa Collect TFA Diagnostics
..
Tools, not only for RAC databases46 24.12.16
TFA Collector – Commands (3) – print config
root@rac1node1:/home/grid/ tfactl print config
+--------------------------------------------+------------+
| Configuration Parameter | Value |
+---------------------------------------------+------------+
| TFA version | 12.1.2.3.1 |
| Automatic diagnostic collection | OFF |
| Trimming of files during diagcollection | ON |
| Repository current size (MB) | 7 |
| Repository maximum size (MB) | 10240 |
| Inventory Trace level | 1 |
| Collection Trace level | 1 |
| Scan Trace level | 1 |
| Other Trace level | 1 |
| Max Size of TFA Log (MB) | 50 |
| Max Number of TFA Logs | 10 |
| Max Size of Core File (MB) | 20 |
| Max Collection Size of Core Files (MB) | 200 |
| Automatic Purging | ON |
| Minimum Age of Collections to Purge (Hours) | 12 |
'---------------------------------------------+------------'
Tools, not only for RAC databases47 24.12.16
TFA Collector – Commands (4) – diagcollect (1)
Collects trace and log files from the cluster nodes
oracle@green:/tmp/ [grid12102] tfactl diagcollect
Collecting data for the last 4 hours for all components...
Collecting data for all nodes
Collection Id : 20160503103456green
Repository Location in green : /u00/app/oracle/tfa/repository
Collection monitor will wait up to 30 seconds for collections to start
2016/05/03 10:35:01 CEST : Collection Name : tfa_Tue_May_3_10_34_56_CEST_2016.zip
2016/05/03 10:35:01 CEST : Sending diagcollect request to host : red
2016/05/03 10:35:01 CEST : Sending diagcollect request to host : white
2016/05/03 10:35:01 CEST : Scanning of files for Collection in progress...
[..]
Logs are being collected to: /u00/app/oracle/tfa/repository/collection_Tue_May_3_10_34_56_CEST_2016_node_all
/u00/app/oracle/tfa/repository/collection_Tue_May_3_10_34_56_CEST_2016_node_all/green.tfa_Tue_May_3_10_34_56_C
EST_2016.zip
/u00/app/oracle/tfa/repository/collection_Tue_May_3_10_34_56_CEST_2016_node_all/white.tfa_Tue_May_3_10_34_56_C
EST_2016.zip
/u00/app/oracle/tfa/repository/collection_Tue_May_3_10_34_56_CEST_2016_node_all/red.tfa_Tue_May_3_10_34_56_CES
T_2016.zip
Tools, not only for RAC databases48 24.12.16
TFA Collector – Commands (5) – diagcollect (2)
Which data is collected by default?
– alert.log from all databases - Patch Information
– ASM log files - CHM information
– listener.log files - Clusterware logs
Components, node list and time window can be specified
Data is "trimmed" to the relevant time window
2016/05/03 10:36:56 CEST : Total Size of all Files Checked : 3GB
2016/05/03 10:36:56 CEST : Number of files containing required range : 271
2016/05/03 10:36:56 CEST : Total Size of Files containing required range : 175MB
2016/05/03 10:36:56 CEST : Number of files trimmed : 18
2016/05/03 10:36:56 CEST : Total Size of data prior to zip : 93MB
2016/05/03 10:36:56 CEST : Saved 112MB by trimming files
2016/05/03 10:36:56 CEST : Zip file size : 7MB
Tools, not only for RAC databases49 24.12.16
TFA Collector – Commands (6) – autodiagcollect
Automatic diagnostic collection
– Tfa scans the alert.log files and runs "diagcollect" automatically
– Collection triggered by ORA-600, ORA-7445, ORA-4031, ..
– Trimming interval +/- 600 seconds
root@rac1node1:~/ tfactl set autodiagcollect=<ON|OFF> [-c]
Tools, not only for RAC databases50 24.12.16
TFA Collector – Commands (7) - analyze
Checks system log files and Oracle log files on all nodes
root@rac1node1:~/ [grid12102] tfactl analyze
INFO: analyzing all (Alert and Unix System Logs) logs for the last 60 minutes... Please
wait...
INFO: analyzing host: rac1node1
Report title: Analysis of Alert,System Logs
Report date range: last ~1 hour(s)
Report (default) time zone: CET - Central European Time
Analysis started at: 21-Feb-2015 09:02:34 PM CET
[..]
Message types for last ~1 hour(s)
Occurrences percent server name type
----------- ------- -------------------- -----
2 66.7% rac1node1 WARNING
1 33.3% rac1node1 generic
[..]
Tools, not only for RAC databases51 24.12.16
TFA Collector – other tools (1)
Tools, not only for RAC databases52 24.12.16
Command in TFACTL Explanation
Alertsummary Event summary from all alert.log files
Changes Lists changes of OS and instance configuration
Oratop "top" for Oracle Databases, Linux client required
Events List important events
Pstack Stack trace for a process (across the cluster)
Darda Diagnostic assistant, , common interface for various tools
Prw (ProcWatcher) Capture diagnostic output for perfomance issues and session hangs
(partial) list of the tools which are integrated in TFA (incl. "Support Tools Bundle"):
Please see TFA documentation for a complete list incl. documentation for each tool
TFA collector – other tools (2) – example output: events
Tools, not only for RAC databases53 24.12.16
tfactl> events
Output from host : walhall
------------------------------
May/02/2016 14:29:28 :
[db.emrep.EMREP] : Starting ORACLE instance (normal) (OS id: 9557)
May/02/2016 14:31:17 :
[db.emrep.EMREP] : TNS-12537: TNS:connection closed
[db.emrep.EMREP] : opiodr aborting process unknown ospid (15621) as a result of
ORA-609
May/02/2016 14:29:28 :
[db.tvd12_site1.TVD12] : Starting ORACLE instance (normal) (OS id: 9527)
May/02/2016 14:29:28 :
[db.tvd12cdb.TVD12CDB] : Starting ORACLE instance (normal) (OS id: 9537)
TFA collector – other tools (3) – example output: oratop
Tools, not only for RAC databases54 24.12.16
Tools, not only for RAC databases55 24.12.16
Summary
Summary
Oracle provides a lot of tools to keep a database in a healthy state
There are multiple ways to install the same tool
The toolset is not complete integrated in the PSU lifecycle so far
Overlapping functionality
– Healthchecks: OraChk vs. cluvfy
– System performance data: CHM vs. OSWatcher
Σ
Tools, not only for RAC databases56 24.12.16
Tools, not only for RAC databases57 24.12.16
Further Information
• Some MOS-Notes:
• TFA Collector - Tool for Enhanced Diagnostic Gathering (Doc ID 1513912.1)
• ORAchk - Health Checks for the Oracle Stack (Doc ID 1268927.2)
• oratop - Utility for Near Real-time Monitoring of Databases (Doc ID 1500864.1)
• SQLT Diagnostic Tool (Doc ID 215187.1)
• Procwatcher: Script to Monitor and Examine Oracle DB and Clusterware (Doc ID 459694.1)
Questions and Answers
Markus Flechtner
Principal Consultant
Phone +49 211 5866 64725
Markus.Flechtner@Trivadis.com
@markusdba http://markusdba.de
Download the slides from http://www.slideshare.net/markusdba
Please don‘t forget the session evaluation – Thank you!
24.12.16 Tools, not only for RAC databases58

More Related Content

What's hot

Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Guatemala User Group
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACPaulo Fagundes
 
Oracle Application Containers
Oracle Application ContainersOracle Application Containers
Oracle Application ContainersMarkus Flechtner
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and ArchitectureSidney Chen
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksCloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksScott Jenner
 
Setup oracle golden gate 11g replication
Setup oracle golden gate 11g replicationSetup oracle golden gate 11g replication
Setup oracle golden gate 11g replicationKanwar Batra
 
Oracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create DatabaseOracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create DatabaseMonowar Mukul
 
RAC - The Savior of DBA
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBANikhil Kumar
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman scriptMaris Elsins
 
Indexes From the Concept to Internals
Indexes From the Concept to InternalsIndexes From the Concept to Internals
Indexes From the Concept to InternalsDeiby Gómez
 
Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2Biju Thomas
 
Examining Oracle GoldenGate Trail Files
Examining Oracle GoldenGate Trail FilesExamining Oracle GoldenGate Trail Files
Examining Oracle GoldenGate Trail FilesBobby Curtis
 
Troubleshooting Complex Performance issues - Oracle SEG$ contention
Troubleshooting Complex Performance issues - Oracle SEG$ contentionTroubleshooting Complex Performance issues - Oracle SEG$ contention
Troubleshooting Complex Performance issues - Oracle SEG$ contentionTanel Poder
 
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015Nelson Calero
 
Replicate from Oracle to Oracle, Oracle to MySQL, and Oracle to Analytics
Replicate from Oracle to Oracle, Oracle to MySQL, and Oracle to AnalyticsReplicate from Oracle to Oracle, Oracle to MySQL, and Oracle to Analytics
Replicate from Oracle to Oracle, Oracle to MySQL, and Oracle to AnalyticsContinuent
 

What's hot (20)

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
 
Rac questions
Rac questionsRac questions
Rac questions
 
Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
 
Oracle Application Containers
Oracle Application ContainersOracle Application Containers
Oracle Application Containers
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and Architecture
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksCloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
 
Oracle GoldenGate for Oracle DBAs
Oracle GoldenGate for Oracle DBAsOracle GoldenGate for Oracle DBAs
Oracle GoldenGate for Oracle DBAs
 
Setup oracle golden gate 11g replication
Setup oracle golden gate 11g replicationSetup oracle golden gate 11g replication
Setup oracle golden gate 11g replication
 
Oracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create DatabaseOracle 12cR2 RAC Database Software Installation and Create Database
Oracle 12cR2 RAC Database Software Installation and Create Database
 
RAC - The Savior of DBA
RAC - The Savior of DBARAC - The Savior of DBA
RAC - The Savior of DBA
 
Oracle Data Guard
Oracle Data GuardOracle Data Guard
Oracle Data Guard
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman script
 
Indexes From the Concept to Internals
Indexes From the Concept to InternalsIndexes From the Concept to Internals
Indexes From the Concept to Internals
 
Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2
 
Examining Oracle GoldenGate Trail Files
Examining Oracle GoldenGate Trail FilesExamining Oracle GoldenGate Trail Files
Examining Oracle GoldenGate Trail Files
 
Less05 Network
Less05 NetworkLess05 Network
Less05 Network
 
Troubleshooting Complex Performance issues - Oracle SEG$ contention
Troubleshooting Complex Performance issues - Oracle SEG$ contentionTroubleshooting Complex Performance issues - Oracle SEG$ contention
Troubleshooting Complex Performance issues - Oracle SEG$ contention
 
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
 
Replicate from Oracle to Oracle, Oracle to MySQL, and Oracle to Analytics
Replicate from Oracle to Oracle, Oracle to MySQL, and Oracle to AnalyticsReplicate from Oracle to Oracle, Oracle to MySQL, and Oracle to Analytics
Replicate from Oracle to Oracle, Oracle to MySQL, and Oracle to Analytics
 

Viewers also liked

Viewers also liked (11)

Adultoooo expooo
Adultoooo expoooAdultoooo expooo
Adultoooo expooo
 
Oracle ORAchk - An Overview Guide to Oracle Stack Health Checks
Oracle ORAchk - An Overview Guide to Oracle Stack Health ChecksOracle ORAchk - An Overview Guide to Oracle Stack Health Checks
Oracle ORAchk - An Overview Guide to Oracle Stack Health Checks
 
Oracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAsOracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAs
 
Stem cell
Stem cellStem cell
Stem cell
 
Properties and uses of stem cells
Properties and uses of stem cellsProperties and uses of stem cells
Properties and uses of stem cells
 
Biological Presentation On Stem Cells
Biological Presentation On Stem CellsBiological Presentation On Stem Cells
Biological Presentation On Stem Cells
 
Stem cell
 Stem cell Stem cell
Stem cell
 
Stem cells
Stem cellsStem cells
Stem cells
 
Stem cell therapy
Stem cell therapyStem cell therapy
Stem cell therapy
 
Stem cell therapy
Stem cell therapyStem cell therapy
Stem cell therapy
 
TEDx Manchester: AI & The Future of Work
TEDx Manchester: AI & The Future of WorkTEDx Manchester: AI & The Future of Work
TEDx Manchester: AI & The Future of Work
 

Similar to Tools, not only for Oracle RAC

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
 
PDB Provisioning with Oracle Multitenant Self Service Application
PDB Provisioning with Oracle Multitenant Self Service ApplicationPDB Provisioning with Oracle Multitenant Self Service Application
PDB Provisioning with Oracle Multitenant Self Service ApplicationLeighton Nelson
 
Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...
Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...
Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...Nelson Calero
 
Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Ludovico Caldara
 
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobsMonowar Mukul
 
R the unsung hero of Big Data
R the unsung hero of Big DataR the unsung hero of Big Data
R the unsung hero of Big DataDhafer Malouche
 
ORAchk EXAchk what's new in 12.1.0.2.7
ORAchk EXAchk what's new in 12.1.0.2.7ORAchk EXAchk what's new in 12.1.0.2.7
ORAchk EXAchk what's new in 12.1.0.2.7Sandesh Rao
 
Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7
Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7
Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7Gareth Chapman
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesLudovico Caldara
 
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014Philippe Fierens
 
Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4Mahamudul Hasan
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratopSandesh Rao
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodLudovico Caldara
 
[Webinar Slides] Programming the Network Dataplane in P4
[Webinar Slides] Programming the Network Dataplane in P4[Webinar Slides] Programming the Network Dataplane in P4
[Webinar Slides] Programming the Network Dataplane in P4Open Networking Summits
 
Performance Tuning Using oratop
Performance Tuning Using oratop Performance Tuning Using oratop
Performance Tuning Using oratop Sandesh Rao
 
T pn r3trans
T pn r3transT pn r3trans
T pn r3transRaj p
 
Apache Sqoop: A Data Transfer Tool for Hadoop
Apache Sqoop: A Data Transfer Tool for HadoopApache Sqoop: A Data Transfer Tool for Hadoop
Apache Sqoop: A Data Transfer Tool for HadoopCloudera, Inc.
 
TFA - Trace File Analyzer Collector
TFA - Trace File Analyzer CollectorTFA - Trace File Analyzer Collector
TFA - Trace File Analyzer CollectorMarkus Flechtner
 
Oracle Trace File Analyzer - What's New in 12.2.1.1.0
Oracle Trace File Analyzer - What's New in 12.2.1.1.0Oracle Trace File Analyzer - What's New in 12.2.1.1.0
Oracle Trace File Analyzer - What's New in 12.2.1.1.0Gareth Chapman
 

Similar to Tools, not only for Oracle RAC (20)

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...
 
PDB Provisioning with Oracle Multitenant Self Service Application
PDB Provisioning with Oracle Multitenant Self Service ApplicationPDB Provisioning with Oracle Multitenant Self Service Application
PDB Provisioning with Oracle Multitenant Self Service Application
 
Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...
Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...
Automate Oracle database patches and upgrades using Fleet Provisioning and Pa...
 
Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?
 
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
 
R the unsung hero of Big Data
R the unsung hero of Big DataR the unsung hero of Big Data
R the unsung hero of Big Data
 
ORAchk EXAchk what's new in 12.1.0.2.7
ORAchk EXAchk what's new in 12.1.0.2.7ORAchk EXAchk what's new in 12.1.0.2.7
ORAchk EXAchk what's new in 12.1.0.2.7
 
Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7
Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7
Oracle ORAchk & EXAchk, What's New in 12.1.0.2.7
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
 
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
 
Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
 
Using Netconf/Yang with OpenDalight
Using Netconf/Yang with OpenDalightUsing Netconf/Yang with OpenDalight
Using Netconf/Yang with OpenDalight
 
[Webinar Slides] Programming the Network Dataplane in P4
[Webinar Slides] Programming the Network Dataplane in P4[Webinar Slides] Programming the Network Dataplane in P4
[Webinar Slides] Programming the Network Dataplane in P4
 
Performance Tuning Using oratop
Performance Tuning Using oratop Performance Tuning Using oratop
Performance Tuning Using oratop
 
T pn r3trans
T pn r3transT pn r3trans
T pn r3trans
 
Apache Sqoop: A Data Transfer Tool for Hadoop
Apache Sqoop: A Data Transfer Tool for HadoopApache Sqoop: A Data Transfer Tool for Hadoop
Apache Sqoop: A Data Transfer Tool for Hadoop
 
TFA - Trace File Analyzer Collector
TFA - Trace File Analyzer CollectorTFA - Trace File Analyzer Collector
TFA - Trace File Analyzer Collector
 
Oracle Trace File Analyzer - What's New in 12.2.1.1.0
Oracle Trace File Analyzer - What's New in 12.2.1.1.0Oracle Trace File Analyzer - What's New in 12.2.1.1.0
Oracle Trace File Analyzer - What's New in 12.2.1.1.0
 

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, pleaseMarkus 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 19cMarkus 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 MinutenMarkus 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 21cMarkus Flechtner
 
Oracle Datenbank-Architektur
Oracle Datenbank-ArchitekturOracle Datenbank-Architektur
Oracle Datenbank-ArchitekturMarkus 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
 
High Availability for Oracle SE2
High Availability for Oracle SE2High Availability for Oracle SE2
High Availability for Oracle SE2Markus 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 helpMarkus Flechtner
 
Datenbank-Hausputz für Einsteiger
Datenbank-Hausputz für EinsteigerDatenbank-Hausputz für Einsteiger
Datenbank-Hausputz für EinsteigerMarkus 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 DatabaseMarkus 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 21cMarkus Flechtner
 
Oracle - Checklist for performance issues
Oracle - Checklist for performance issuesOracle - Checklist for performance issues
Oracle - Checklist for performance issuesMarkus Flechtner
 
Einführung in den SQL-Developer
Einführung in den SQL-DeveloperEinführung in den SQL-Developer
Einführung in den SQL-DeveloperMarkus Flechtner
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesMarkus Flechtner
 
Checklist for Upgrades and Migrations
Checklist for Upgrades and MigrationsChecklist for Upgrades and Migrations
Checklist for Upgrades and MigrationsMarkus 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 GeschichteMarkus Flechtner
 
Datenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-DictionaryDatenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-DictionaryMarkus 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?
 
OraChk
OraChkOraChk
OraChk
 
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

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Tools, not only for Oracle RAC

  • 1. BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH Tools, not only for RAC databases .. OraCHK, CHM, OSWatcher and TFA Markus Flechtner Principal Consultant
  • 2. Our company. Tools, not only for RAC databases2 24.12.16 Trivadis is a market leader in IT consulting, system integration, solution engineering and the provision of IT services focusing on and technologies in Switzerland, Germany, Austria and Denmark. We offer our services in the following strategic business fields: Trivadis Services takes over the interactive operation of your IT systems. O P E R A T I O N
  • 3. COPENHAGEN MUNICH LAUSANNE BERN ZURICH BRUGG GENEVA HAMBURG DÜSSELDORF FRANKFURT STUTTGART FREIBURG BASLE VIENNA With over 600 specialists and IT experts in your region. Tools, not only for RAC databases3 24.12.16 14 Trivadis branches and more than 600 employees 200 Service Level Agreements Over 4,000 training participants Research and development budget: CHF 5.0 / EUR 4 million Financially self-supporting and sustainably profitable Experience from more than 1,900 projects per year at over 800 customers
  • 4. About Markus Flechtner Principal Consultant, Trivadis, Duesseldorf/Germany, since April 2008 Discipline Manager Infrastructure Database @Trivadis Working with Oracle since the 1990’s – Development (Forms, Reports, PL/SQL) – Support – Database Administration Focus – Oracle Real Application Clusters – Database Migration Projects Teacher – O-RAC – Oracle Real Application Clusters – O-NF12CDBA – Oracle 12c New Features for the DBA Blog: http://markusdba.de/ @markusdba Tools, not only for RAC databases4 24.12.16
  • 5. Our database doctors .. Dr. ORAchk – Regular screening examination Dr. CHM & OSWatcher – Electrocardiogram (ECG) Dr. TFA – In case of emergency Tools, not only for RAC databases5 24.12.16
  • 6. Oracle Support Tools Bundle Collection of database and RAC support tools Includes – ORAchk – ExaChk (*) – like OraChk, but for Engineered Systems – OSWatcher – ProcWatcher (*) – tool to examine and monitor Oracle database and/or clusterware processes – ORATOP (*) - near real-time monitoring of databases – SQLT (*) – helps in tuning SQL statements – DARDA (*) - Diagnostic Assistant - interface for other diagnostic tools – .. And many more Integrated in TFA collector since release 12.1.2.3.0 (*) not covered by this talk Tools, not only for RAC databases6 24.12.16
  • 7. Running other tools from TFA collector oracle@walhall:~/ [rdbms12102] tfactl toolstatus .--------------------------------------. | External Support Tools | +---------+--------------+-------------+ | Host | Tool | Status | +---------+--------------+-------------+ | walhall | alertsummary | DEPLOYED | | walhall | exachk | DEPLOYED | | walhall | ls | DEPLOYED | | walhall | pstack | DEPLOYED | | walhall | orachk | DEPLOYED | [..] | walhall | events | DEPLOYED | | walhall | ps | DEPLOYED | | walhall | srdc | DEPLOYED | '---------+--------------+-------------' oracle> /u00/app/oracle/tools/tfa/bin/tfactl run alertsummary Tools, not only for RAC databases7 24.12.16
  • 8. Agenda Tools, not only for RAC databases8 24.12.16 1. ORAchk 2. Cluster Health Monitor (CHM) (RAC only) 3. OSWatcher 4. Trace File Analyzer (TFA) Collector
  • 9. Tools, not only for RAC databases9 24.12.16 OraChk
  • 10. ORAchk – Purpose & History Available since July 2011 Current version 12.1.0.2.6_20160207 Formerly known as "RACCheck" Supported on Unix, Linux and Windows (Cygwin/Standalone version) Checks your installation against more than 1.000 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 Tools, not only for RAC databases10 24.12.16
  • 11. ORAchk – Not a RAC or database tool only ORAchk includes checks for – Oracle Database (Single Instance + RAC) – MAA Validation – Upgrade Readiness – Golden Gate – Enterprise Manager 12c Cloud Control – Peoplesoft – Siebel – Oracle Sun Server Tools, not only for RAC databases11 24.12.16
  • 12. ORAchk – Interfaces CLI tool – Daemon possible HTML- and ZIP-output Results can be stored in a database – è "configuration management lite" GUI – Collection Manager (APEX) – Enterprise Manager Plugin Tools, not only for RAC databases12 24.12.16
  • 13. ORAchk - Installation Clusterware 11.2.0.4 and 12.1.0.2 – Installed with the software (into $ORACLE_HOME/suptools/orachk) – So far not updated with the PSUs L For older versions – Install TFA Collector 12.1.2.3.0 or higher – Download ORAchk via MOS 1268927.2 Recommendation: – Use newest standalone version Tools, not only for RAC databases13 24.12.16
  • 14. ORAchk – Basic Command Line Options Option Meaning -a Run all Checks -b Best Practice Check only -p Patch Check Only -u –o pre|post Pre or Post Upgrade Checks -dbnames run for a subset of databases only -clusternodes run for a subset of nodes only -h Help on all available parameters (long list) Tools, not only for RAC databases14 24.12.16
  • 15. ORAchk – Sample Output (1) – at runtime ORAchk checks O/S, clusterware and databases on all nodes Result: ZIP-File and HTML-Report Tools, not only for RAC databases15 24.12.16
  • 16. ORAchk – Sample Output (2) – Header Tools, not only for RAC databases16 24.12.16
  • 17. ORAchk – Sample Output (3) – Overview Tools, not only for RAC databases17 24.12.16
  • 18. ORAchk – Sample Output (4) – Details Tools, not only for RAC databases18 24.12.16
  • 19. ORAchk – Advanced Command Line Options Option Meaning -diff Compare 2 reports -d Manage ORAchk daemon -profile Run for specific components or applications like: • ASM • Clusterware • EBS • MAA • Goldengate • Enterprise Manager 12c .. And more Tools, not only for RAC databases19 24.12.16
  • 20. ORAchk – Collection Manager (1) ORAchk results can be stored in a repository database Collection Manager is a GUI for the repository database APEX application (4.2.0 or higher) – Import.sql is delivered with ORAchk software Installation – Create database user for ORAchk – create 3 tables (see Appendix F of the OraChk Users Guide) – Install APEX application Tools, not only for RAC databases20 24.12.16
  • 21. ORAchk – Collection Manager (2) Set environment Run ORAchk – If the environment is set, then the data will be inserted into the repository database export RAT_UPLOAD_CONNECT_STRING="(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbser ver)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=EMREP)))" export RAT_UPLOAD_TABLE=auditcheck_result export RAT_PATCH_UPLOAD_TABLE=auditcheck_patch_result export RAT_ZIP_UPLOAD_TABLE=RCA13_DOCS export RAT_UPLOAD_USER=orachk export RAT_UPLOAD_PASSWORD=orachk export RAT_UPLOAD_ORACLE_HOME=/u00/app/oracle/product/11.2.0.4 Tools, not only for RAC databases21 24.12.16
  • 22. ORAchk – Collection Manager (3) – some screenshots Tools, not only for RAC databases22 24.12.16
  • 23. ORAchk – Collection Manager (4) – some screenshots Tools, not only for RAC databases23 24.12.16
  • 24. ORAchk – Collection Manager (5) – some screenshots Tools, not only for RAC databases24 24.12.16
  • 25. ORAchk – Collection Manager (6) – some screenshots Tools, not only for RAC databases25 24.12.16
  • 26. Tools, not only for RAC databases26 24.12.16 Cluster Health Monitor
  • 27. Cluster Health Monitor (CHM) Available since Oracle Grid Infrastructure 11.2.0.2 Collects OS information of the cluster nodes – CPU load – Memory – Top Processes – File Systems – System information Components – sysmond (on every cluster node) – loggerd Cluster Resource crf Tools, not only for RAC databases27 24.12.16
  • 28. Cluster Health Monitor (CHM) – CLI oclumon grid@rac1node1:~/ oclumon –h For help in interactive mode : <verb> -h Currently supported verbs are : dumpnodeview, manage, version, debug, analyze, quit, exit, and help Option Dumpnodeview Shows collected data (for specific nodes and/or a specific timewindow Manage Manages the CHM repository and show Version Shows version information Debug Debugs CHM components Analyze Deprecated, will be ignored Tools, not only for RAC databases28 24.12.16
  • 29. Cluster Health Monitor (CHM) – CLI show data grid@rac1node1:~/ [grid12102] oclumon dumpnodeview dumpnodeview: Node name not given. Querying for the local host ---------------------------------------- Node: rac1node1 Clock: '15-02-22 18.05.43 ' SerialNo:1440 ---------------------------------------- SYSTEM: #pcpus: 1 #vcpus: 2 cpuht: N chipname: Intel(R) cpu: 20.59 cpuq: 0 physmemfree: 393676 physmemtotal: 4958228 mcache: 2506540 swapfree: 3956548 swaptotal: 3964924 hugepagetotal: 0 hugepagefree: 0 hugepagesize: 2048 ior: 156 iow: 78 ios: 32 swpin: 0 swpout: 0 pgin: 155 pgout: 59 netr: 102.554 netw: 75.683 procs: 323 procsoncpu: 2 rtprocs: 13 rtprocsoncpu: N/A #fds: 20704 #sysfdlimit: 6815744 #disks: 9 #nics: 4 nicErrors: 0 TOP CONSUMERS: topcpu: 'mdb_vktm_-mgmtd(5402) 4.39' topprivmem: 'java(2046) 171088' topshm: 'ora_mman_raccdb(5479) 300808' topfd: 'oraagent.bin(4891) 251' topthread: 'console-kit- dae(3254) 64' [..] Tools, not only for RAC databases29 24.12.16
  • 30. Cluster Health Monitor (CHM) – -MGMTDB (1) In Oracle 12c CHM data is stored in the Grid Infrastructure Management Repository (GIMR), SID=-MGMTDB – Mandatory with 12.1.0.2 – Single instance database, CDB database with 12.1.0.2 (PDB-name = clustername) – No additional license required – Basic installation needs about 5 GB in the diskgroup with OCR and voting files – Additional listener MGMTLSNR Required size depends on number of nodes and retention time – About 1,3 GB + 500 MB/node – Check and configure with "oclumon" Tools, not only for RAC databases30 24.12.16
  • 31. Cluster Health Monitor (CHM) – -MGMTDB (2) - Tools mgmtca (for initial configuration only) Srvctl oclumon – Oracle recommends a retention time of 72 h ( = 259200 seconds) grid@rac1node2:~/ oclumon manage -h Manage verb usage ================= manage -repos {checkretentiontime <time> | changerepossize <memsize>} | - get {<key1> [<key2> ...] | alllogger [-details] | mylogger [-details]} .. grid@rac1node2:~/ oclumon manage -repos checkretentiontime 259200 The Cluster Health Monitor repository is too small for the desired retention. Please first resize the repository to 5844 MB Tools, not only for RAC databases31 24.12.16
  • 32. Cluster Health Monitor (CHM) – EM 12c Cloud Control CHM data can be displayed in EM 12c Cloud Control Tools, not only for RAC databases32 24.12.16
  • 33. Cluster Health Monitor (CHM) – Memory Guard Evaluates the memory usage on the cluster nodes based on data collected by Cluster Health Monitor (CHM) Automatically stops database services (transactional) in case of memory pressure on a cluster node – .. or even kills database sessions .. and automatically reactivates the services when enough memory is available Starting with Oracle12.1.0.2 Memory Guard is automatically activated Tools, not only for RAC databases33 24.12.16
  • 34. Tools, not only for RAC databases34 24.12.16 OSWatcher
  • 35. OSWatcher (1) Collects OS statistics in the background (hourly) using OS commands – CPU – Memory – Disk I/O Installed and activated with TFA collector Can generate graphics OSWatcher vs. CHM – CHM CPU overhead lower – OSWatcher runs with user priority (CHM: Realtime) – OSWatcher collects more information Tools, not only for RAC databases35 24.12.16
  • 36. OSWatcher (2) – Generate graphics oracle> /u00/app/oracle/tools/tfa/bin/tfactl run oswbb Starting OSW Analyzer V7.3.1 OSWatcher Analyzer Written by Oracle Center of Expertise Copyright (c) 2014 by Oracle Corporation Parsing Data. Please Wait... Scanning file headers for version and platform info... Parsing file dbserver.markusflechtner.vm_iostat_15.02.22.0800.dat ... Parsing file dbserver.markusflechtner.vm_iostat_15.02.22.0900.dat ... [..] Parsing Completed. Enter 1 to Display CPU Process Queue Graphs Enter 2 to Display CPU Utilization Graphs Enter 3 to Display CPU Other Graphs Enter 4 to Display Memory Graphs Enter 5 to Display Disk IO Graphs [..] Enter Q to Quit Program Please Select an Option: Tools, not only for RAC databases36 24.12.16
  • 37. OSWatcher (3) - Examples Tools, not only for RAC databases37 24.12.16
  • 38. OSWatcher (4) - Housekeeping Files are written to $TFA_HOME/repository/suptools/walhall/oswbb/oracle/archive/ No automatic housekeeping L Create a cronjob – Replace $TFA_HOME with your directory Tools, not only for RAC databases38 24.12.16 find $TFA_HOME/repository/suptools/walhall/oswbb/oracle/archive -name "*.*" - mtime +10 -exec rm -f {} ;
  • 39. Tools, not only for RAC databases39 24.12.16 Trace File Analyzer (TFA) Collector
  • 40. Real life experience .. 26 node cluster – 5 databases Strange ASM issue Oracle Support requested – Clusterware logs – ASM alert.logs – Database alert.logs For each of the 26 servers!! Tools, not only for RAC databases40 24.12.16
  • 41. Trace File Analyzer Collector Initial release in January 2013, current version 12.1.2.7.0 (March 2016) Collects trace and log files and system information from all nodes into a cluster with a single command initiated on one cluster node Integrates a lot of other tools with one single CLI Centralized output Real-time scanning for specific error messages possible è Automatic Collection Included in Clusterware 11.2.0.4 and 12.1.0.2 For other versions (10.2 or higher): – Download from MOS: 1513912.1 – RAC and DB Support Tools Bundle is included in current TFA package Tools, not only for RAC databases41 24.12.16
  • 42. TFA Collector – Installation For Clusterware 11.2.0.4 and 12.1.0.2: No additional installation required For older versions: [root@rac1node1 tmp]# ./installTFALite.sh Starting TFA installation Enter a location for installing TFA [/tmp]: /u00/app/oracle Checking for available space in /u00/app/oracle Enter a Java Home that contains Java 1.6 or later : /usr/java/jre1.7.0_13 Running Auto Setup for TFA as user root… Would you like to do a [L]ocal only or [C]lusterwide installation ? [L|l|C|c] [C] : C The following installation requires temporary use of SSH. If SSH is not configured already then we will remove SSH when complete. Do you wish to Continue ? [Y|y|N|n] [N] y Installing TFA at /u00/app/oracle in all hosts Discovering Nodes and Oracle resources Checking whether CRS is up and running .. Tools, not only for RAC databases42 24.12.16
  • 43. TFA Collector – Update TFA updates are not part of the PSUs – è TFA installed with Oracle Clusterware is not updated automatically Manual updates – Running TFA is detected automatically – TFA is updated in the correct directory Recommendation: – Disable the version delivered with Oracle Clusterware – Install the newest standalone version Tools, not only for RAC databases43 24.12.16
  • 44. TFA Collector – Architecture JAVA-based tool TFA-daemon “TFAMain” running on all cluster nodes Data Storage – File-Repository for Diagnostic Information – Berkeley Database for metadata, file inventory, event history, etc. Command Line Interface – tfactl (perl) – Communication with daemon using secure sockets oracle@rac1node1:~/ [rdbms12102] ps -ef |grep tfa |grep –v grep root 2325 1 0 10:14 ? 00:00:03 /bin/sh /etc/init.d/init.tfa run root 3631 1 0 10:16 ? 00:05:10 /u00/app/grid/product/12.1.0.2/jdk/jre/bin/java – [..] oracle.rat.tfa.TFAMain /u00/app/grid/product/12.1.0.2/tfa/rac1node1/tfa_home Tools, not only for RAC databases44 24.12.16
  • 45. TFA Collector – Commands (1) – Command Overview oracle@rac1node1:/home/grid/ tfactl Usage : /u00/app/grid/product/12.1.0.2/bin/tfactl <command> [options] <command> = print Print requested details analyze List events summary and search strings in alert logs. diagcollect Collect logs from across nodes in cluster collection Manage TFA collections directory Add or Remove or Modify directory in TFA toolstatus Prints the status of TFA Support Tools run <tool> Run the desired support tool start <tool> Starts the desired support tool stop <tool> Stops the desired support tool restart <tool> Restarts the desired support tool For help with a command: /oracle/u00/app/oracle/tools/tfa/bin/tfactl <command> -help Tools, not only for RAC databases45 24.12.16
  • 46. TFA Collector – Commands (2) – commands for root Configuration tasks must be done by root The following additional commands are available: <command> = start Starts TFA stop Stops TFA enable Enable TFA Auto restart disable Disable TFA Auto restart access Add or Remove or List TFA Users and Groups purge Delete collections from TFA repository directory Add or Remove or Modify directory in TFA host Add or Remove host in TFA set Turn ON/OFF or Modify various TFA features uninstall Uninstall TFA from this node diagnosetfa Collect TFA Diagnostics .. Tools, not only for RAC databases46 24.12.16
  • 47. TFA Collector – Commands (3) – print config root@rac1node1:/home/grid/ tfactl print config +--------------------------------------------+------------+ | Configuration Parameter | Value | +---------------------------------------------+------------+ | TFA version | 12.1.2.3.1 | | Automatic diagnostic collection | OFF | | Trimming of files during diagcollection | ON | | Repository current size (MB) | 7 | | Repository maximum size (MB) | 10240 | | Inventory Trace level | 1 | | Collection Trace level | 1 | | Scan Trace level | 1 | | Other Trace level | 1 | | Max Size of TFA Log (MB) | 50 | | Max Number of TFA Logs | 10 | | Max Size of Core File (MB) | 20 | | Max Collection Size of Core Files (MB) | 200 | | Automatic Purging | ON | | Minimum Age of Collections to Purge (Hours) | 12 | '---------------------------------------------+------------' Tools, not only for RAC databases47 24.12.16
  • 48. TFA Collector – Commands (4) – diagcollect (1) Collects trace and log files from the cluster nodes oracle@green:/tmp/ [grid12102] tfactl diagcollect Collecting data for the last 4 hours for all components... Collecting data for all nodes Collection Id : 20160503103456green Repository Location in green : /u00/app/oracle/tfa/repository Collection monitor will wait up to 30 seconds for collections to start 2016/05/03 10:35:01 CEST : Collection Name : tfa_Tue_May_3_10_34_56_CEST_2016.zip 2016/05/03 10:35:01 CEST : Sending diagcollect request to host : red 2016/05/03 10:35:01 CEST : Sending diagcollect request to host : white 2016/05/03 10:35:01 CEST : Scanning of files for Collection in progress... [..] Logs are being collected to: /u00/app/oracle/tfa/repository/collection_Tue_May_3_10_34_56_CEST_2016_node_all /u00/app/oracle/tfa/repository/collection_Tue_May_3_10_34_56_CEST_2016_node_all/green.tfa_Tue_May_3_10_34_56_C EST_2016.zip /u00/app/oracle/tfa/repository/collection_Tue_May_3_10_34_56_CEST_2016_node_all/white.tfa_Tue_May_3_10_34_56_C EST_2016.zip /u00/app/oracle/tfa/repository/collection_Tue_May_3_10_34_56_CEST_2016_node_all/red.tfa_Tue_May_3_10_34_56_CES T_2016.zip Tools, not only for RAC databases48 24.12.16
  • 49. TFA Collector – Commands (5) – diagcollect (2) Which data is collected by default? – alert.log from all databases - Patch Information – ASM log files - CHM information – listener.log files - Clusterware logs Components, node list and time window can be specified Data is "trimmed" to the relevant time window 2016/05/03 10:36:56 CEST : Total Size of all Files Checked : 3GB 2016/05/03 10:36:56 CEST : Number of files containing required range : 271 2016/05/03 10:36:56 CEST : Total Size of Files containing required range : 175MB 2016/05/03 10:36:56 CEST : Number of files trimmed : 18 2016/05/03 10:36:56 CEST : Total Size of data prior to zip : 93MB 2016/05/03 10:36:56 CEST : Saved 112MB by trimming files 2016/05/03 10:36:56 CEST : Zip file size : 7MB Tools, not only for RAC databases49 24.12.16
  • 50. TFA Collector – Commands (6) – autodiagcollect Automatic diagnostic collection – Tfa scans the alert.log files and runs "diagcollect" automatically – Collection triggered by ORA-600, ORA-7445, ORA-4031, .. – Trimming interval +/- 600 seconds root@rac1node1:~/ tfactl set autodiagcollect=<ON|OFF> [-c] Tools, not only for RAC databases50 24.12.16
  • 51. TFA Collector – Commands (7) - analyze Checks system log files and Oracle log files on all nodes root@rac1node1:~/ [grid12102] tfactl analyze INFO: analyzing all (Alert and Unix System Logs) logs for the last 60 minutes... Please wait... INFO: analyzing host: rac1node1 Report title: Analysis of Alert,System Logs Report date range: last ~1 hour(s) Report (default) time zone: CET - Central European Time Analysis started at: 21-Feb-2015 09:02:34 PM CET [..] Message types for last ~1 hour(s) Occurrences percent server name type ----------- ------- -------------------- ----- 2 66.7% rac1node1 WARNING 1 33.3% rac1node1 generic [..] Tools, not only for RAC databases51 24.12.16
  • 52. TFA Collector – other tools (1) Tools, not only for RAC databases52 24.12.16 Command in TFACTL Explanation Alertsummary Event summary from all alert.log files Changes Lists changes of OS and instance configuration Oratop "top" for Oracle Databases, Linux client required Events List important events Pstack Stack trace for a process (across the cluster) Darda Diagnostic assistant, , common interface for various tools Prw (ProcWatcher) Capture diagnostic output for perfomance issues and session hangs (partial) list of the tools which are integrated in TFA (incl. "Support Tools Bundle"): Please see TFA documentation for a complete list incl. documentation for each tool
  • 53. TFA collector – other tools (2) – example output: events Tools, not only for RAC databases53 24.12.16 tfactl> events Output from host : walhall ------------------------------ May/02/2016 14:29:28 : [db.emrep.EMREP] : Starting ORACLE instance (normal) (OS id: 9557) May/02/2016 14:31:17 : [db.emrep.EMREP] : TNS-12537: TNS:connection closed [db.emrep.EMREP] : opiodr aborting process unknown ospid (15621) as a result of ORA-609 May/02/2016 14:29:28 : [db.tvd12_site1.TVD12] : Starting ORACLE instance (normal) (OS id: 9527) May/02/2016 14:29:28 : [db.tvd12cdb.TVD12CDB] : Starting ORACLE instance (normal) (OS id: 9537)
  • 54. TFA collector – other tools (3) – example output: oratop Tools, not only for RAC databases54 24.12.16
  • 55. Tools, not only for RAC databases55 24.12.16 Summary
  • 56. Summary Oracle provides a lot of tools to keep a database in a healthy state There are multiple ways to install the same tool The toolset is not complete integrated in the PSU lifecycle so far Overlapping functionality – Healthchecks: OraChk vs. cluvfy – System performance data: CHM vs. OSWatcher Σ Tools, not only for RAC databases56 24.12.16
  • 57. Tools, not only for RAC databases57 24.12.16 Further Information • Some MOS-Notes: • TFA Collector - Tool for Enhanced Diagnostic Gathering (Doc ID 1513912.1) • ORAchk - Health Checks for the Oracle Stack (Doc ID 1268927.2) • oratop - Utility for Near Real-time Monitoring of Databases (Doc ID 1500864.1) • SQLT Diagnostic Tool (Doc ID 215187.1) • Procwatcher: Script to Monitor and Examine Oracle DB and Clusterware (Doc ID 459694.1)
  • 58. Questions and Answers Markus Flechtner Principal Consultant Phone +49 211 5866 64725 Markus.Flechtner@Trivadis.com @markusdba http://markusdba.de Download the slides from http://www.slideshare.net/markusdba Please don‘t forget the session evaluation – Thank you! 24.12.16 Tools, not only for RAC databases58