autonomous-health-framework-users-guide
autonomous-health-framework-users-guide
User’s Guide
23ai
F47496-03
February 2025
Autonomous Health Framework User’s Guide, 23ai
F47496-03
Contributing Authors: Aparna Kamath, Douglas Williams, Mark Bauer, Richard Strohm, Subhash Chandra
Contributors: Ankita Khandelwal, Arpit Shukla, Carol Colrain, Daniel Semler, Gareth Chapman, Girdhari Ghantiyala,
Girish Adiga, Jesus Guillermo Munoz Nunez, Macharapu Prasanth, Mark Scardina, Pallavi Kamath, Robert Caldwell,
Sahil Kumar, Troy Anthony, Vern Wagman, Walter Battistella
This software and related documentation are provided under a license agreement containing restrictions on use and
disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or
allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit,
perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation
of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find
any errors, please report them to us in writing.
If this is software, software documentation, data (as defined in the Federal Acquisition Regulation), or related
documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then
the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any
programs embedded, installed, or activated on delivered hardware, and modifications of such programs) and Oracle
computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial
computer software," "commercial computer software documentation," or "limited rights data" pursuant to the applicable
Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction,
duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle
programs (including any operating system, integrated software, any programs embedded, installed, or activated on
delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) other Oracle
data, is subject to the rights and limitations specified in the license contained in the applicable contract. The terms
governing the U.S. Government's use of Oracle cloud services are defined by the applicable contract for such services.
No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications. It is not
developed or intended for use in any inherently dangerous applications, including applications that may create a risk of
personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all
appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its
affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle®, Java, MySQL, and NetSuite are registered trademarks of Oracle and/or its affiliates. Other names may be
trademarks of their respective owners.
Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used
under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc, and the AMD logo
are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open
Group.
This software or hardware and documentation may provide access to or information about content, products, and
services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all
warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an
applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss,
costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth
in an applicable agreement between you and Oracle.
Contents
Preface
Audience vi
Documentation Accessibility vi
Related Documentation vi
Conventions vii
iii
2.8 Viewing the Status of Cluster Health Advisor 2-11
2.9 Enhanced Cluster Health Advisor Support for Oracle Pluggable Databases 2-12
Part IV Appendixes
iv
C chactl Command Reference
C.1 chactl monitor C-2
C.2 chactl unmonitor C-3
C.3 chactl status C-4
C.4 chactl config C-5
C.5 chactl calibrate C-6
C.6 chactl query diagnosis C-7
C.7 chactl query model C-10
C.8 chactl query repository C-10
C.9 chactl query calibration C-11
C.10 chactl remove model C-14
C.11 chactl rename model C-14
C.12 chactl export model C-15
C.13 chactl import model C-15
C.14 chactl set maxretention C-15
C.15 chactl resize repository C-16
v
Preface
Preface
Oracle Autonomous Health Framework User’s Guide explains how to use the Oracle
Autonomous Health Framework diagnostic components.
The diagnostic components include Oracle ORAchk, Oracle EXAchk, Cluster Health Monitor,
Oracle Trace File Analyzer Collector, Oracle Cluster Health Advisor, and Blocker Resolver.
Oracle Autonomous Health Framework User’s Guide also explains how to install and configure
Oracle Trace File Analyzer Collector.
This Preface contains these topics:
• Audience
• Documentation Accessibility
• Related Documentation
• Conventions
Audience
Database administrators can use this guide to understand how to use the Oracle Autonomous
Health Framework diagnostic components. This guide assumes that you are familiar with
Oracle Database concepts.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility
Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Related Documentation
For more information, see the following Oracle resources:
Related Topics
• Oracle Automatic Storage Management Administrator's Guide
• Oracle Database 2 Day DBA
• Oracle Database Concepts
vi
Preface
Conventions
The following text conventions are used in this document:
Convention Meaning
boldface Boldface type indicates graphical user interface elements associated with an
action, or terms defined in text or the glossary.
italic Italic type indicates book titles, emphasis, or placeholder variables for which
you supply particular values.
monospace Monospace type indicates commands within a paragraph, URLs, code in
examples, text that appears on the screen, or text that you enter.
vii
1
Introduction to Oracle Autonomous Health
Framework
Oracle Autonomous Health Framework is a collection of components that analyzes the
diagnostic data collected, and proactively identifies issues before they affect the health of your
clusters or your Oracle Real Application Clusters (Oracle RAC) databases.
Most of the Oracle Autonomous Health Framework components are already available in Oracle
Database 12c release 1 (12.1).
• Oracle Autonomous Health Framework Problem and Solution Space
Oracle Autonomous Health Framework (AHF) maximizes availability and performance by
enforcing best practices, capturing data at first failure, monitoring the whole system
(server, database, I/O, and network) to proactively discover issues and notify the user and
provide timely bug resolution by suggesting fixes automatically after failure.
• Components of Autonomous Health Framework
This section describes the diagnostic components that are part of Oracle Autonomous
Health Framework.
1-1
Chapter 1
Oracle Autonomous Health Framework Problem and Solution Space
1-2
Chapter 1
Components of Autonomous Health Framework
Performance issues can result from either software issues (bugs, configuration problems, data
contention, and so on) or client issues (demand, query types, connection management, and so
on).
Server and database performance issues are intertwined and difficult to separate. It is easier to
categorize them by their origin: database server or client.
1-3
Chapter 1
Components of Autonomous Health Framework
1-4
Chapter 1
Components of Autonomous Health Framework
1-5
Chapter 1
Components of Autonomous Health Framework
In Oracle Database 12c release 2 (12.2.0.1), Oracle Cluster Health Advisor supports the
monitoring of two critical subsystems of Oracle Real Application Clusters (Oracle RAC): the
database instance and the host system. Oracle Cluster Health Advisor determines and tracks
the health status of the monitored system. It periodically samples a wide variety of key
measurements from the monitored system.
Over a hundred database and cluster node problems have been modeled, and the specific
operating system and Oracle Database metrics that indicate the development or existence of
these problems have been identified. This information is used to construct a trained, calibrated
model that is based on a normal operational period of the target system.
Oracle Cluster Health Advisor runs an analysis multiple times a minute. Oracle Cluster Health
Advisor estimates an expected value of an observed input based on the default model. Oracle
Cluster Health Advisor then performs anomaly detection for each input based on the difference
between observed and expected values. If sufficient inputs associated with a specific problem
are abnormal, then Oracle Cluster Health Advisor raises a warning and generates an
immediate targeted diagnosis and corrective action.
Oracle Cluster Health Advisor models are conservative to prevent false warning notifications.
However, the default configuration may not be sensitive enough for critical production systems.
Therefore, Oracle Cluster Health Advisor provides an onsite model calibration capability to use
actual production workload data to form the basis of its default setting and increase the
accuracy and sensitivity of node and database models.
You can also use Oracle Cluster Health Advisor to diagnose and triage past problems. Specify
the past dates through the command-line interface CHACTL, AHF Insights, or AHF Scope.
1-6
Chapter 1
Components of Autonomous Health Framework
1.2.5.1 Using the Cluster Resource Activity Log to Monitor Cluster Resource Failures
The cluster resource activity log provides precise and specific information about a resource
failure, separate from diagnostic logs.
If an Oracle Clusterware-managed resource fails, then Oracle Clusterware logs messages
about the failure in the cluster resource activity log. Failures can occur as a result of a
problem with a resource, a hosting node, or the network. The cluster resource activity log
provides a unified view of the cause of resource failure.
Writes to the cluster resource activity log are tagged with an activity ID and any related data
gets the same parent activity ID, and is nested under the parent data. For example, if Oracle
Clusterware is running and you run the crsctl stop clusterware -all command, then all
activities get activity IDs, and related activities are tagged with the same parent activity ID. On
each node, the command creates sub-IDs under the parent IDs, and tags each of the
respective activities with their corresponding activity ID. Further, each resource on the
individual nodes creates sub-IDs based on the parent ID, creating a hierarchy of activity IDs.
The hierarchy of activity IDs enables you to analyze the data to find specific activities.
For example, you may have many resources with complicated dependencies among each
other, and with a database service. On Friday, you see that all of the resources are running on
one node but when you return on Monday, every resource is on a different node, and you want
to know why. Using the crsctl query calog command, you can query the cluster resource
activity log for all activities involving those resources and the database service. The output
provides a complete flow and you can query each sub-ID within the parent service failover ID,
and see, specifically, what happened and why.
You can query any number of fields in the cluster resource activity log using filters. For
example, you can query all the activities written by specific operating system users such as
root. The output produced by the crsctl query calog command can be displayed in either a
tabular format or in XML format.
The cluster resource activity log is an adjunct to current Oracle Clusterware logging and alert
log messages.
Note:
Oracle Clusterware does not write messages that contain security-related
information, such as log-in credentials, to the cluster activity log.
Use the following commands to manage and view the contents of the cluster resource activity
log:
1-7
Part I
Analyzing the Cluster Configuration
You can use tools in the Autonomous Health Framework to analyze your cluster configuration.
• Proactively Detecting and Diagnosing Performance Issues for Oracle RAC
Oracle Cluster Health Advisor provides system and database administrators with early
warning of pending performance issues, and root causes and corrective actions for Oracle
RAC databases and cluster nodes. Use Oracle Cluster Health Advisor to increase
availability and performance management.
2
Proactively Detecting and Diagnosing
Performance Issues for Oracle RAC
Oracle Cluster Health Advisor provides system and database administrators with early warning
of pending performance issues, and root causes and corrective actions for Oracle RAC
databases and cluster nodes. Use Oracle Cluster Health Advisor to increase availability and
performance management.
Oracle Cluster Health Advisor estimates an expected value of an observed input based on the
default model, which is a trained calibrated model based on a normal operational period of the
target system. Oracle Cluster Health Advisor then performs anomaly detection for each input
based on the difference between observed and expected values. If sufficient inputs associated
with a specific problem are abnormal, then Oracle Cluster Health Advisor raises a warning and
generates an immediate targeted diagnosis and corrective action.
Oracle Cluster Health Advisor also sends warning messages to Enterprise Manager Cloud
Control using the Oracle Clusterware event notification protocol.
The ability of Oracle Cluster Health Advisor to detect performance and availability issues on
Oracle Exadata systems has been improved in this release.
With the Oracle Cluster Health Advisor support for Oracle Solaris, you can now get early
detection and prevention of performance and availability issues in your Oracle RAC database
deployments.
For more information on Installing Grid Infrastructure Management Repository, see Oracle®
Grid Infrastructure Grid Infrastructure Installation and Upgrade Guide 20c for Linux.
• Oracle Cluster Health Advisor Architecture
Oracle Cluster Health Advisor runs as a highly available cluster resource, ochad, on each
node in the cluster.
• Removing Grid Infrastructure Management Repository
GIMR is desupported in Oracle Database 23ai. If GIMR is configured in your existing
Oracle Grid Infrastructure installation, then remove the GIMR.
• Monitoring the Oracle Real Application Clusters (Oracle RAC) Environment with Oracle
Cluster Health Advisor
Oracle Cluster Health Advisor is automatically provisioned on each node by default when
Oracle Grid Infrastructure is installed for Oracle Real Application Clusters (Oracle RAC) or
Oracle RAC One Node database.
• Using Cluster Health Advisor for Health Diagnosis
Oracle Cluster Health Advisor raises and clears problems autonomously.
• Calibrating an Oracle Cluster Health Advisor Model for a Cluster Deployment
As shipped with default node and database models, Oracle Cluster Health Advisor is
designed not to generate false warning notifications.
• Viewing the Details for an Oracle Cluster Health Advisor Model
Use the chactl query model command to view the model details.
2-1
Chapter 2
Removing Grid Infrastructure Management Repository
Note:
If GIMR is not configured, then do not follow this procedure.
2. Confirm if Oracle Fleet Patching and Provisioning (Oracle FPP) is configured in central
server mode in the current release.
Note:
If Oracle FPP is configured on your cluster, then you are recommended to use
the Oracle FPP Self-Upgrade feature for smooth migration of the metadata from
GIMR to the new metadata repository. Refer to Oracle Fleet Patching and
Provisioning Self Upgrade for more information about how to use the Oracle FPP
Self-Upgrade feature.
3. As the grid user, log in to any cluster node and create a new directory owned by grid to
store the GIMR deletion script.
mkdir -p $ORACLE_HOME/gimrdel
chown grid:oinstall $ORACLE_HOME/gimrdel
2-2
Chapter 2
Oracle Cluster Health Advisor Architecture
unzip -q $ORACLE_HOME/gimrdel/scriptgimr.zip
7. If Oracle FPP was configured in central mode, then export the Oracle FPP Metadata to re-
configure Oracle FPP after upgrading to Oracle Grid Infrastructure 23ai.
Grid_home/crs/install/reposScript.sh -
export_dir=dir_to_export_Oracle_FPP_metadata
8. Run the reposScript.sh script, in delete mode, from the /gimrdel directory.
$ORACLE_HOME/gimrdel/reposScript.sh -mode="Delete"
Note:
Oracle FPP stops working if you delete the GIMR, but do not upgrade to Oracle
Grid Infrastructure 23ai and re-configure Oracle FPP.
Related Topics
• My Oracle Support Note 2972418.1
2-3
Chapter 2
Monitoring the Oracle Real Application Clusters (Oracle RAC) Environment with Oracle Cluster Health Advisor
Oracle Cluster Health Advisor monitors all instances of the Oracle Real Application
Clusters (Oracle RAC) or Oracle RAC One Node database using the default model. Oracle
Cluster Health Advisor cannot monitor single-instance Oracle databases, even if the
single-instance Oracle databases share the same cluster as Oracle Real Application
Clusters (Oracle RAC) databases.
Each database instance is monitored independently both across Oracle Real Application
Clusters (Oracle RAC) database nodes and when more than one database run on a single
node.
2. To stop monitoring a database, run the following command:
Oracle Cluster Health Advisor stops monitoring all instances of the specified database.
However, Oracle Cluster Health Advisor does not delete any data or problems until it is
aged out beyond the retention period.
3. To check monitoring status of all cluster nodes and databases, run the following command:
$ chactl status
Use the –verbose option to see more details, such as the models used for the nodes and
each database.
2-4
Chapter 2
Using Cluster Health Advisor for Health Diagnosis
In the syntax example, db_unique_name is the name of your database instance. You also
specify the start time and end time for which you want to retrieve data. Specify date and
time in the YYYY-MM-DD HH24:MI:SS format.
2. Use the -htmlfile file_name option to save the output in HTML format.
Example 2-1 Cluster Health Advisor Output Examples in Text and HTML Format
This example shows the default text output for the chactl query diagnosis command for a
database named oltpacbd.
2-5
Chapter 2
Using Cluster Health Advisor for Health Diagnosis
The timestamp displays date and time when the problem was detected on a specific host or
database.
Note:
The same problem can occur on different hosts and at different times, yet the
diagnosis shows complete details of the problem and its potential impact. Each
problem also shows targeted corrective or preventive actions.
Here is an example of what the output looks like in the HTML format.
Related Topics
• chactl query diagnosis
Use the chactl query diagnosis command to return problems and diagnosis, and
suggested corrective actions associated with the problem for specific cluster nodes or
Oracle Real Application Clusters (Oracle RAC) databases.
2-6
Chapter 2
Calibrating an Oracle Cluster Health Advisor Model for a Cluster Deployment
Oracle recommends that a minimum of 6 hours of data be available and that both the cluster
and databases use the same time range for calibration.
The chactl calibrate command analyzes a user-specified time interval that includes all
workload phases operating normally. This data is collected while Oracle Cluster Health Advisor
is monitoring the cluster and all the databases for which you want to calibrate.
1. To check if sufficient data is available, run the query calibration command.
Note:
The query calibration command is supported only with GIMR. GIMR is
optionally supported in Oracle Database 19c. However, it's desupported in Oracle
Database 23ai.
If 720 or more records are available, then Oracle Cluster Health Advisor successfully
performs the calibration. The calibration function may not consider some data records to
be normally occurring for the workload profile being used. In this case, filter the data by
using the KPISET parameters in both the query calibration command and the calibrate
command.
For example:
2. Start the calibration and store the model under a user-specified name for the specified date
and time range.
For example:
2-7
Chapter 2
Calibrating an Oracle Cluster Health Advisor Model for a Cluster Deployment
2-8
Chapter 2
Calibrating an Oracle Cluster Health Advisor Model for a Cluster Deployment
Related Topics
• chactl calibrate
Use the chactl calibrate command to create a new model that has greater sensitivity
and accuracy.
• chactl query calibration
Use the chactl query calibration command to view detailed information about the
calibration data of a specific target.
• chactl Command Reference
The Oracle Cluster Health Advisor commands enable the Oracle Grid Infrastructure user to
administer basic monitoring functionality on the targets.
2-9
Chapter 2
Viewing the Details for an Oracle Cluster Health Advisor Model
• You can review the details of an Oracle Cluster Health Advisor model at any time using the
chactl query model command.
For example:
You can also rename, import, export, and delete the models.
Note:
Applicable only if GIMR is configured. GIMR is optionally supported in Oracle
Database 19c. However, it's desupported in Oracle Database 23ai.
The Oracle Cluster Health Advisor repository is used to diagnose and triage periodic problems.
By default, the repository is sized to retain data for 16 targets (nodes and database instances)
for 72 hours. If the number of targets increase, then the retention time is automatically
decreased. Oracle Cluster Health Advisor generates warning messages when the retention
time goes below 72 hours, and stops monitoring and generates a critical alert when the
retention time goes below 24 hours.
Use CHACTL commands to manage the repository and set the maximum retention time.
1. To retrieve the repository details, use the following command:
For example, running the command mentioned earlier shows the following output:
2-10
Chapter 2
Viewing the Status of Cluster Health Advisor
2. To set the maximum retention time in hours, based on the current number of targets being
monitored, use the following command:
For example:
Note:
The maxretention setting limits the oldest data retained in the repository, but is
not guaranteed to be maintained if the number of monitored targets increase. In
this case, if the combination of monitored targets and number of hours are not
sufficient, then increase the size of the Oracle Cluster Health Advisor repository.
3. To increase the size of the Oracle Cluster Health Advisor repository, use the chactl
resize repository command.
For example, to resize the repository to support 32 targets using the currently set
maximum retention time, you would use the following command:
Note:
A target is monitored only if it is running and the Oracle Cluster Health Advisor
service is also running on the host node where the target exists.
1. To check the status of Oracle Cluster Health Advisor service on all nodes in the Oracle
RAC cluster:
2-11
Chapter 2
Enhanced Cluster Health Advisor Support for Oracle Pluggable Databases
For example:
2. To check if Oracle Cluster Health Advisor service is enabled or disabled on all nodes in the
Oracle RAC cluster:
For example:
2-12
Part II
Automatically Monitoring the Cluster
You can use components of Autonomous Health Framework to monitor your cluster on a
regular basis.
• Collecting Operating System Resources Metrics
CHM is a high-performance, lightweight daemon that collects, analyzes, aggregates, and
stores a large set of operating system metrics to help you diagnose and troubleshoot
system issues.
• Monitoring System Metrics for Cluster Nodes
This chapter explains the methods to monitor Oracle Clusterware.
3
Collecting Operating System Resources
Metrics
CHM is a high-performance, lightweight daemon that collects, analyzes, aggregates, and
stores a large set of operating system metrics to help you diagnose and troubleshoot system
issues.
Supported Platforms
Linux, Microsoft Windows, Solaris, AIX, IBM Z Series, and ARM
3-1
Chapter 3
Understanding Cluster Health Monitor Services
Metric Repository is auto-managed on the local filesystem. You can change the location and
size of the repository.
• Nodeview samples are continuously written to the repository (JSON record)
• Historical data is auto-archived into hourly zip files
• Archived files are automatically purged once the default retention limit is reached (default:
200 MB)
Overview of Metrics
CHM groups the operating system data collected into a Nodeview. A Nodeview is a grouping
of metric sets where each metric set contains detailed metrics of a unique system resource.
Brief description of metric sets are as follows:
• CPU metric set: Metrics for top 127 CPUs sorted by usage percentage
• Device metric set: Metrics for 127 devices that include ASM/VD/OCR along with those
having a high average wait time
• Process metric set: Metrics for 127 processes
3-2
Chapter 3
Operating System Metrics Collected by Cluster Health Monitor
3-3
Chapter 3
Operating System Metrics Collected by Cluster Health Monitor
3-4
Chapter 3
Operating System Metrics Collected by Cluster Health Monitor
3-5
Chapter 3
Operating System Metrics Collected by Cluster Health Monitor
3-6
Chapter 3
Operating System Metrics Collected by Cluster Health Monitor
3-7
Chapter 3
Operating System Metrics Collected by Cluster Health Monitor
3-8
Chapter 3
Operating System Metrics Collected by Cluster Health Monitor
3-9
Chapter 3
Detecting Component Failures and Self-healing Autonomously
For each group, the below metrics are aggregated to report a group summary.
3-10
Chapter 3
Detecting Component Failures and Self-healing Autonomously
CRFE API: CRFE API is used by all C clients to send events to CHMDiag. This API is used by
internal clients like components (RDBMS/CSS/GIPC) to publish events/actions.
This API also provides support for both synchronous and asynchronous publication of events.
Asynchronous publication of events is done through a background thread which will be shared
by all CRFE API clients within a process.
CHMDIAG_BASE: This directory resides in ORACLEB_BASE/hostname/crf/chmdiag. This
directory path contains following directories, which are populated or managed by CHMDiag.
• ActionsResults: Contains all results for all of the invoked actions with a subdirectory for
each action.
• EventsLog: Contains a log of all the events/actions received by CHMDiag and the location
of their respective action results. These log files are also auto-rotated after reaching a fixed
size.
• CHMDiagLog: Contains CHMDiag daemon logs. Log files are auto-rotated and once they
reach a specific size. Logs should have sufficient debug information to diagnose any
problems that CHMDiag could run into.
• Config: Contains a run sub-directory for CHMDiag process pid file management.
New commands to query, collect, and describe CHMDiag events/actions sent by various
components:
• oclumon chmdiag description: Use the oclumon chmdiag description command to get
a detailed description of all the supported events and actions.
• oclumon chmdiag query: Use the oclumon chmdiag query command to query CHMDiag
events/actions sent by various components and generate an HTML or a text report.
• oclumon chmdiag collect: Use the oclumon chmdiag collect command to collect all
events/actions data generated by CHMDiag into the specified output directory location.
Related Topics
•
•
•
3-11
4
Monitoring System Metrics for Cluster Nodes
This chapter explains the methods to monitor Oracle Clusterware.
Oracle recommends that you use Oracle Enterprise Manager to monitor everyday operations
of Oracle Clusterware.
Cluster Health Monitor monitors the complete technology stack, including the operating
system, ensuring smooth cluster operations. Both the components are enabled, by default, for
any Oracle cluster. Oracle strongly recommends that you use both the components. Also,
monitor Oracle Clusterware-managed resources using the Clusterware resource activity log.
• Monitoring Oracle Clusterware with Oracle Enterprise Manager
Use Oracle Enterprise Manager to monitor the Oracle Clusterware environment.
• Monitoring Oracle Clusterware with Cluster Health Monitor
You can use the OCLUMON command-line tool to interact with Cluster Health Monitor.
4-1
Chapter 4
Monitoring Oracle Clusterware with Cluster Health Monitor
4-2
Chapter 4
Monitoring Oracle Clusterware with Cluster Health Monitor
OCLUMON is included with Cluster Health Monitor. You can use it to query the Cluster Health
Monitor repository to display node-specific metrics for a specified time period. You can also use
OCLUMON to perform miscellaneous administrative tasks, such as the following:
• Changing the debug levels with the oclumon debug command
• Querying the version of Cluster Health Monitor with the oclumon version command
• Viewing the collected information in the form of a node view using the oclumon
dumpnodeview command
• Changing the metrics datafile size using the ocloumon manage command
Related Topics
• OCLUMON Command Reference
Use the command-line tool to query the Cluster Health Monitor repository to display node-
specific metrics for a specific time period.
4-3
Part III
Automatic Problem Solving
Some situations can be automatically resolved with tools in the Autonomous Health
Framework.
• Resolving Database and Database Instance Delays
Blocker Resolver preserves the database performance by resolving delays and keeping
the resources available.
5
Resolving Database and Database Instance
Delays
Blocker Resolver preserves the database performance by resolving delays and keeping the
resources available.
• Blocker Resolver Architecture
Blocker Resolver autonomously runs as a DIA0 task within the database.
• Optional Configuration for Blocker Resolver
You can adjust the sensitivity, and control the size and number of the log files used by
Blocker Resolver.
• Blocker Resolver Diagnostics and Logging
Blocker Resolver autonomously resolves delays and continuously logs the resolutions in
the database alert logs and the diagnostics in the trace files.
Related Topics
• Introduction to Blocker Resolver
Blocker Resolver is an Oracle Real Application Clusters (Oracle RAC) environment feature
that autonomously resolves delays and keeps the resources available.
5-1
Chapter 5
Optional Configuration for Blocker Resolver
Note:
The DBMS_HANG_MANAGER package is deprecated in Oracle Database 23ai. Use
DBMS_BLOCKER_RESOLVER instead. The DBMS_HANG_MANAGER package provides a
method of changing some configuration parameters and constraints to address
session issues. This package is being replaced with DBMS_BLOCKER_RESOLVER.
DBMS_HANG_MANAGER can be removed in a future release.
Sensitivity
If Blocker Resolver detects a delay, then Blocker Resolver waits for a certain threshold time
period to ensure that the sessions are delayed. Change threshold time period by using
DBMS_BLOCKER_RESOLVER to set the sensitivity parameter to either Normal or High. If the
sensitivity parameter is set to Normal, then Blocker Resolver waits for the default time
period. However, if the sensitivity is set to High, then the time period is reduced by 50%.
By default, the sensitivity parameter is set to Normal. To set Blocker Resolver sensitivity, run
the following commands in SQL*Plus as SYS user:
exec dbms_blocker_resolver.set(dbms_blocker_resolver.sensitivity,
dbms_blocker_resolver.sensitivity_normal);
exec dbms_blocker_resolver.set(dbms_blocker_resolver.sensitivity,
dbms_blocker_resolver.sensitivity_high);
exec dbms_blocker_resolver.set(dbms_blocker_resolver.base_file_size_limit,
104857600);
exec dbms_blocker_resolver.set(dbms_blocker_resolver.base_file_set_count,6);
5-2
Chapter 5
Blocker Resolver Diagnostics and Logging
You also get detailed diagnostics about the delay detection in the trace files. Trace files and
alert logs have file names starting with database instance_dia0_.
*** 2016-07-16T12:39:02.715681-07:00
Resolvable Hangs in the System
Root Chain Total Hang
Hang Hang Inst Root #hung #hung Hang Hang Resolution
ID Type Status Num Sess Sess Sess Conf Span Action
----- ---- -------- ---- ----- ----- ----- ------ ------ -------------------
1 HANG RSLNPEND 3 44 3 5 HIGH GLOBAL Terminate Process
Hang Resolution Reason: Although hangs of this root type are typically
self-resolving, the previously ignored hang was automatically resolved.
Example 5-2 Error Message in the Alert Log Indicating a Delayed Session
This example shows an example of a Blocker Resolver alert log on the primary instance
2016-07-16T12:39:02.616573-07:00
Errors in file .../oracle/log/diag/rdbms/hm1/hm1/trace/hm1_dia0_i1111.trc
(incident=1111):
ORA-32701: Possible hangs up to hang ID=1 detected
Incident details in: .../oracle/log/diag/rdbms/hm1/hm1/incident/incdir_1111/
5-3
Chapter 5
Blocker Resolver Diagnostics and Logging
hm1_dia0_11111_i1111.trc
2016-07-16T12:39:02.674061-07:00
DIA0 requesting termination of session sid:44 with serial # 23456
(ospid:34569) on instance 3
due to a GLOBAL, HIGH confidence hang with ID=1.
Hang Resolution Reason: Although hangs of this root type are typically
self-resolving, the previously ignored hang was automatically resolved.
DIA0: Examine the alert log on instance 3 for session termination status of
hang with ID=1.
Example 5-3 Error Message in the Alert Log Showing a Session Delay Resolved by
Blocker Resolver
This example shows an example of a Blocker Resolver alert log on the local instance for
resolved delays
2016-07-16T12:39:02.707822-07:00
Errors in file .../oracle/log/diag/rdbms/hm1/hm11/trace/hm11_dia0_11111.trc
(incident=169):
ORA-32701: Possible hangs up to hang ID=1 detected
Incident details in: .../oracle/log/diag/rdbms/hm1/hm11/incident/incdir_169/
hm11_dia0_30676_i169.trc
2016-07-16T12:39:05.086593-07:00
DIA0 terminating blocker (ospid: 30872 sid: 44 ser#: 23456) of hang with ID =
1
requested by master DIA0 process on instance 1
Hang Resolution Reason: Although hangs of this root type are typically
self-resolving, the previously ignored hang was automatically resolved.
by terminating session sid:44 with serial # 23456 (ospid:34569)
...
DIA0 successfully terminated session sid:44 with serial # 23456 (ospid:34569)
with status 0.
5-4
Part IV
Appendixes
Syntax
A-1
Appendix A
oclumon analyze
Parameters
Parameter Description
-i CHM_METRICS_DIR Specify the directory containing CHM metrics.
--chm_metrics_dir
CHM_METRICS_DIR
-o OUT_DIR Specify the output directory for the results.
--out_dir OUT_DIR
-l LOG_DIR Specify the log directory.
--log_dir LOG_DIR
--log_level Specify the log level.
{DEBUG,INFO,WARNING,ERROR}
-s START_TIME Specify the start time for analysis in YYYY-MM-DDTHH:MM:SS
--start_time START_TIME format.
A-2
Appendix A
oclumon analyze
• Observed findings and findings summary timeline section: Contains the list of
observed problems, along with a summary timeline of the problems.
• Findings details section: Contains detailed contextual information for each of the
problems observed above.
A-3
Appendix A
oclumon dumpnodeview
Syntax
Parameters
Parameter Description
-system Dumps system metrics. For example:
.
-cpu Dumps CPU metrics. For example:
.
-process Dumps process metrics. For example:
.
-procagg Dumps process aggregate metrics. For example:
.
-device Dumps disk metrics. For example:
A-4
Appendix A
oclumon dumpnodeview
Parameter Description
-nic Dumps network interface metrics. For example:
.
-filesystem Dumps filesystem metrics. For example:
.
-thread Dumps thread metrics for pinned processes. For example:
.
-protocols Dumps network protocol metrics, cumulative values from system start. For
example:
.
-v Displays verbose node view output. For example:
oclumon dumpnodeview -v
.
-h, --help Displays the command-line help and exits.
Flag Description
-detail Use this option to dump detailed metrics.
Applicable to the -process and -nic options.
For example:
A-5
Appendix A
oclumon dumpnodeview
Flag Description
-all Use this option to dump the node views of all
entries. Applicable to the -process option.
For example:
.
-pinned_only Use this option to dump the node views of all
pinned processes. Applicable to the -process
option.
For example:
-head rows_count Use this option to dump the node view of the
specified number of metrics rows in the result.
Applicable to the -process option. Default is set to
5.
For example:
.
-sort metric_name Use this option to sort based on the specified
metric name, supported with the -process, -
device, -nic, -cpu, -procagg, -filesystem, -
nfs options.
For example:
.
-i seconds Display data separated by the specified interval in
seconds. Must be a multiple of 5. Applicable to
continuous mode query.
For example:
A-6
Appendix A
oclumon dumpnodeview
Flag Description
-filter string Use this option to search for a filter string in the
Name column of the respective metric.
For example, -process -filter "ora" will
display the process metrics, which contain "ora"
substring in their name.
Supported with the -process, -device, -nic, -
cpu, -procagg, -filesystem, -nfs options.
For example:
.
-show_all_sample_with_filter All samples where filter doesn't matches will also
show in the output. Can be used only with the -
filter option.
For example:
Directory Description
-inputDataDir absolute_dir_path Specifies absolute path of the directory that
contains JSON logs files.
For example:
A-7
Appendix A
oclumon chmdiag
Flag Description
-s start_time Use the -s option to specify a time stamp from
-e end_time which to start a range of queries and use the -e
option to specify a time stamp to end the range of
queries.
Specify time in the YYYY-MM-DD HH24:MM:SS
format surrounded by double quotation marks ("").
Specify these two options together to obtain a
range.
For example:
Syntax
A-8
Appendix A
oclumon localrepo getconfig
Parameters
Parameter Description
-reposize Gets the repository size in MB.
-repopath Gets the repository path.
-retentiontime Gets an estimation of local repository retention in
time units based on the historical data of the
currently configured repository size.
-local Gets the configuration only for the local node.
-n Gets the configuration for a desired list of nodes.
Node: <node-name2>
Repository size: 500 MB
Repository path: $ORACLE_HOME/crsdata/<node-name2>/crf/db/json
Repository retention time: 240 Hours
Example A-4 To view only the repository path and size of repositories in all nodes
Node: <node-name2>
Repository size: 500 MB
Repository path: $ORACLE_HOME/crsdata/<node-name2>/crf/db/json
Example A-5 To view full configuration of the repository for the local node
Example A-6 To view full configuration for the repositories on specific nodes <node-
name1> and <node-name2>
A-9
Appendix A
oclumon version
Node: <node-name2>
Repository size: 500 MB
Repository path: $ORACLE_HOME/crsdata/<node-name2>/crf/db/json
Repository retention time: 240 Hours
Syntax
oclumon version
Syntax
Parameters
Parameter Description
log daemon module:log_level Use this option change the log level of daemons and daemon
modules.
Supported daemons are:
osysmond
client
all
Supported daemon modules are:
osysmond: CRFMOND, CRFM, and allcomp
client: OCLUMON, CRFM, and allcomp
all: allcomp
Supported log_level values are 0, 1, 2, and 3.
Where level 0 is lowest default level with minimal logging and level
3 is highest level with maximum logging.
A-10
Appendix A
oclumon debug
Parameter Description
version Use this option to display the versions of the daemons.
A-11
B
Querying Cluster Resource Activity Log
Oracle Clusterware stores logs about resource state changes in the cluster resource activity
log.
Failures can occur as a result of a problem with a resource, a hosting node, or the network.
The cluster resource activity log provides precise and specific information about a resource
failure, separate from diagnostic logs. The cluster resource activity log also provides a unified
view of the cause of resource failure.
Use the following commands to view the contents of the cluster resource activity log:
• crsctl query calog
Query the cluster resource activity logs matching specific criteria.
Syntax
B-1
Appendix B
crsctl query calog
Parameters
Parameter Description
-aftertime "timestamp" Displays the activities logged after a specific time.
Specify the timestamp in the YYYY-MM-DD HH24:MI:SS[.FF]
[TZH:TZM] or YYYY-MM-DD or YYYY-MM or YYYY or HH24:MI:SS[.FF]
[TZH:TZM] format.
TZH and TZM stands for time zone hour and minute, and FF stands for
microseconds.
If you specify [TZH:TZM], then the crsctl command assumes UTC as
time zone. If you do not specify [TZH:TZM], then the crsctl command
assumes the local time zone of the cluster node from where the crsctl
command is run.
Use this parameter with -beforetime to query the activities logged at a
specific time interval.
-beforetime Displays the activities logged before a specific time.
"timestamp" Specify the timestamp in the YYYY-MM-DD HH24:MI:SS[.FF]
[TZH:TZM] or YYYY-MM-DD or YYYY-MM or YYYY or HH24:MI:SS[.FF]
[TZH:TZM] format.
TZH and TZM stands for time zone hour and minute, and FF stands for
microseconds.
If you specify [TZH:TZM], then the crsctl command assumes UTC as
time zone. If you do not specify [TZH:TZM], then the crsctl command
assumes the local time zone of the cluster node from where the crsctl
command is run.
Use this parameter with -aftertime to query the activities logged at a
specific time interval.
-days "number_of_days" Displays the activities logged in the last number of days specified. The
number of days are specified as an integer value.
-duration Use -duration to specify a time interval that you want to query when
"time_interval" | - you use the -aftertime parameter.
follow Specify the timestamp in the DD HH:MM:SS format.
Use -follow to display a continuous stream of activities as they occur.
-filter Query any number of fields in the cluster resource activity log using the -
"filter_expression" filter parameter.
To specify multiple filters, use a comma-delimited list of filter expressions
surrounded by double quotation marks ("").
-processname Displays the activities logged by a specific process identified by name.
"writer_process"
-processid Displays the activities logged by a specific process identified by ID.
"writer_process_id"
-node Displays the activities logged by a specific host.
"entity_hostname"
-fullfmt | -xmlfmt To display cluster resource activity log data, choose full or XML format.
B-2
Appendix B
crsctl query calog
B-3
Appendix B
crsctl query calog
B-4
Appendix B
crsctl query calog
Usage Notes
• Combine simple filters into expressions called expression filters using Boolean operators.
• Enclose timestamps and time intervals in double quotation marks ("").
• Enclose the filter expressions in double quotation marks ("").
• Enclose the values that contain parentheses or spaces in single quotation marks ('').
• If no matching records are found, then the Oracle Clusterware Control (CRSCTL) utility
displays the following message:
CRS-40002: No activities match the query.
Examples
Examples of filters include:
• "writer_user==root": Limits the display to only root user.
• "customer_data=='GEN_RESTART@SERVERNAME(rwsbi08)=StartCompleted~'" : Limits the
display to customer_data that has the specified value
GEN_RESTART@SERVERNAME(node1)=StartCompleted~.
B-5
Appendix B
crsctl query calog
To query all the resource activities and display the output in full format:
----ACTIVITY START----
timestamp : 2016-09-27 17:55:43.152000
writer_process_id : 6538
writer_process_name : crsd.bin
writer_user : root
writer_group : root
writer_hostname : node1
writer_clustername : cluster1-mb1
customer_data : CHECK_RESULTS=-408040060~
nls_product : CRS
nls_facility : CRS
nls_id : 2938
nls_field_count : 1
nls_field1 : ora.cvu
nls_field1_type : 25
nls_field1_len : 0
nls_format : Resource '%s' has been modified.
nls_message : Resource 'ora.cvu' has been modified.
actid : 14732093665106538/1816699/1
is_planned : 1
onbehalfof_user : grid
onbehalfof_hostname : node1
entity_isoraentity : 1
entity_type : resource
entity_name : ora.cvu
entity_hostname : node1
entity_clustername : cluster1-mb1
nls_severity : INFO
----ACTIVITY END----
To query all the resource activities and display the output in XML format:
B-6
Appendix B
crsctl query calog
<nls_field1_len>0</nls_field1_len>
<nls_format>Resource '%s' has been modified.</nls_format>
<nls_message>Resource 'ora.cvu' has been modified.</nls_message>
<actid>14732093665106538/1816699/1</actid>
<is_planned>1</is_planned>
<onbehalfof_user>grid</onbehalfof_user>
<onbehalfof_hostname>node1</onbehalfof_hostname>
<entity_isoraentity>1</entity_isoraentity>
<entity_type>resource</entity_type>
<entity_name>ora.cvu</entity_name>
<entity_hostname>node1</entity_hostname>
<entity_clustername>cluster1-mb1</entity_clustername>
<nls_severity>INFO</nls_severity>
</activity>
</activities>
To query resource activities for a two-hour interval after a specific time and display the output
in XML format:
B-7
Appendix B
crsctl query calog
or
----ACTIVITY START----
timestamp : 2016-09-15 17:42:57.517000
writer_process_id : 6538
writer_process_name : crsd.bin
writer_user : root
writer_group : root
writer_hostname : node1
writer_clustername : cluster1-mb1
customer_data : GEN_RESTART@SERVERNAME(rwsbi08)=StartCompleted~
nls_product : CRS
nls_facility : CRS
nls_id : 2938
nls_field_count : 1
nls_field1 : ora.testdb.db
nls_field1_type : 25
nls_field1_len : 0
nls_format : Resource '%s' has been modified.
nls_message : Resource 'ora.devdb.db' has been modified.
actid : 14732093665106538/659678/1
is_planned : 1
onbehalfof_user : oracle
onbehalfof_hostname : node1
entity_isoraentity : 1
entity_type : resource
entity_name : ora.testdb.db
entity_hostname : node1
entity_clustername : cluster1-mb1
nls_severity : INFO
----ACTIVITY END----
To query all the calogs that were generated after UTC+08:00 time "2016-11-15 22:53:08":
B-8
Appendix B
crsctl query calog
To query all the calogs that were generated after UTC-08:00 time "2016-11-15 22:53:08":
To query all the activities that were written by a specific process by name:
To query all the activities that were written by a specific process by ID:
B-9
C
chactl Command Reference
The Oracle Cluster Health Advisor commands enable the Oracle Grid Infrastructure user to
administer basic monitoring functionality on the targets.
• chactl monitor
Use the chactl monitor command to start monitoring all the instances of a specific Oracle
Real Application Clusters (Oracle RAC) database using the current set model.
• chactl unmonitor
Use the chactl unmonitor command to stop monitoring all the instances of a specific
database.
• chactl status
Use the chactl status command to check monitoring status of the running targets.
• chactl config
Use the chactl config command to list all the targets being monitored, along with the
current model of each target.
• chactl calibrate
Use the chactl calibrate command to create a new model that has greater sensitivity
and accuracy.
• chactl query diagnosis
Use the chactl query diagnosis command to return problems and diagnosis, and
suggested corrective actions associated with the problem for specific cluster nodes or
Oracle Real Application Clusters (Oracle RAC) databases.
• chactl query model
Use the chactl query model command to list all Oracle Cluster Health Advisor models or
to view detailed information about a specific Oracle Cluster Health Advisor model.
• chactl query repository
Use the chactl query repository command to view the maximum retention time, number
of targets, and the size of the Oracle Cluster Health Advisor repository.
• chactl query calibration
Use the chactl query calibration command to view detailed information about the
calibration data of a specific target.
• chactl remove model
Use the chactl remove model command to delete an Oracle Cluster Health Advisor model
along with the calibration data and metadata of the model from the Oracle Cluster Health
Advisor repository.
• chactl rename model
Use the chactl rename model command to rename an Oracle Cluster Health Advisor
model in the Oracle Cluster Health Advisor repository.
• chactl export model
Use the chactl export model command to export Oracle Cluster Health Advisor models.
• chactl import model
Use the chactl import model command to import Oracle Cluster Health Advisor models.
C-1
Appendix C
chactl monitor
Syntax
Parameters
Parameter Description
db_unique_name Specify the name of the database.
model_name Specify the name of the model.
force Use the -force option to monitor with the specified model without
stopping monitoring the target.
Without the -force option, run chactl unmonitor first, and then
chactl monitor with the model name.
Examples
• To monitor the SalesDB database using the BlkFridayShopping default model:
C-2
Appendix C
chactl unmonitor
If you specify the model_name, then Oracle Cluster Health Advisor starts monitoring with
the specified model and stores the model in the Oracle Cluster Health Advisor internal
store.
If you use both the –model and –force options, then Oracle Cluster Health Advisor stops
monitoring and restarts monitoring with the specified model.
• To monitor the SalesDB database using the Dec2014 model:
• To monitor the InventoryDB database using the Dec2014 model and the -force option:
Error Messages
Error: no CHA resource is running in the cluster.
Description: Returns when there is no hub or leaf node running the Oracle Cluster Health
Advisor service.
Error: the database is not configured.
Description: Returns when the database is not found in either the Oracle Cluster Health
Advisor configuration repository or as a CRS resource.
Error: input string “xc#? %” is invalid.
Description: Returns when the command-line cannot be parsed. Also displays the top-level
help text.
Error: CHA is already monitoring target <dbname>.
Syntax
Examples
To stop monitoring the SalesDB database:
C-3
Appendix C
chactl status
If you do not specify any parameters, then the chactl status command returns the status of
all running targets.
The monitoring status of an Oracle Cluster Health Advisor target can be either Monitoring or
Not Monitoring. The chactl status command shows four types of results and depends on
whether you specify a target and -verbose option.
The -verbose option of the command also displays the monitoring status of targets contained
within the specified target and the names of executing models of each printed target. The
chactl status command displays targets with positive monitoring status only. The chactl
status command displays negative monitoring status only when the corresponding target is
explicitly specified on the command-line.
Syntax
Examples
• To display the list of cluster nodes and databases being monitored:
#chactl status
Monitoring nodes rac1Node1, rac1Node2
Monitoring databases SalesDB, HRdb
Note:
A database is displayed with Monitoring status, if Oracle Cluster Health Advisor
is monitoring one or more of the instances of the database, even if some of the
instances of the database are not running.
$ chactl status
Cluster Health Advisor service is offline.
No target or the -verbose option is specified on the command-line. Oracle Cluster Health
Advisor is not running on any node of the cluster.
C-4
Appendix C
chactl config
• To display various Oracle Cluster Health Advisor monitoring states for cluster nodes and
databases:
or
• To display the detailed Oracle Cluster Health Advisor monitoring status for the entire
cluster:
When the target is not specified and the –verbose option is specified, the chactl status
command displays the status of the database instances and names of the models.
Syntax
C-5
Appendix C
chactl calibrate
Examples
To display the monitor configuration and the specified model of each target:
$ chactl config
Databases monitored: prodDB, hrDB
C-6
Appendix C
chactl query diagnosis
Syntax
Examples
Error Messages
Error: input string “xc#? %” is misconstructed
Description: Confirm if the given model name exists with Warning: model_name already
exists, please use [-force] message.
Syntax
C-7
Appendix C
chactl query diagnosis
Examples
To display diagnostic information of a database for a specific time interval:
C-8
Appendix C
chactl query diagnosis
(oltpacdb_1) [detected]
2016-02-01 01:47:10.0 Database oltpacdb DB Control File IO Performance
(oltpacdb_2) [detected]
2016-02-01 02:52:15.0 Database oltpacdb DB CPU Utilization (oltpacdb_2)
[detected]
2016-02-01 02:52:50.0 Database oltpacdb DB CPU Utilization (oltpacdb_1)
[detected]
2016-02-01 02:59:35.0 Database oltpacdb DB Log File Switch (oltpacdb_1)
[detected]
2016-02-01 02:59:45.0 Database oltpacdb DB Log File Switch (oltpacdb_2)
[detected]
Error Message
Message: Target is operating normally
Description: No data was found, but the target was operating or active at the time of the
query.
Message: Target is not active or was not being monitored.
C-9
Appendix C
chactl query model
Description: No data was found because the target was not monitored at the time of the
query.
Syntax
Examples
• To list all base Oracle Cluster Health Advisor models:
• To view detailed information, including calibration metadata, about the specific Oracle
Cluster Health Advisor model:
C-10
Appendix C
chactl query calibration
Note:
Applicable only if GIMR is configured. GIMR is optionally supported in Oracle
Database 19c. However, it's desupported in Oracle Database 23ai.
Syntax
Examples
To view information about the Oracle Cluster Health Advisor repository:
Syntax
Note:
Applicable only if GIMR is configured. GIMR is optionally supported in Oracle
Database 19c. However, it's desupported in Oracle Database 23ai.
Note:
If you do not specify a time interval, then the chactl query calibration command
displays all the calibration data collected for a specific target.
C-11
Appendix C
chactl query calibration
Examples
To view detailed information about the calibration data of the specified target:
C-12
Appendix C
chactl query calibration
C-13
Appendix C
chactl remove model
Note:
If the model is being used to monitor the targets, then the chactl remove model
command cannot delete any model.
Syntax
Error Message
Error: model_name does not exist
Description: The specified Oracle Cluster Health Advisor model does not exist in the Oracle
Cluster Health Advisor repository.
Syntax
Error Messages
Error: model_name does not exist
Description: The specified model name does not exist in the Oracle Cluster Health Advisor
repository.
Error: dest_name already exist
C-14
Appendix C
chactl export model
Description: The specified model name already exists in the Oracle Cluster Health Advisor
repository.
Syntax
Note:
Applicable only if GIMR is configured. GIMR is optionally supported in Oracle
Database 19c. However, it's desupported in Oracle Database 23ai.
Example
Syntax
Note:
Applicable only if GIMR is configured. GIMR is optionally supported in Oracle
Database 19c. However, it's desupported in Oracle Database 23ai.
While importing, if there is an existing model with the same name as the model being imported,
then use the -force option to overwrite.
C-15
Appendix C
chactl resize repository
Note:
Oracle Cluster Health Advisor stops monitoring if the retention time is less than 24
hours.
Syntax
Examples
To set the maximum retention time to 80 hours:
Error Message
Error: Specified time is smaller than the allowed minimum
Description: This message is returned if the input value for maximum retention time is smaller
than the minimum value.
Note:
Syntax
C-16
Appendix C
chactl resize repository
Examples
To set the number of targets in the tablespace to 32:
C-17
D
Behavior Changes, Deprecated and
Desupported Features
Review information about changes, deprecations, and desupports.
• Oracle Database Quality of Service (QoS) Management is Deprecated and Desupported in
Release 21c
Starting in Oracle Database release 21c, Oracle Database Quality of Service (QoS)
Management is deprecated and desupported.
D-1