Thursday, 12 September 2024

Filled under:

 

Step 1: Download Oracle TFA

  1. Visit Oracle Support Website:
  2. Search for the TFA Utility:
    • Search for Document ID 1513912.1 (Oracle Trace File Analyzer).
  3. Select the Appropriate Version:
    • Download the version matching your Oracle environment (Linux, Solaris, etc.).

Step 2: Install Oracle TFA

  1. Extract the Downloaded File:
    • Unzip the downloaded .zip file:
      bash
      unzip tfactl_<version>.zip
  2. Run the Installer:
    • Execute the installer script:
      bash
      ./installTFA.sh
  3. Follow On-Screen Prompts:
    • The installer will prompt for configuration details. Follow the instructions, including adding the host names and configuring the TFA service.

Step 3: Gather Logs Using TFA

  1. Run the TFA Command:

    • Open a terminal and navigate to the TFA home directory.
    • Run the following command to gather diagnostic logs:
      bash
      tfactl diagcollect
    • By default, this collects logs from the past 12 hours. You can customize the collection by adding a time range:
      bash
      tfactl diagcollect -s 48h # Collects logs from the last 48 hours
  2. Specify Components (Optional):

    • To collect logs for specific components (like ASM or Clusterware), use:
      bash
      tfactl diagcollect -collect asm,crs
  3. Check the Log Directory:

    • The gathered logs will be stored in a timestamped directory under /opt/oracle/tfa/repository.

Step 4: Provide Logs to Oracle Support

  1. Upload the Collected Logs:
    • Navigate to the generated zip files, and upload them to Oracle Support using the SR (Service Request) page, or with the SR number via the command:
      bash
      tfactl upload -sr <SR_NUMBER>

Summary:

  • Download Oracle TFA from Oracle Support.
  • Install it by running the installTFA.sh script.
  • Gather logs using the tfactl diagcollect command.
  • Upload the logs to Oracle Support for further analysis.

This process ensures comprehensive log collection for Oracle’s investigation, streamlining the resolution process.

0 comments:

Post a Comment