4.5.2 オンデマンドのイベントドリブンのSRDC収集の実行

diagcollect -srdcオプションを使用して、Oracleサポート・サービス・リクエスト・データ収集(SRDC)に必要な診断情報を収集します。

イベントドリブンのSDRC収集には、Oracle Trace File Analyzerのデータベース・サポート・ツール・バンドルのコンポーネントが必要です。

Oracle Trace File Analyzerのデータベース・サポート・ツール・バンドルをMy Oracle Supportノート1513912.2からダウンロードします。

イベントドリブンのSRDC収集を実行するには:

  1. イベントドリブンのSRDC収集を実行するには、次のようにします
    tfactl diagcollect –srdc srdc_type
  2. SRDC収集の様々なタイプのリストを取得するには、次のようにします。
    tfactl diagcollect –srdc -help
    次に例を示します。
    $ tfactl diagcollect –srdc ora600
    Enter value for EVENT_TIME [YYYY-MM-DD HH24:MI:SS,<RETURN>=ALL] :
    Enter value for DATABASE_NAME [<RETURN>=ALL] :
    
    1. Jun/09/2016 09:56:47 : [rdb11204] ORA-00600: internal error code,
    arguments: [], [], [], [], [], [], [], [], [], [], [], [] 2. May/19/2016 14:19:30 : [rdb11204] ORA-00600: internal error code,
    arguments: [], [], [], [], [], [], [], [], [], [], [], [] 3. May/13/2016 10:14:30 : [rdb11204] ORA-00600: internal error code,
    arguments: [], [], [], [], [], [], [], [], [], [], [], [] 4. May/13/2016 10:14:09 : [rdb11204] ORA-00600: internal error code,
    arguments: [], [], [], [], [], [], [], [], [], [], [], []
    
    Please choose the event : 1-4 [1] 1
    Selected value is : 1 ( Jun/09/2016 09:56:47 ) Collecting data for local node(s) 
    Scanning files from Jun/09/2016 03:56:47 to Jun/09/2016 15:56:47
    
    Collection Id : 20160616115820myserver69
    
    Detailed Logging at : 
    /u01/app/tfa/repository/srdc_ora600_collection_Thu_Jun_16_11_58_20_PDT_2016_node_local/diagcollect_20160616115820_myserver69.log
    2016/06/16 11:58:23 PDT : Collection Name : 
    tfa_srdc_ora600_Thu_Jun_16_11_58_20_PDT_2016.zip
    2016/06/16 11:58:23 PDT : Scanning of files for Collection in progress...
    2016/06/16 11:58:23 PDT : Collecting additional diagnostic information...
    2016/06/16 11:58:28 PDT : Getting list of files satisfying time range
    [06/09/2016 03:56:47 PDT, 06/09/2016 15:56:47 PDT]
    2016/06/16 11:58:30 PDT : Collecting ADR incident files...
    2016/06/16 11:59:02 PDT : Completed collection of additional diagnostic information...
    2016/06/16 11:59:06 PDT : Completed Local Collection 
    .---------------------------------------.
    |           Collection Summary          |
    +------------+-----------+-------+------+
    | Host       | Status    | Size  | Time |
    +------------+-----------+-------+------+
    | myserver69 | Completed | 7.9MB |  43s |
    '------------+-----------+-------+------'
  3. 他の収集と同じタグ付け、ネーミングおよび時間引数をSRDC収集で使用します。
    Usage : tfactl diagcollect -srdc srdc_profile [-tag description] [-z filename] [-since nh|d| -from time -to time | -for time]