E.2 Running Generic Compliance Framework (Oracle ORAchk and Oracle EXAchk) Commands

Review the list of generic Oracle ORAchk and Oracle EXAchk command options.

Syntax

[-a] 
[-v] 
[-debug] 
[-nodaemon] 
[-f] 
[-upgrade] 
[-noupgrade] 
[-testemail all | "NOTIFICATION_EMAIL=comma-delimited list of email addresses"] 
[-sendemail “NOTIFICATION_EMAIL=comma-delimited list of email addresses"] 
[-dbserial] 
[-dbparallel [n]] 
[-dbparallelmax]
[-readenvconfig]

Parameters

Table E-1 Generic Commands

Option Description

-a

Runs all checks, including the best practice checks and the recommended patch check. If you do not specify any options, then the tools run all checks by default.

-v

Shows the version of Oracle Autonomous Health Framework compliance tools.

-debug

Runs in debug mode.

The generated .zip file contains a debug log and other files useful for Oracle Support.

-nodaemon

Does not send commands to the daemon, usage is interactive.

-f

Runs Offline. The tools perform health checks on the data already collected from the system.

-upgrade

Forces an upgrade of the version of the tools being run.

-noupgrade

-noupgrade is for when you have the latest version in RAT_UPGRADE_LOC and do not yet want to upgrade.

Adding -noupgrade without having the latest version in RAT_UPGRADE_LOC will still prompt you to download the latest version.

-testemail all | "NOTIFICATION_EMAIL=comma-delimited list of email addresses"

Sends a test email to validate email configuration.

-sendemail “NOTIFICATION_EMAIL=comma-delimited list of email addresses"

Specify a comma-delimited list of email addresses.

Emails the generated HTML report on completion to the specified email addresses.

-dbserial

Runs the SQL, SQL_COLLECT, and OS health checks in serial.

-dbparallel [n]

Runs the SQL, SQL_COLLECT, and OS health checks in parallel, using n number of child processes.

Default is 25% of CPUs.

-dbparallelmax

Runs the SQL, SQL_COLLECT, and OS health checks in parallel, using the maximum number of child processes.

-readenvconfig

Read the configuration file conf_file under DATA_DIR/SERVER_NAME/common/config/user_username.

You cannot set the environment variables RAT_SSH, RAT_SSHELL, and RAT_SCOPY using the export option. You will have to create the configuration file and add them manually.

To read configuration file, run:
./exachk -readenvconfig
./orachk -readenvconfig