11.5.1 Collecting troubleshooting information by executing the data collection command

To collect data for investigating the cause of the error, you use the jpcras command. The procedure for executing the data collection command is described below. Note that the operations explained here must be executed by an OS user who has the root user permission.

  1. Log on to the host on which the service for which the data to be collected is installed.
  2. Specify the data and the storage destination directory for the data to be collected and execute the jpcras command.
    To use the jpcras command to store all of the data that can be collected in the /tmp/jpc/agt directory, specify as follows:

    jpcras /tmp/jpc/agt all all

    The data collected by the data collection command is stored in the specified directory in compressed format by the tar command and compress command. The file name is as follows:
    jpcrasYYMMDD.tar.Z
    Year, month and date are placed in YYMMDD.

When the jpcras command is executed, the jpctool service list -id * -host * (jpcctrl list * host=*) command is executed internally to obtain a list of PFM services and to confirm whether the services are running. Execution of this internal command might take a long time if a firewall exists between the host that executes the command and a host in another Performance Management system or if the system configuration is large. In either case, you can set the JPC_COLCTRLNOHOST environment variable to 1 to suppress processing of the jpctool service list -id * -host * (jpcctrl list * host=*) command to shorten the command execution time.

For details about the jpcras command, see the chapter explaining commands in the manual Job Management Partner 1/Performance Management Reference.