diagnostics setup
を完了した後、diagnostics collect
ツールを使用して、たとえばOracle Supportに送信できるようにするために重要情報およびファイルをパッケージ化できます。
このコマンドの使用方法は、次のとおりです。
diagnostics collect -logfiles [-host <host name of a SN in topology>] [-port <registry port of a SN in topology>] [-username <user>] [-security <security-file-path>] [-configdir <location of Storage Node target file>] [-savedir <destination directory for log files>] [-nocompress]
説明:
-host
ストレージ・ノードのホストを指定します。指定された場合、sn-target-list
を更新するために、最初にdiagnostics setup
を実行する必要なく、実行中のトポロジを検出します。-portとともに指定する必要があります。
-port
ストレージ・ノードのホストを指定します。指定された場合、sn-target-list
を更新するために、最初にdiagnostics setup
を実行する必要なく、実行中のトポロジを検出します。-hostとともに指定する必要があります。
-username
セキュア・デプロイメントのようにログオンするために、ユーザー名を指定します。
-security
セキュア・デプロイメントで、セキュリティ・ファイルへのパスを指定します。セキュアなストアで指定していない場合、sn-target-list
の更新が失敗します。
-configdir
sn-target-list
を含むディレクトリを指定します。フラグを指定しない場合、デフォルトのディレクトリは作業ディレクトリです。
-logfiles
KVStoreのログ・ファイルを収集し、圧縮ファイルにパッケージするために指定します。ログ・ファイルはSNAのルート・ディレクトリにあるすべてのファイルです(データベース・ファイルのjdbファイルを除く)。すべてのホストするマシンおよびクライアント・マシンに使用可能なディスク領域が必要です。使用可能なディスク領域が不足している場合には、エラー・メッセージがプロンプト表示されます。ログ・ファイルは複雑な問題を分析するのに役立ちます。
-nocompress
ログ・ファイルを圧縮せずに、直接コピーすることを指定します。ログ・ファイル・サイズが大きい場合、コピーに時間がかかる場合があります。-nocompressは、リモート・サーバーにunzipツールがない場合、または圧縮モードでエラーが発生する場合に使用します。
-savedir
すべてのログ・ファイルを含めるディレクトリのパスを指定するために、オプションで使用します。フラグを指定しない場合、デフォルトのディレクトリは作業ディレクトリです。