9 Uninstalling Oracle Autonomous Health Framework

To uninstall Oracle Autonomous Health Framework, run the uninstall command as root, or install user.

You can use either tfactl uninstall or ahfctl uninstall to uninstall AHF.

Running the command:

  • Stops Oracle ORAchk
  • Stops Oracle Trace File Analyzer
  • Deletes the Oracle Autonomous Health Framework installation directory

Syntax

tfactl uninstall
[-local] 
[-silent] 
[-deleterepo]

Parameters

Table 9-1 tfactl uninstallahf Command Parameters

Parameter Description

-local

Uninstalls Oracle Autonomous Health Framework only on the local node.

Note:

If you do not specify the -local option, then the uninstaller script uninstalls Oracle Autonomous Health Framework from all of the configured nodes.

-silent

Specify to not ask any uninstall questions.

-deleterepo

Deletes the Oracle Autonomous Health Framework repository.

Example 9-1

ahfctl uninstall -deleterepo -silent
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