Uninstalling Oracle Autonomous Health Framework

Use the ahfctl uninstall command to uninstall Oracle Autonomous Health Framework (AHF).

Run the command as the root user or the user who installed AHF.

ahfctl uninstall

Uninstalling AHF:

  • Stops Oracle Orachk.
  • Stops Oracle Trace File Analyzer (TFA).
  • Removes the Oracle Autonomous Health Framework installation directory.

To uninstall AHF silently and delete the AHF repository, run:

ahfctl uninstall -deleterepo -silent

Example output:

Starting AHF Uninstall

AHF will be uninstalled on:
node1

Stopping AHF service on local node node1...
Sleeping for 10 seconds...

Stopping TFA Support Tools...

Removing AHF setup on node1:

Removing /opt/oracle.ahf/rpms
Removing /opt/oracle.ahf/jre
Removing /opt/oracle.ahf/common
Removing /opt/oracle.ahf/bin
Removing /opt/oracle.ahf/python
Removing /opt/oracle.ahf/analyzer
Removing /opt/oracle.ahf/tfa
Removing /opt/oracle.ahf/orachk
Removing /opt/oracle.ahf/ahf
Removing /opt/oracle.ahf/data/node1
Removing /opt/oracle.ahf/install.properties
Removing /opt/oracle.ahf/data/repository
Removing /opt/oracle.ahf/data
Removing /opt/oracle.ahf

The -deleterepo option removes the AHF repository during uninstallation, and the -silent option performs the operation without interactive prompts.