2.6 Oracle ORAchk Specific Command-Line Options

List of command-line options specific to Oracle ORAchk.

2.6.1 Running Auto Start

Use the list of commands in this section to run auto start.

Table 2-8 Auto start

Option Description

-autostart

Configure auto start.

The daemon restarts at 1 am every day to discover any environment changes. The daemon runs a full local Oracle ORAchk check at 2 am every day, and a partial run of the most impactful checks every 6 hours through the oratier1 profile.

The daemon automatically purges any collections older than 2 weeks.

Applicable only on Linux or Solaris on non-engineered systems.

You must run this command as root.

-autostop

Remove auto start configuration.

You must run this command as root.

2.6.2 Application Continuity Command-Line Options

List of Application Continuity command-line options.

Table 2-9 Application Continuity Command-Line Options

Command-Line Argument Shell Environment Variable Usage

–asmhome jarfilename

RAT_AC_ASMJAR

This must point to a version of asm-all-5.0.3.jar that you download from ASM Home Page.

-javahome JDK8dirname

RAT_JAVA_HOME

This must point to the JAVA_HOME directory for a JDK8 installation.

-appjar dirname

RAT_AC_JARDIR

To analyze the application code for references to Oracle concrete classes, this must point to the parent directory name for the code. The program analyzes .class files, and recursively .jar files and directories.

To analyze the coverage, specify a directory name that contains one or more database server trace files. The trace directory is generally,
$ORACLE_BASE/diag/rdbms/$ORACLE_UNQNAME/$ORACLE_SID/trace

NONE

RAT_ACTRACEFILE_WINDOW

When scanning the trace directory, this optional value limits the analysis to scanning to files created in the most recent specified number of days

Example 2-1 Application Continuity Command-Line Options

$ ./orachk -asmhome /tmp/asm-all-5.0.3.jar -javahome /tmp/jdk1.8.0_40 -apptrc $ORACLE_BASE/diag/rdbms/$ORACLE_SID/trace 3

Related Topics

2.6.3 Oracle ORAchk for Oracle Identity and Access Management Command-Line Options

List of Oracle ORAchk for Oracle Identity and Access Management command-line options.

Table 2-10 Oracle Identity and Access Management Options

Option Description

-idm –h

Displays IDM help.

-idmpreinstall

Runs all pre-install checks on Identity Management System.

-idmpostinstall

Runs all post-install checks on Identity Management System.

-idmruntime

Runs all runtime checks on Identity Management System.

-idmdbpreinstall

Runs pre-install database checks on Identity Management System.

-idmpdbostinstall

Runs post-install database checks on Identity Management System.

-idmdbruntime

Runs runtime database checks on Identity Management System.

-idm_config

Passes OAM, OIM, and one of the OUD host from clusters.

-Idmdiscargs

Passes arguments to Identity Management Discovery Tool.

-idmhcargs

Passes arguments to Identity Management Healthcheck Tool.

Oracle Identity and Access Management Health Check Scenarios

Table 2-11 Oracle Identity and Access Management Health Check Scenarios

Scenario Command

Run pre-install checks.

./orachk -idmpreinstall -idm_config "OUD_HOST=h1,h2;OIM_HOST=h3,h4;OAM_HOST=h5,h6,h7;OHS_HOST=h8,h9"

Run pre-install database checks.

./orachk –idmdbpreinstall

Run post-install checks on single node Identity Management setup.

./orachk -idmpostinstall –idm_config "singlenode"

Run runtime checks on multi-mode Identity Management setup.

./orachk -idmruntime -idm_config "OUD_HOST=host1,host2;OAM_HOST=host3;OIM_HOST=host4"

Run OIM runtime checks on multi-mode Identity Management setup.

./orachk -idmruntime -idm_config "OUD_HOST=host1,host2;OAM_HOST=host3;OIM_HOST=host4" -profile "OIM"

Run OIM and OAM post-install checks on single node Identity Management setup.

./orachk -idmpostinstall -idm_config "singlenode" -profile "OIM,OAM"

Run runtime checks with log level specified for Identity Management.

./orachk -idmruntime -idmdiscargs "-DlogLevel=FINEST" -idmhcargs "-DlogLevel=FINEST"

Discovery and Healthcheck tool Run checks directly passing topology.xml and credconfig location.

./orachk - idmpreinstall | idmpostinstall | idmruntime -topology topology.xml -credconfig credconfig

2.6.4 ZFS Storage Appliance Options

List of ZFS Storage Appliance options.

Table 2-12 ZFS Storage Appliance Options

Option Description

–zfssa node

Runs Oracle ORAchk only on selected ZFS appliance nodes, where  node is a comma-delimited list of ZFS Storage Appliance names.

For example:
./orachk -zfssa node1,node2