4.2.3 Oracle Database Trace File Analyzer Installation

Oracle Trace File Analyzer is installed as part of the database installation.

Oracle recommends that you run Oracle Trace File Analyzer in daemon mode, which is configured as root  user.

  1. To configure daemon mode as root:

    Either choose an appropriate option when running root.sh or rootupgrade.sh.

    Or

    Configure post-install by running the tfa_home/install/roottfa.sh script.

    When you choose this option, Oracle Trace File Analyzer is installed in the ORACLE_BASE of the current installation owner.

  2. To use Oracle Trace File Analyzer in non-daemon mode, access it from ORACLE_HOME/suptools/tfa/release/tfa_home using:

    $ ORACLE_HOME/suptools/tfa/release/tfa_home/bin/tfactl command

When a user uses tfactl for the first time, Oracle Trace File Analyzer determines and creates the TFA_BASE directory structure. Oracle Trace File Analyzer maintains a configuration and trace file metadata database for every user who runs tfactl.

In non-daemon mode, the ability of a user to run the tfactl command determines Oracle Trace File Analyzer access control list. A user is able to use tfactl, if the user has operating system permissions to run tfactl. However, tfactl collects only the data the user has operating system permission to read.

When Oracle Trace File Analyzer is installed in daemon mode, the Oracle Trace File Analyzer daemon runs as root. The ability of the user to access Oracle Trace File Analyzer depends on that user being given specific access rights using the tfactl access  command.

If a user has access right to Oracle Trace File Analyzer, then Oracle Trace File Analyzer collects any files from diagnostic directories in Oracle Trace File Analyzer that are marked as public. Specify the directory as private while adding to Oracle Trace File Analyzer, to restrict specific Oracle Trace File Analyzer users with sufficient permissions accessing it. Also, modify the settings using the tfactl directory modify command.