jimgndbunsetup
- Organization of this page
Function
This command uninstalls Intelligent Integrated Management Database and Trend Data Management Service (uninstall and delete the database).
Execute this command before stopping the use of Intelligent Integrated Management Database or re-creating Intelligent Integrated Management Database. If you want to uninstall both Physical host and Logical host, you must Execute them on each host.
Format
jimgndbunsetup [-h logical-host-name -c {online|standby}] [-q]
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
- -h logical-host-name
-
When operating on a clustered system, specify the logical host name of the host on which the command is executed. For the logical host name, specify the logical host name set in JP1/Base exactly, including uppercase and lowercase letters.
Intelligent Integrated Management Database corresponding to the specified Logical host will be uninstalled. If you are not using a cluster system, you do not need to specify it.
Note that JP1_DEFAULT cannot be specified for the logical host name.
- -c {online|standby}
-
Specify the setup type of the execution system and standby system of the cluster configuration as required. The following are the setup types that you can specify:
-
online
Specify to set up an execution system.
-
standby
Specify to set up a standby system.
Only uninstall Intelligent Integrated Management Database and skip delete of the database.
If you specify standby for -c option on both execute system and the standby system, delete of the database is not performed. In such cases, you must manually delete the database. You can check delete targets in KNAN12108-I Message.
Also, when operating a logical host in a non-clustered environment, specify online.
-
- -q
-
Specifies that the command is to be executed without user confirmation.
Return values
0 |
Normal termination |
1 |
Abnormal termination |
3 |
Canceled by user (if you enter N/n in KNAN12009-Q Message and Stopped the operation) |
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
jimgndbunsetup{1|2}.log#
#: {1|2} is a number of faces of the file.
-
File size (number of faces)
256KB (2 faces)
-
Output destination
- In Windows:
-
Physical host and Logical host
Manager-path\log\imgndb\
- In Linux:
-
Physical host and Logical host
/var/opt/jp1imm/log/imgndb/
-
Notes
-
When executing a command with the -c option, do not switch servers during execution. If you switch servers while running, unset them up after the command ends, and then rerun the command.
-
The following are precautions when processing is aborted by pressing Ctrl + C or Ctrl + Break during command execution.
- Ensure that the pg_ctl, postgres, and promscale processes are not running, run the jimgndbunsetup command, and rerun the command. If these processes are running, wait some time for them to end and rerun this command.
- Processing is aborted, but messages may be output corrupted.
-
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 a KNAN12105-E or KNAN12107-E error message is output, or if a KNAN12108-I message is output due to an error, check the directory name in the message and manually delete the data in the corresponding directory.
Example
-
In case of successful completion
>jimgndbunsetup KNAN12035-I Unsetup of the Intelligent Integrated Management Database will be performed. KNAN12009-Q Do you want to continue processing? (Y/N) :Y KNAN12036-I Unsetup of the Intelligent Integrated Management Database will now start. KNAN12020-I Please wait. KNAN12104-I The Intelligent Integrated Management Database was uninstalled. KNAN12106-I The data storage directory of the Intelligent Integrated Management Database was deleted. KNAN12038-I Unsetup of the Intelligent Integrated Management Database ended normally.
-
In case of abend (when the database is not set up)
>jimgndbunsetup KNAN12035-I Unsetup of the Intelligent Integrated Management Database will be performed. KNAN12041-E The Intelligent Integrated Management Database is not configured.