EXAsupport
This section explains how to access and use EXAsupport.
In case you have an issue with Exasol, our Support team can help you resolve it. To make it possible for the Support team to investigate and troubleshoot your issue, you need to provide log files from your system. EXAsupport is a command-line tool that is used to collect logs on Exasol systems.
For additional information about how to gather information for Support and create different types of logs, see Log Files for Support.
To get help from our Support team, create a case.
Access EXAsupport
EXAsupport is available on all nodes in an Exasol deployment. To access EXAsupport you must connect to Exasol Cluster OS (COS) on the deployment using Exasol Deployment Tool (c4).
To connect to COS, use c4 connect -t <DEPLOYMENT>[.<NODE>]/cos
. For example:
For more information about how to use c4 connect
, see How to use c4.
When you are connected to COS, you can use exasupport -h
to view the EXAsupport help.
exasupport -h
usage: exasupport [-h] [-d DEBUG_INFO] [-e EXASOLUTION] [-x EXASOLUTION_LOG_TYPE] [-b BACKTRACES] [-i SESSION] [-n NODES] [-a] [-m] [-o OUTFILE] [-s START_TIME] [-t STOP_TIME]
...
The user executing the EXAsupport commands is the user who is currently logged into the node, which is typically root
. There are no extra authentication steps when using EXAsupport in this way.
EXAsupport options
You an add options to the exasupport
command using either full (long) or short format. This table describes all the available command options and the default behavior if the option is not included.
Option (long and short format) | Description |
---|---|
--help
|
Lists the options, definitions, and syntax of the |
--debug-info=DEBUGINFO
|
Comma-separated list of the types of debug information to collect. Accepts the following integers or strings:
|
Default (option not included): No debug information will be collected. |
|
--start-time=YYYY-MM-DD [HH:MM]
|
Logs older than |
Default (option not included): Logs of any age will be collected. |
|
--stop-time=YYYY-MM-DD [HH:MM]
|
Logs more recent than |
Default (option not included): Logs up to the present time will be collected |
|
--exasolution=EXASOLUTIONLOGS
|
Comma-separated list of Exasol systems to collect logs from.
|
Default (option not included): Logs specified in |
|
--exasolution-log-type=EXASOLUTION_LOG_TYPE
|
Type of logs to collect. Accepts the following integers or strings:
|
Default (option not included): No logs will be collected, except logs from sessions defined in |
|
--session=SESSION
|
Sessions from which to collect logs in addition to the other logs. Multiple sessions can be defined by repeating the option. For example:
|
Default (option not included): No additional session logs will be collected. |
|
--backtraces=BACKTRACES
|
Defines process backtraces to collect. Use the following integers or strings:
|
Default (option not included): Backtraces will not be collected. |
|
--nodes=NODES
|
Comma-separated list of node IDs. For example:
|
Default (option not included): All online nodes will be included. |
|
--only-archives
|
Only download rotated logs. |
Default (option not included): Download both rotated and non-rotated logs. |
|
--estimate
|
Estimate the uncompressed size of the debug information, but do not collect any logs (dry run). |
Default (option not included): Log collection will run. |
|
--outfile=OUTFILE
|
Path to a local file or a file on a remote volume that the output should be written to.
|
Default (option not included): The default output file is:
|
Example:
This command will retrieve all SQL logs that have been generated on the database MY_DATABASE from 2024-06-15 up to the present time, and then write the result to the local file my_log.tar.gz in the current working directory.
Check free disk space
Logs can become very large. Before you generate a log, determine the estimated size of the log and make sure that you have enough free disk space on the node to store it.
-
To estimate the size of the logs that will be collected, add the option
-m
at the end of the EXAsupport command that you want to run. EXAsupport will then calculate the total (uncompressed) size of all the files that will be compressed into the log archive.If the logs to collect are mostly rotated and archived logs for previous days, the estimated value will be close to the final log archive size. If logs for the current day are requested, the returned value only gives an upper bound.
For example:
-
To check the available free disk space on the node that will store the logs, run the command
df
(disk free) with the option-h
(human readable). For example: