jddupdatesuggestion
- Organization of this page
Function
This command loads all suggestion definition files located under the specified directory and applies them to the Intelligent Integrated Management Base.
When the suggestion definition files have already been applied to the Intelligent Integrated Management Base, the command discards all the definitions that have been applied and replaces them with the definitions provided in the specified suggestion definition files. When there is a mistake in one of the definitions provided in the suggestion definition files, the command suspends its processing the moment the mistake is found.
Before executing this command, execute the jddsetaccessuser command to set the user ID and password necessary for authentication.
Format
jddupdatesuggestion -i directory-name [-h logical-host-name]
Execution permission
In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)
In UNIX: Superuser permissions
Storage directory
- In Windows:
-
Manager-path\bin\imdd\
- In UNIX:
-
/opt/jp1imm/bin/imdd/
Arguments
- -i directory-name
-
Specify either the absolute path to the directory under which the suggestion definition files are saved or the relative path to the same directory from the location where this command is executed. If the path name contains a space, enclose the entire path name in double quotation marks (").
- -h logical-host-name
-
Specify the logical host name when JP1/IM is running in a cluster system. When you omit this option, the command assumes that the logical host name specified in the JP1_HOSTNAME environment variable is set. When the JP1_HOSTNAME environment variable is not specified, the command assumes that the physical host name is set.
Notes
-
You cannot execute multiple jddupdatesuggestion commands at a time. Doing so results in an error.
-
You cannot execute this command while the jddcreatetree command or the jddupdatetree command is being executed. Doing so results in an error.
-
You have to execute the jddupdatesuggestion command while the JP1/IM - Manager service is up and running.
Return values
0 |
Normal termination |
1 |
Normal termination (with a warning message) |
2 |
Concurrent execution error |
3 |
Invalid argument |
4 |
Invalid logical host name |
5 |
Authentication information used by the Intelligent Integrated Management Base is not set |
6 |
No execution permission for the jddupdatesuggestion command assigned |
7 |
The specified directory does not exist |
8 |
Failed to connect to the Intelligent Integrated Management Base |
9 |
The Intelligent Integrated Management Base could not be authenticated |
10 |
The user used for authentication has insufficient permissions |
11 |
The suggestion definition files do not exist |
12 |
Failed to load the suggestion definition files |
13 |
The suggestion definition files have an invalid format |
14 |
The suggestion definition files have an invalid description |
15 |
Failed to create a suggestion definition master file# |
255 |
System error |
Example 1
Specify C:\tmp as the location to which to store the suggestion definition files:
$ jddupdatesuggestion -i C:\tmp KAJY02009-I The command (jddupdatesuggestion) has started. KAJY02010-I The command (jddupdatesuggestion) terminates normally.
Example 2
Specify C:\tmp as the location to which to store the suggestion definition files and ronri as the logical host:
$ jddupdatesuggestion -i C:\tmp -h ronri KAJY02009-I The command (jddupdatesuggestion) has started. KAJY02010-I The command (jddupdatesuggestion) terminates normally.