tfactl diagcollect -srdc

Use the tfactl diagcollect -srdc command to run a Service Request Data Collection (SRDC).

Syntax

tfactl diagcollect -srdc srdc_profile
[-tag tagname]
[-z filename]
[-last nh|d | -from time -to time | -for date]
-database database

Parameters

Each option must be prefixed with a minus sign (-).

OptionDescription
[-srdc srdc_profile ]Specify the SRDC profile.
-tag descriptionUse this parameter to create a subdirectory for the resulting collection in the Oracle Trace File Analyzer repository.
-z file_nameUse this parameter to specify an output file name.
[-last n h | d | -from time -to time | -for date ]
  • Specify the -last parameter to collect files that have relevant data for the past specific number of hours (h) or days (d). By default, using the command with this parameter also trims files that are large and shows files only from the specified interval.

    You can also use -since, which has the same functionality as -last. This option is included for backward compatibility.

  • Specify the -from and -to parameters (you must use these two parameters together) to collect files that have relevant data during a specific time interval, and trim data before this time where files are large.

    Supported time formats:

    "Mon/dd/yyyy hh:mm:ss"

    "yyyy-mm-dd hh:mm:ss"

    "yyyy-mm-ddThh:mm:ss"

    "yyyy-mm-dd"

  • Specify the -for parameter to collect files that have relevant data for the date specified. The files tfactl collects will have timestamps in between which the time you specify after -for is included. No data trimming is done for this option.

    Supported time formats:

    "Mon/dd/yyyy"

    "yyyy-mm-dd"

Note:

If you specify both date and time, then you must enclose both the values in double quotation marks (""). If you specify only the date or the time, then you do not have to enclose the single value in quotation marks.

-database databaseSpecify the name of the database.

SRDC Profiles

SRDC ProfileDescription
listener_servicesCollects data for listener services errors: TNS-12514 / TNS-12516 / TNS-12518 / TNS-12519 / TNS-12520 / TNS-12528.
naming_servicesCollects data for naming services errors: ORA-12514 / ORA-12528.
ORA-00020Collects data regarding maximum number of processes exceeded.
ORA-00060, ORA-00600Collects data for internal errors.
ORA-00700Collects data for soft internal error.
ORA-01031Collects standard information for ORA-1031 / ORA-1017 during SYSDBA connections
ORA-01555Collects data for Oracle Database Snapshot too old error.
ORA-01578Collects data for NOLOGGING ORA-1578 / ORA-26040 DBV-00201.
ORA-01628Collects data for Oracle Database Snapshot too old error.
ORA-04030Collects data for OS process private memory was exhausted error.
ORA-04031Collects data for More shared memory is needed in the shared/streams pool. error.
ORA-07445Collects data for Exception encountered, core dump. error.
ORA-08102Collects data for ORA error ORA-08102.
ORA-08103Collects data for ORA error ORA-08103.
ORA-27300Collects data for OS system dependent operation: open failed with status: (status). error.
ORA-27301Collects data for OS failure message: (message). error.
ORA-27302Collects data for Failure occurred at: (module). error.
ORA-30036Collects data for Oracle Database Unable to extend Undo Tablespace error.
crsasmcell

Collects data for ASM CRS CELL-related problems.

The cell related errors handled by crsasmcell are:

  • CRS-1604
  • CRS-1606
  • CRS-1613
  • CRS-1614
  • CRS-1615
  • CRS-1649
dbasmCollects data for Oracle Database storage problems.
dbauditCollects standard information for Oracle Database auditing.
dbawrspaceCollects data for Oracle Database Automatic Workload Repository (AWR) space problems.
dbexpCollects information for troubleshooting original Export (exp) related problems.
dbexpdpCollects data for Data Pump Export generic issues.
dbexpdpapiCollects data for Data Pump Export API Issues.
dbexpdpperfCollects data for Data Pump Export performance issues.
dbexpdpttsCollects data to supply for Transportable Tablespace Data Pump and original EXPORT, IMPORT.
dbfsCollects data for dbfs issues.
dbggclassicmodeCollects data for Oracle GoldenGate Classic Mode issues.
dbggintegratedmodeCollects data for Oracle GoldenGate Extract / Replicat abends problems.
dbimpCollects data for troubleshooting original Import (imp) releated problems.
dbimpdpCollects data for Data Pump Import generic issues.
dbimpdpperfCollects data for Data Pump Import performance issues.
dbinstallCollects data for Oracle Database install / upgrade problems.
dbpartitionCollects data for Create / maintain partitioned / subpartitioned table / index problems.
dbpartitionperfCollects data for slow Create / Alter / Drop commands against partitioned table / index problems.
dbpatchconflictCollects data for Oracle Database patch conflict problems.
dbpatchinstallCollects data for Oracle Database patch install problems.
dbperfCollects data for Oracle Database performance problems.
dbpreupgradeCollects data for Oracle Database preupgrade problems.
dbrmanCollects data for RMAN related issues, such as backup, maintenance, restore and recover, RMAN-08137, or RMAN-08120.
dbrman600Collects data for RMAN-00600 error (My Oracle Support note 2045195.1).
dbrmanperfCollects data for RMAN Performance error (My Oracle Support note 1671509.1).
dbscnCollects data for Oracle Database SCN problems.
dbshutdownCollects data for single instance Oracle Database shutdown problems.
dbsqlperfCollects data for an SQL performance problem using Oracle Trace File Analyzer Collector.
dbstartupCollects data for single instance Oracle Database startup problems.
dbtdeCollects data for Transparent Data Encryption (TDE) (My Oracle Support note 1905607.1)
dbunixresourcesCollects data for Oracle Database issues related to operating system resources.
dbupgradeCollects data for Oracle Database upgrade problems.
dbxdbCollects data Oracle Database XDB installation and invalid object problems.
dnfsCollects data for DNFS problems.
emagentperfCollects data for Enterprise Manager Agent performance issues.
emcliaddCollects data for Enterprise Manager errors while adding an Oracle Database, a listener, or an ASM target using Enterprise Manager command-line.
emclusdiscCollects data for cluster target, cluster (RAC) Oracle Database, or an ASM target is not discovered issue.
emdbsysCollects data for Enterprise Manager Oracle Database system target is not discovered, detected, removed, or renamed correctly issue.
emdebugoffCollects data for unsetting Enterprise Manager debug.
emdebugonCollects data for setting Enterprise Manager debug.
emgendiscCollects data for Enterprise Manager generic error while discovering, or removing an Oracle Database, a listener, or an ASM target.
emmetricalertCollects data for Enterprise Manager metric events not raised and general metric alert related issues.
emomscrashCollects for all Enterprise Manager OMS crash or restart performance issues.
emomsheapCollects data for Enterprise Manager OMS heap usage alert performance issues.
emomshungcpuCollects data for Enterprise Manager OMS hung or high CPU usage performance issues.
emprocdiscCollects data for Enterprise Manager Oracle Database, listener, or an ASM target is not discovered or detected by the discovery process issues.
emrestartomsCollects data for Enterprise Manager restart OMS crash problems.
emtbsmetricCollects data for Enterprise Manager Tablespace space used metric issues.
esexalogicCollects data for Oracle Exalogic Full Exalogs problems.
ggintegratedmodenodbCollects data for Oracle GoldenGate Extract/Replicat abends problems.
internalerrorCollects data for all other types of internal Oracle Database errors.

To collect CRS, ASM, and cell data from the compute nodes

You can use the `tfactl diagcollect -cellnode <*comma delimited list of names*>|all command to collect cell data. If there is a cell related error on the compute node, use the tfactl diagcollect -srdc crsasmcell command to collect CRS, ASM, and cell data. The cell related errors handled by crsasmcell` are:

  • CRS-1604
  • CRS-1606
  • CRS-1613
  • CRS-1614
  • CRS-1615
  • CRS-1649

The cells must be configured within tfa to collect from the cells. To determine if the cell is configured, run:

# tfactl cell status

If the cells are not configured, run:

# tfactl cell configure

After configuring, you can collect from the cells.

For example:

  • # tfactl diagcollect -srdc crsasmcell
  • # tfactl diagcollect -srdc crsasmcell -cellnode mycell1,mycell2,mycell3
  • # tfactl diagcollect -srdc crsasmcell -cellnode all
  • # tfactl diagcollect -srdc dbperf -cellnode all
  • # tfactl diagcollect -cellnode all

For more information, see: