racli run diagnostics
Syntax
racli run diagnostics { --tag=TAG | --level=LEVEL | --path };
Options
-
--tag -
Specifies the name of the tag of diagnostics to be collected, where default tags are:
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'And collection tags:
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 -
Alternatively, if a tag doesn't exist the level can be specified directly, where:
The level of the ANDed diagnostics to include in the tag, available levels are:
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 Get an AWR extract for the last 7 days
level 65536 Get details of TLS objects and files from all nodes
level 131072 Get details of replication objects and files
level 262144 Get incident logs for a specific incident or active incidents
level 524288 Get MgmtDb data
level 1048576 Get configuration files and logs related to security on the system
level 2097152 Get reconcile traces and protected database metadata for replication reconcile problems/bugs
The levels are additive, so to gather a system activity report and RA dump txt file you would use --level=3
-
--path -
Specfies the location on the Recovery Appliance where the diagnostic bundle will be created, default being radump.
Examples
The following example collects racli logs from all nodes and creates a bundle in default location /radump
racli run diagnostics --tag=racli_logs
The following example using the level directly, runs and bundles system activity report and alert.logs and creates a bundle in path /tmp.
racli run diagnostics --level=16385 --path=/tmp