jimgndbstop
- Organization of this page
Function
This command stops Intelligent Integrated Management Database and Trend Data Management service.
To force the Intelligent Integrated Management database to stop, use this command with the -f option.
The waiting time for stopping the trend data management service is up to 10 seconds#.
- #
-
The waiting time for a typical outage process is up to 5 seconds. If the -f option is specified, a maximum of 5 seconds is added to the waiting time for forced stop processing.
Also, if you are using setup to automatically start and terminate JP1/IM - Manager, use the jco_stop command to stop Intelligent Integrated Management Database and Trend Data Management Service. For details about the jco_stop command, see jco_stop (UNIX only).
Format
jimgndbstop -sys [-h logical-host-name] [-f]
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
- -sys
-
Required when this command is run. This is an option to prevent unintentional service outages.
- -h logical-host-name
-
When operating on a clustered system, specify the logical host name of the host on which the command is executed.
Stops the Intelligent Integrated Management Database (service) and the Trend Data Management service 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.
- -f
-
Specifies that Intelligent Integrated Management Database is to be forcibly stopped.
Return values
0 |
Normal termination |
1 |
Abnormal termination |
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.
-
File name
jimgndbstop{1|2|3|4|5|6|7|8|9|10}.log#
#: {1|2|3|4|5|6|7|8|9|10} is a number of faces of the file.
-
File size (number of faces)
5,120KB (10 faces)
-
Output destination
- In Windows:
-
Physical host
Manager-path\log\imgndb\#
-
Logical host
user-specified-path-when-created-logical-host-of-JP1/IM - Manager\log\imgndb\
- In Linux:
-
Physical host
/var/opt/jp1imm/log/imgndb/#
-
Logical host
user-specified-path-when-created-logical-host-of-JP1/IM - Manager/jp1imm/log/imgndb/
- #
-
Even in the operation of a logical host, a portion of the log is output to the physical host.
-
Notes
-
This command cannot be multiplexed. It cannot be run concurrently with other operational commands in the Intelligent Integrated Administration database.
For details about Intelligent Integrated Management Database operation command multiplexing execute, see About multiple execution of the commands related to the Intelligent Integrated Management Database.
-
If you run this command and fail to stop the Intelligent Integrated Management Database and the Trend Data Management Service:
Check the error message printed to the console, remove the cause of the error, and stop again with this command.
If it still does not stop, stop the process using the OS function.
For details about the process to be stopped, see JP1/IM - Manager process (Linux) in Appendix B. Process List of the JP1/Integrated Management 3 - Manager Overview and System Design Guide.
Example
-
In case of successful completion
> jimgndbstop -sys KNAN12064-I The trend data management service will now stop. KNAN12068-I The trend data management service stopped. KNAN12066-I The trend data management service stopped normally. KNAN12063-I The Intelligent Integrated Management Database Service will now stop. KNAN12067-I The Intelligent Integrated Management Database Service stopped. KNAN12065-I The Intelligent Integrated Management Database Service stopped normally.
-
In case of abend (when the database is not set up)
> jimgndbstop -sys KNAN12063-I The Intelligent Integrated Management Database Service will now stop. KNAN12041-E The Intelligent Integrated Management Database is not configured.