Hitachi

JP1 Version 13 JP1/Integrated Management 3 - Manager Command, Definition File and API Reference


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:

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.

Table 1‒52: Composition of Collection Materials for Collection Tools

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.

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

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