racli run diagnostics
構文
racli run diagnostics { --tag=TAG | --level=LEVEL | --path };
オプション
-
--tag -
収集する診断タグの名前を指定します。デフォルトのタグは次のとおりです。
sar = 'system activity report' txt_dump = 'RA dump txt file' dp_dump = 'RA dump datapump' ord_wait = 'ORDERING_WAIT analysis' corruption = 'corruption' racli_logs = 'gather racli logs from each node' ra_version = 'get RA version information from each node' str_cfg = 'get store and config files from each node' history = 'get root and oracle history from each node' network = 'get network information from each node' obtooldiag = 'run obtool gathering useful information' osblogs = 'get osb logs from each node' osbxcr = 'get /usr/etc/ob/xcr from each node' osbstate = 'get backup/admin/state from each node' alerts = 'get ASM and RDBMS alert.logs from each node' awr = 'generate awr dump for last 7 days' tls = 'get details of TLS objects and files from all nodes' repl = 'get details of replication objects and files' incidents = 'get incident logs for a specific incident or active incide nts' mgmtdb = 'get MgmtDb data' security = 'get configuration files and logs related to security on the system' reconcile_traces = 'reconcile traces and protected database metadata for replication reconcile problems/bugs'収集タグ:
ra_low: [1] Generates a System Activity Report on the Recovery Appliance [2] Gets the version information from each node of the Recovery Appliance ra_med: [1] Generates a System Activity Report on the Recovery Appliance [2] Performs a text format dump of the Recovery Appliance [3] Gets the version information from each node of the Recovery Appliance ra_high: [1] Generates a System Activity Report on the Recovery Appliance [2] Performs a datapump dump of the Recovery Appliance [3] Gets the version information from each node of the Recovery Appliance osb_low: [1] Gets OSB information through obtool on the Recovery Appliance [2] Gathers OSB logs from all nodes of the Recovery Appliance osb_med: [1] Gets OSB information through obtool on the Recovery Appliance [2] Gathers OSB logs from all nodes of the Recovery Appliance [3] Gathers OSB xcr files from all nodes of the Recovery Appliance osb_high: [1] Gets OSB information through obtool on the Recovery Appliance [2] Gathers OSB logs from all nodes of the Recovery Appliance [3] Gathers OSB xcr files from all nodes of the Recovery Appliance [4] Gathers OSB state files from the current node of the Recovery Appliance
-
--level -
または、タグが存在しない場合は、レベルを直接指定できます。レベルは次のとおりです。
タグに含める、AND処理される診断のレベル。使用可能なレベルは次のとおりです。
レベル1 システム・アクティビティ・レポート。
レベル2 RAダンプtxtファイル。
レベル4 RAダンプ・データ・ポンプ。
レベル8 ORDERING_WAITの分析。
レベル16 破損。
レベル32 各ノードからracliログを収集します。
レベル64 各ノードからRAバージョン情報を取得します。
レベル128 各ノードからストア・ファイルと構成ファイルを取得します。
レベル256 各ノードからrootおよびoracleの履歴を取得します。
レベル512 各ノードからネットワーク情報を取得します。
レベル1024 obtoolを実行して有益な情報を収集します。
レベル2048 各ノードからosbログを取得します。
レベル4096 各ノードから/usr/etc/ob/xcrを取得します。
レベル8192 各ノードからbackup/admin/stateを取得します。
レベル16384 すべてのノードのASMおよびZDLRAのalert.logを取得します。
レベル32768 過去7日間のAWR抽出を取得します
レベル65536 すべてのノードからTLSオブジェクトとファイルの詳細を取得します
レベル131072 レプリケーション・オブジェクトとファイルの詳細を取得します
レベル262144 特定のインシデントまたはアクティブなインシデントのインシデント・ログを取得します
レベル524288 MgmtDbデータを取得します
レベル1048576 システムのセキュリティに関連する構成ファイルおよびログを取得します
レベル2097152 問題/バグを調整するためのレプリケーションの調整トレースおよび保護されたデータベースのメタデータを取得します
レベルは加法的であるため、システム・アクティビティ・レポートおよびRAダンプtxtファイルを収集する場合は、--level=3を使用します。
-
--path -
診断バンドルが作成されるリカバリ・アプライアンス上の場所を指定します。デフォルトはradumpです。
例
次の例では、すべてのノードからracliログを収集し、デフォルトの場所(/radump)にバンドルを作成します。
racli run diagnostics --tag=racli_logs
次の例では、レベルを直接使用し、システム・アクティビティ・レポートとalert.logを実行してバンドルし、バンドルをパス/tmpに作成します。
racli run diagnostics --level=16385 --path=/tmp