Hitachi

JP1 Version 12 JP1/Service Support Configuration and Administration Guide


jss_log.bat (collects data)

Organization of this page

Description

This command collects data if a failure occurs in JP1/Service Support. The data to be collected includes the maintenance data of JP1/Service Support and the system information of the OS.

When you execute this command, the target folders and files (from which data is collected) are divided into two categories, primary data and secondary data. Two folders, jp1_default\imss_1st folder and jp1_default\imss_2nd folder, are automatically created under the data storage folder you specify. Then the target folders and files are stored in these two folders.

Use a compression tool to compress the collected data if necessary.

For details about the data you can collect by using this command, see 15.3 Data that must be collected when a problem occurs.

Table 12-5 and Table 12-6 describe the folders under the data storage folder, and the data to be stored.

Table 12‒5: Folders for primary data

Folder name

Data to be stored

data-storage-folder\jp1_default\imss_1st\

Product information of JP1/Service Support

data-storage-folder\jp1_default\imss_1st\conf\

Environment settings file of JP1/Service Support

data-storage-folder\jp1_default\imss_1st\tools\

Command environment settings file of JP1/Service Support

data-storage-folder\jp1_default\imss_1st\log\

Log file of JP1/Service Support

data-storage-folder\jp1_default\imss_1st\dbms\

Settings and log data of the Item management database and Item storage database

data-storage-folder\jp1_default\imss_1st\uCPSB\

Settings and log data of the Web server and the WWW container server

data-storage-folder\jp1_default\imss_1st\oslog\

System information of the OS

data-storage-folder\jp1_default\imss_1st\hntr\

Integrated trace log data

data-storage-folder\jp1_default\imss_1st\work\

Setup information file of JP1/Service Support

data-storage-folder\logical_host\imss_1st\

Settings and log data of the cluster environment #

#

This data is collected only when a cluster environment is used.

Table 12‒6: Folders for secondary data

Folder name

Data to be stored

data-storage-folder\jp1_default\imss_2nd\dbms\

Detailed log data of the Item management database and Item storage database

data-storage-folder\jp1_default\imss_2nd\uCPSB\

Log data of uCosminexus

Format

jss_log.bat -f data-storage-folder-name
           [-t]
           [-q]

Required execution permission

Administrator permissions

Storage folder

JP1/SS-path\tools\

Arguments

-f data-storage-folder-name

Specifies the name of the folder that stores the collected data using the absolute path or a relative path from the location where this command is executed. If the path contains a blank, enclose it between double quotation marks (").

If you specify a non-existent folder, a new folder is created with the specified name.

If you specify an existing folder, the folder is deleted and then re-created. Do not specify the name of a folder that contains files you do not want to delete.

-t

Specify this argument if you do not want to collect the following:

  • Host names assigned to the machines (data-storage-folder\jp1_default\imss_1st\oslog\hosts)

  • Settings of the service ports (data-storage-folder\jp1_default\imss_1st\oslog\services)

-q

Specify this argument if you want to continue collecting data without displaying a confirmation message. If you do not specify the -q option, the system displays a message to ask whether to continue collecting data.

Return values

Return value

Meaning

0

Normal end

1

Abnormal end

Remarks

Example

The following example shows how to output collected data to the c:\log folder except for the host names assigned to the machines and the settings of the service ports.

jss_log.bat -f c:\log -t