Hitachi

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


jimgndbstatus

Organization of this page

Function

This command checks the operating Status, such as starting and stopping Intelligent Integrated Management Database service and the trend data management service.

If the -ri option is specified, you can check the retention period of the Intelligent Integrated Management Database (Trend Data Management DB).

When the -rs option is specified, you can check the last execution date, end date, and next scheduled execution date for the process of deleting data that has exceeded the retention period of the Intelligent Integrated Management Database (Trend Data Management DB).

Format

jimgndbstatus  [{-ri | -rs}]
               [-h logical-host-name]

The command arguments are in no particular order.

Execution permission

In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)

In Linux: Superuser permissions

Storage directory

In Windows:

Manager-path\bin\imgndb\

In Linux:

/opt/jp1imm/bin/imgndb/

Arguments

-ri

When this option is specified, the retention period of trend data in the trend data management DB is output as the KNAN12099-I message.

-rs

When this option is specified, the trend data in the trend data management DB checks whether the retention period has expired and outputs the following information about the execution schedule of the deletion process of the data that has exceeded the retention period in the KNAN12054-I message.

  • Last start date and time (start date and time of last run)

  • Last end date and time (end date and time of last run)

  • Next start date and time (next execution start date and time)

For details about the KNAN12054-I message, including the formats for Date/time files (Last Date/time, Last Date/time, Next Start Date/time), see the JP1/Integrated Management 3 - Manager Messages.

-h logical-host-name

When operating on a clustered system, specify the logical host name of the host on which the command is executed.

Checks the operating Status of Intelligent Integrated Management Database corresponding to the specified Logical host. If you are not using a cluster system, you do not need to specify it.

If this option is omitted, the logical host name specified in the environment variable JP1_HOSTNAME is assumed. If the environment variable JP1_HOSTNAME is not specified, the physical host name is assumed.

Note that JP1_DEFAULT cannot be specified for the logical host name.

Return values

0

  • If neither the -ri option nor the -rs option is specified

    Intelligent Integrated Management Database and Trend Data Management Service are up and running.

  • When either the -ri option or the -rs option is specified

    Successful completion

1

Abnormal termination

12

Intelligent Integrated Management Database and Trend Data Management Service are stopped.

16

The Intelligent Integrated Management Database is up and the Trend Data Management Service is stopped.

17

The Intelligent Integrated Management Database is stopped, and the Trend Data Management Service is started.

20

Intelligent Integrated Management database not set up

Log output

This command outputs the following trace log for each process: The integrated trace log is not output.

Notes

Example 1

Example 2

Example 3