3.1.8 Understanding Oracle Exachk specifics for Oracle Exadata and Zero Data Loss Recovery Appliance
Understand the features and learn to perform tasks specific to Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance.
- Installation Requirements for Running Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance
Understand the requirements for installing Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance, either on your local database or on a remote device that is connected to a database. - Using Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance
Usage of Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance depends on other considerations such as virtualization, parallel run, and so on. - Troubleshooting Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance
Follow these steps to troubleshoot and fix Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance issues.
Parent topic: Compliance Checking with Oracle Orachk and Oracle Exachk
3.1.8.1 Installation Requirements for Running Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance
Understand the requirements for installing Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance, either on your local database or on a remote device that is connected to a database.
Note:
For more information about installing and upgrading Oracle Autonomous Health Framework, see Installing and Upgrading Oracle Autonomous Health Framework.Related Topics
3.1.8.2 Using Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance
Usage of Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance depends on other considerations such as virtualization, parallel run, and so on.
- Database Default Access on the Client Interface
If you use the client interface as the default access for your database, then use the-clusternodescommand-line option to instruct Oracle EXAchk to communicate over the management interface. - Virtualization Considerations
Oracle Exachk supports virtualization on Oracle Exadata. - Running Serial Data Collection
By default, Oracle EXAchk runs parallel data collection for the storage servers, InfiniBand switches, and Oracle Databases. - Using the root User ID in Asymmetric and Role Separated Environments
Run Oracle EXAchk asrootto simplify the work required in asymmetric or role separated environments. - Environment Variables for Specifying a Different User Than root
Review the list of environment variables for specifying a different user thanroot. - Oracle EXAchk InfiniBand Switch Processing
This topic explains how Oracle EXAchk InfiniBand switch processing is done when Oracle Exalogic and Oracle Exadata engineered systems reside on the same InfiniBand fabric.
3.1.8.2.1 Database Default Access on the Client Interface
If you use the client interface as the default access for your database,
then use the -clusternodes command-line option to instruct Oracle EXAchk to
communicate over the management interface.
-clusternodes dbadm01,dbadm02,dbadm03,dbadm04Note:
When using the-clusternodes option, start Oracle EXAchk on the first
database in the list.
Table 3-6 Example Cluster Configuration
| Interface | Database Host names |
|---|---|
|
Management |
|
|
Client |
|
3.1.8.2.2 Virtualization Considerations
Oracle Exachk supports virtualization on Oracle Exadata.
To run hardware and operating system level checks for database, storage servers, InfiniBand fabric, and InfiniBand switches:
- Install Oracle Exachk into the management domain also referred to as
DOM0 - Run Oracle Exachk as
root
When you run Oracle Exachk from DOM0, Oracle Exachk:
- Discovers all compute nodes, storage servers, and InfiniBand switches in the entire InfiniBand fabric
- Runs on all those components
To run Oracle Exachk on a subset of nodes when Oracle Exachk is run in the management domain, use the command-line options:
-clusternodesto designate databases-cellsto designate storage servers-ibswitchesto designate InfiniBand switches
root on the dom0 database node, randomadm01:exachk -clusternodes randomadm01,randomadm02 \
-cells randomceladm01,randomceladm02,randomceladm03 \
-ibswitches randomsw-ibs0,randomsw-iba0,randomsw-ibb0Run Oracle Exachk separately for each cluster in a user domain also referred to as DOMUs in addition to running it in the management domain dom0. Within the DOMU, there is no need to use the above parameters because Oracle Exachk will automatically discover the nodes in the cluster.
For example, consider 2 clusters and 4 user domains in each cluster. Although there are a total of 8 user domains, Oracle Exachk runs only twice. Once on the first node of the first cluster running in the first user domain and once on the first node of second cluster running in the second user domain. The user domain runs do not include hardware or operating system level checks on the database, storage servers, or InfiniBand switches.
Note:
Run Oracle Exachk as root in the management domain and the user domains.
3.1.8.2.3 Running Serial Data Collection
By default, Oracle EXAchk runs parallel data collection for the storage servers, InfiniBand switches, and Oracle Databases.
You can also configure Oracle EXAchk to run serial data collection.
To run serial data collection for the storage server, database, and InfiniBand switches, set the following environment variables:
-
RAT_COMPUTE_RUNMODE -
RAT_CELL_RUNMODE -
RAT_IBSWITCH_RUNMODE
3.1.8.2.4 Using the root User ID in Asymmetric and Role Separated Environments
Run Oracle EXAchk as root to simplify the work required in
asymmetric or role separated environments.
If database homes are not symmetric, then install Oracle EXAchk on multiple databases in the cluster, such that there is one installation for each Oracle Database home located on a subset of databases.
For this example, assume the following configuration in the same cluster:
Table 3-7 Using root User ID in Asymmetric and Role Separated Environments
| Owner User ID | Oracle Database Home | Installed on | Databases |
|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Further, there is role separation between user1 and
user2 and Grid, such that none can access the
database structure of the others. You can also enforce company policy to isolate the
system administrators from the database administrators.
Do the following:
-
As
root, install Oracle EXAchk in the/tmp/exachk/121026directory ondb01. -
As
root, install Oracle EXAchk the/tmp/exachk/121026directory ondb05. -
As
root, ondb01:cd /tmp/exachk/121026 exachk -clusternodes db01,db02,db03,db04Choose
dbm-afrom the database selection list to collect the database checks fordbm-a. -
As
rootondb05:cd /tmp/exachk/121026 exachk -excludeprofiles storage,switch -clusternodes db05,db06,db07,db08Choose
dbm-banddbm-cfrom the Oracle Database selection list to collect the database checks fordbm-banddbm-c. -
If desired, use the
-mergecommand-line option to merge the reports.
3.1.8.2.5 Environment Variables for Specifying a Different User Than root
Review the list of environment variables for specifying a different user than root.
-
RAT_CELL_SSH_USERBy default, Oracle EXAchk runs as
rootto run checks on an Oracle Exadata Storage Server.If security policies do not permit connection to a storage server asrootover SSH, then you can specify a different user by setting this environment variable:export RAT_CELL_SSH_USER=celladminNote:
If you specify
RAT_CELL_SSH_USER, then a subset of checks is run, based upon the privileges of the alternate user you specify. -
RAT_IBSWITCH_USERBy default, Oracle EXAchk runs as
rootto run checks on the InfiniBand switches, when you run Oracle EXAchk on an Oracle Database asroot. By default, when Oracle EXAchk is run as a user other thanrooton a database, thenm2useris used to run checks on the InfiniBand switches.If security policies do not permit connection to an InfiniBand switch as either therootornm2useruser over SSH, then specify a different user by setting this environment variable:export RAT_IBSWITCH_USER=ilom-adminNote:
If you specify
RAT_IBSWITCH_USER, then a subset of checks is run, based upon the privileges of the alternate user you specify.
3.1.8.2.6 Oracle EXAchk InfiniBand Switch Processing
This topic explains how Oracle EXAchk InfiniBand switch processing is done when Oracle Exalogic and Oracle Exadata engineered systems reside on the same InfiniBand fabric.
-
Running Oracle EXAchk on an Oracle Exadata database server excludes the Exalogic gateway switches.
-
Running Oracle EXAchk on an Oracle Exalogic compute node excludes the Exadata switches.
3.1.8.3 Troubleshooting Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance
Follow these steps to troubleshoot and fix Oracle Exachk on Oracle Exadata and Zero Data Loss Recovery Appliance issues.
Error RC-003 - No Audit Checks Were Found
Description: While identifying the environment characteristics, Oracle Exachk
- Constructs environment variables
- Compares with the Oracle Exachk rules database to determine what checks to run
If one of the environment variables does not match a known profile in the rules database, then Oracle Exachk displays an error error RC-003 - no audit checks were found… and exits.
Cause: The most common case occurs when an older version of Oracle Exachk is used in an Oracle Exadata Database machine environment with recently released components. This may occur because of a delay between the release of a new component or version and when Oracle Exachk incorporates support for it.
Error RC-003 - No audit checks were found for LINUXX8664OELRHEL5_112030-. Please refer to the section for this error code in "Appendix A - Troubleshooting Scenarios" of the "Exachk User Guide".
In this example, _112030 indicates that Oracle Database release 11.2.0.3.0 was installed on the system. Since the version of Oracle Exachk used did not support 11.2.0.3.0, Oracle Exachk could not find a known match in the Oracle Exachk rules database.
How Long Should It Take to Run Oracle Exachk?
The time it takes to run the tool varies based on the number of nodes in a cluster, CPU load, network latency, and so on. Normally the entire process takes only a few minutes per node, that is, less than 5 minutes per node. If it takes substantially more time than 5 minutes, then investigate the problem.
With the introduction of parallelized database collection in 2.2.5, the elapsed time for systems with many databases is reduced. Experience in the field is that, it normally takes about 10 minutes for a quarter rack X2-2 system with one database. On an internal X3-2 half rack with 20 storage servers, 9 InfiniBand switches, and 44 databases, the elapsed time was 44 minutes.