Step 1: Download Oracle TFA
- Visit Oracle Support Website:
- Go to Oracle Support and log in.
- Search for the TFA Utility:
- Search for Document ID 1513912.1 (Oracle Trace File Analyzer).
- Select the Appropriate Version:
- Download the version matching your Oracle environment (Linux, Solaris, etc.).
Step 2: Install Oracle TFA
- Extract the Downloaded File:
- Unzip the downloaded
.zipfile:bashunzip tfactl_<version>.zip
- Unzip the downloaded
- Run the Installer:
- Execute the installer script:bash
./installTFA.sh
- Execute the installer script:
- 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
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
Specify Components (Optional):
- To collect logs for specific components (like ASM or Clusterware), use:bash
tfactl diagcollect -collect asm,crs
- To collect logs for specific components (like ASM or Clusterware), use:
Check the Log Directory:
- The gathered logs will be stored in a timestamped directory under
/opt/oracle/tfa/repository.
- The gathered logs will be stored in a timestamped directory under
Step 4: Provide Logs to Oracle Support
- 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>
- 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:
Summary:
- Download Oracle TFA from Oracle Support.
- Install it by running the
installTFA.shscript. - Gather logs using the
tfactl diagcollectcommand. - 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