Deprecated Legacy Oracle Orachk and Oracle Exachk Scheduler Commands in 22.2
Starting with the AHF 22.2 (2022-09-14), commands to run the Oracle Orachk or Oracle Exachk scheduler without the Oracle Trace File Analyzer daemon are deprecated. These commands are completely removed in AHF 23.8 (2023-08-28).
Deprecated Legacy Oracle Orachk and Oracle Exachk Scheduler Commands:
-switch_scheduler-use_legacy_scheduler-xmlstart_scheduler-xmlstart_scheduler_debug
Running the aforementioned commands would terminate with a deprecation notice. For example:
orachk -use_legacy_scheduler
Option '-use_legacy_scheduler' is deprecated and no longger supported.
Please run 'orachk -h' to see a list of available options
orachk -switch_scheduler
Option '-switch_scheduler' is deprecated and no longger supported.
Please run 'orachk -h' to see a list of available options
Changes also include the replacement of Oracle Orachk/Oracle Exachk daemon commands.
Table 10-1 Substituted Oracle Orachk and Oracle Exachk Daemon Commands
| Deprecated Oracle Orachk and Oracle Exachk Daemon Commands | Replaced With |
|---|---|
|
|
|
exachk -d start_debug
orachk -d start_debug
exachk -initsetup
orachk -initsetup
exachk -initdebugsetup
orachk -initdebugsetup
exachk -d stop
orachk -d stop
exachk -autostop
orachk -autostop
exachk -d stop_client
orachk -d stop_client
exachk -initrmsetup
orachk -initrmsetup
exachk -d info
orachk -d info
exachk -autostatus
orachk -autostatus
exachk -d status
orachk -d status
exachk -d nextautorun
orachk -d nextautorun
exachk -initcheck
orachk -initcheck
Running obsolete daemon commands will print a deprecation notice and an INFO message suggesting that you run equivalent commands. Then orachk and exachk will execute the respective equivalent commands. For example:
orachk -d start
'orachk -d start' is deprecated and will be removed in a future release. Please start using 'orachk -autostart' instead.
Running 'orachk -autostart' for this operation. Run 'orachk -autostart -h' for further help.
orachk -initrmsetup
'orachk -initrmsetup' is deprecated and will be removed in a future release. Please start using 'orachk -autostop' instead.
Running 'orachk -autostop' for this operation. Run 'orachk -autostop -h' for further help.
orachk -d info
'orachk -d info' is deprecated and will be removed in a future release. Please start using 'orachk -autostatus' instead.
Running 'orachk -autostatus' for this operation. Run 'orachk -autostop -h' for further help.
When the -autostart option is called and the TFA Scheduler is not running, you will receive a warning message suggesting that you start it.
ahfctl stopahf
Stopping TFA from the Command Line
Stopped OSWatcher
Nothing to do !
Please wait while TFA stops
Please wait while TFA stops
TFA-00002 Oracle Trace File Analyzer (TFA) is not running
TFA Stopped Successfully
Telemetry adapter is not running
Successfully stopped TFA..
No active orachk manual runs found
Stopping orachk scheduler ...
Removing orachk cache discovery....
No orachk cache discovery found.
Unable to send message to TFA
Removed orachk from inittab
Stopped orachk
orachk -autostart
TFA scheduler is not running. Please start TFA scheduler, by running 'ahfctl startahf', before configuring orachk to consume it.
Changes for legacy scheduler deprecation also include the ability to clean up legacy scheduler processes and remove orachk/exachk scheduler files upon an AHF upgrade, and/or by calling the -autostart or -autostop options.