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'
収集タグ:
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
-
または、タグが存在しない場合は、レベルを直接指定できます。レベルは次のとおりです。
level 1 - system activity report level 2 - RA dump txt file level 4 - RA dump datapump level 8 - ORDERING_WAIT analysis level 16 - corruption level 32 - gather racli logs from each node level 64 - get RA version information from each node level 128 - get store and config files from each node level 256 - get root and oracle history from each node level 512 - get network information from each node level 1024 - run obtool gathering useful information level 2048 - get osb logs from each node level 4096 - get /usr/etc/ob/xcr from each node level 8192 - get backup/admin/state from each node level 16384 - get all nodes ASM and ZDLRA alert.logs level 32768 - generate awr dump for last 7 days
レベルは加法的であるため、システム・アクティビティ・レポートおよびRAダンプtxtファイルを収集する場合は、--level=3を使用します。
-
--path
-
診断バンドルが作成されるリカバリ・アプライアンス上の場所を指定します。デフォルトはradumpです。
例
次の例では、すべてのノードからracliログを収集し、デフォルトの場所(/radump)にバンドルを作成します。
racli run diagnostics --tag=racli_logs
次の例では、レベルを直接使用し、システム・アクティビティ・レポートとalert.logを実行してバンドルし、バンドルをパス/tmpに作成します。
racli run diagnostics --level=16385 --path=/tmp