Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Command, Definition File and API Reference


jddupdatetree

Organization of this page

Function

Based on the IM management node-related files acquired with the jddcreatetree command and the IM management node link definition file (imdd_nodeLink_def.conf) defined manually by the user, this command creates information regarding both the IM management node tree and the link between IM management nodes, and evaluates configuration information.

You can specify one of the following two options to designate how you want the system configuration information to be applied. The status of IM management nodes is evaluated differently depending on which option is specified.

If you specify the new and rebuilding mode as a way to apply system configuration information, this command acquires all the JP1 events stored in the integrated monitoring database and evaluates the status of each IM management node. If you specify the configuration change mode as a way to apply system configuration information, the command directly inherits and evaluates information regarding both existing JP1 events and mapping between those JP1 events and IM management nodes, instead of reacquiring all the JP1 events stored in the integrated monitoring database.

Specify the new and rebuilding mode in the following cases:

Specify the configuration change mode in the following case:

For details about how to apply system configuration information, see 3.2.7 Modes of applying system configuration information in the JP1/Integrated Management 2 - Manager Overview and System Design Guide.

Before executing this command, execute the jddsetaccessuser command to set the user ID and password information required for authentication.

For details about the jddcreatetree command, see jddcreatetree in Chapter 1. Commands.

This command requests the Intelligent Integrated Management Base to apply the IM management node-related files and waits until the request is completed.

Format

jddupdatetree -i directory-name [{-r|-c}] [-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

Specifies the path of the directory that stores files created by the jddcreatetree command. The value can be an absolute path or a relative path from the directory where this command is executed. The value must be enclosed in double quotation marks (") if a space is included.

-r|-c

Specifies an option that determines how system configuration information will be applied.

-r

Specify this option when you want to apply system configuration information in the new and rebuilding mode. You cannot specify this option along with the -c option. In this mode, system configuration information is applied in almost the same manner as in version 12-10 or earlier.

-c

Specify this option when you want to apply system configuration information in configuration change mode. You cannot specify this option along with the -r option.

-h logical-host-name

Specifies the logical host name of JP1/IM if JP1/IM is running in a cluster system.

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

Notes

Return values

0

Normal termination

1

Normal termination (invalid property)

2

Exclusive locked

3

Invalid argument

4

Invalid logical host name

5

Authentication information used by the Intelligent Integrated Management Base is not set

6

Missing information required for the jddupdatetree command to run

7

No execution permission for the jddupdatetree command

8

The specified directory does not exist

10

IM database service is not running

11

Failed to connect to the Intelligent Integrated Management Base

12

The Intelligent Integrated Management Base could not be authenticated

13

A required file does not exist

14

A required file could not be read

15

A required file hasan invalid format

16

A required file has an invalid description

17

Event information could not be received

19

Information could not be received from the plug-in

21

Master file creation failed

22

Master file alternate failed

26

The user used for authentication has insufficient permissions

27

There are suggestion definitions that are not mapped to any of the IM management nodes

28

Failed to create suggestion-related master files#

29

Failed to replace the suggestion-related master files#

255

System error

#

These files collectively refer to master information related to suggestions (including the suggestion definition master file, etc.). They are loaded when the JP1/IM - Manager service starts.

Example 1

Specify that files created by the jddcreatetree command are stored in C:\tmp:

$ jddupdatetree -i C:\tmp
KAJY02009-I The command (jddupdatetree) has started.
KAJY02010-I The command (jddupdatetree) terminates normally.

Example 2

Specify that files created by the jddcreatetree command are stored in C:\tmp and specify a logical host named ronri:

$ jddupdatetree -i C:\tmp -h ronri
KAJY02009-I The command (jddupdatetree) has started.
KAJY02010-I The command (jddupdatetree) terminates normally.

Example 3

Execute the command with the new and rebuilding mode specified as a way to apply system configuration information:

$ jddupdatetree -i C:\tmp -r
KAJY02009-I The command (jddcreatetree) has started.
KAJY02010-I The command (jddcreatetree) terminate normally.

Example 4

Execute the command with the configuration change mode specified as a way to apply system configuration information:

$ jddupdatetree -i C:\tmp -c
KAJY02009-I The command (jddcreatetree) has started.
KAJY02010-I The command (jddcreatetree) terminates normally.