jima_log_aix (AIX only)
- Organization of this page
Function
This tool is used to collect documents (monitored AIX hosts) required for failure investigation when a failure occurs in JP1/IM - Agent.
Collect the following documents related to JP1/IM - Agent:
-
Documentation in 12.3.2 Data about JP1/IM - Agent in the JP1/Integrated Management 3 - Manager Administration Guide
-
JP1/IM agent control base documentation
The collected documents are in a compressed format using tar and compress commands.
The following is a compressed file of the data stored directly under the data storage directory.
|
Directory name |
Stored data |
|---|---|
|
data-storage-directory/jima_log_aix.tar.Z |
Collected data |
Format
jima_log_aix.sh -f data-storage-directory
[-l Node-exporter-for-AIX-destination-directory]
[-q]
Execution authority
Superuser permissions
Storage destination directory
It is stored in the directory where Node exporter for AIX archived file (node_exporter_aix_VVRRSS.tar) is extracted.
-
When operating on a physical host
any-directory/node_exporter_aix/jp1ima/tools/
-
When operating on a logical host
shared-directory/node_exporter_aix/jp1ima/tools/
Argument
- -f data-storage-directory
-
Specify the name of the directory to output the collected data in full path. This option is mandatory.
-
A compressed file of the collected material is created under the name "jima_log_aix.tar.Z" in the specified directory.
-
If a "jima_log_aix.tar.Z" or "jima_log_aix.tar" file already exists in the specified directory, ask whether to overwrite it. If you overwrite, the file is overwritten. If you do not overwrite it, the operation is aborted.
-
If you specify a directory that does not exist, a new directory is created with that name.
-
You cannot specify a device name.
-
If the specified directory is one of the following, an error occurs.
- Have no write permission
- Fail to create a directory
- A file with the same name as the specified directory exists
-
- -l Node-exporter-for-AIX-destination-directory
-
To collect the file list, specify the directory where Node exporter for AIX is located in the full path or the path format relative to the location where this command was executed. If you specify a directory that does not exist, data collection is not performed and other processing continues.
- -q
-
Specifies that the command is to be executed without user confirmation. For details about the user verification items to be omitted, refer to the explanation of "-f data-storage-directory."
Notes
-
Do not run this tool at the same time. Documents may be overwritten or may not be collected.
-
There is a certain amount of overload (e.g., disc I/O) when running a tool to collect data. Also, depending on the conditions, such as log enlargement, it may take time to execute the command.
-
If you send the documentation to Support Services without using this tool, or if you exclude the documentation and send it, you may not be able to perform an accurate survey.
Return value
|
0 |
Normal completion |
|
8 |
Abnormal termination |
Log Output
The log output destination is shown below.
Log file "jima_log_result.log" included in the compressed file "jima_log_aix.tar.Z" stored in the directory specified in the data-storage-directory
Examples of use
jima_log_aix.sh -f /tmp -l /aix -q