Oracle ORAchk or Oracle EXAchk Scheduler is Now Run by the Oracle Trace File Analyzer Daemon

Starting in AHF 20.1.1, Oracle ORAchk or Oracle EXAchk scheduler is run by the Oracle Trace File Analyzer daemon by default.

Oracle Trace File Analyzer scheduler:
  • Decides which is the master node.
  • Picks the Oracle ORAchk or Oracle EXAchk entries only on the master node.
  • Runs only on the master node.
  • Runs Oracle ORAchk or Oracle EXAchk clusterwide.
  • Consolidates all the output on the master node.
  • Enters which is the master node in the logs.
  • Notifies through email that points to the master node where the report output is stored.

To run the Oracle ORAchk or Oracle EXAchk scheduler without the Oracle Trace File Analyzer daemon, use the -use_legacy_scheduler option.

For example:
orachk -use_legacy_scheduler
exachk -use_legacy_scheduler
Oracle ORAchk or Oracle EXAchk falls back to the legacy mechanism for setting up the daemon:
  • If you have installed Oracle Trace File Analyzer as root and if the Oracle Trace File Analyzer scheduler is down or not running.
  • If you have installed Oracle Trace File Analyzer as a non-root user, so the Oracle Trace File Analyzer scheduler is not available.

In both the cases, you need not use the orachk –d start | stop commands to start or stop the Oracle ORAchk or Oracle EXAchk daemon, or the initsetup command to set up the daemon for automatic restart and the initrmsetup command to remove automatic restart configuration.

Example - Oracle ORAchk/Oracle EXAchk scheduler vs Oracle Trace File Analyzer scheduler

orachk -d status
If Oracle ORAchk is using the Oracle Trace File Analyzer scheduler, then Oracle ORAchk displays the message as follows:
orachk is using TFA Scheduler. TFA PID: 19557
If Oracle ORAchk is using the old mechanism, then Oracle ORAchk displays the message as follows:
orachk daemon is running. Daemon PID:20056
exachk -d status
If Oracle EXAchk is using the Oracle Trace File Analyzer scheduler, then Oracle EXAchk displays the message as follows:
exachk is using TFA Scheduler. TFA PID: 19557
If Oracle EXAchk is using the old mechanism, then Oracle EXAchk displays the message as follows:
exachk daemon is running. Daemon PID:20056
orachk -d info
If Oracle ORAchk is using the Oracle Trace File Analyzer scheduler:
------------------------------------------------------------
orachk daemon information
------------------------------------------------------------
Install node = testserver
orachk daemon version = 20.1.0(BETA)
Install location = /opt/oracle.ahf/orachk
Started at = date-and-time
Scheduler type = TFA Scheduler
Service type = TFA Service
If Oracle ORAchk is using the old mechanism:
------------------------------------------------------------
orachk daemon information
------------------------------------------------------------
Install node = testserver
orachk daemon version = 20.1.0(BETA)
Install location = /opt/oracle.ahf/orachk
Started at = date-and-time
Scheduler type = orachk Scheduler
Service type = orachk Service
exachk -d info
If Oracle EXAchk is using the Oracle Trace File Analyzer scheduler:
------------------------------------------------------------
exachk daemon information
------------------------------------------------------------
Install node = testserver
exachk daemon version = 20.1.0(BETA)
Install location = /opt/oracle.ahf/exachk
Started at = date-and-time
Scheduler type = TFA Scheduler
Service type = TFA Service
If Oracle EXAchk is using the old mechanism:
------------------------------------------------------------
exachk daemon information
------------------------------------------------------------
Install node = testserver
exachk daemon version = 20.1.0(BETA)
Install location = /opt/oracle.ahf/exachk
Started at = date-and-time
Scheduler type = exachk Scheduler
Service type = exachk Service
orachk -d nextautorun
Output is same for Oracle Trace File Analyzer scheduler and non-Oracle Trace File Analyzer scheduler as shown below:
ID:orachk.DAEMON_AUTOSTART
Next auto run starts on date-and-time
exachk –d nextautorun
Output is same for Oracle Trace File Analyzer scheduler and non-Oracle Trace File Analyzer scheduler as shown below:
ID:exachk.DAEMON_AUTOSTART
Next auto run starts on date-and-time