3.5.5 Adding, modifying, and removing a management target and applying the changes
When you add, modify, or remove a managed target, use jddcreatetree and jddupdatetree commands or integrated operation viewer to reflect it in Intelligent Integrated Management Base. This section describes the procedure for using commands. For details about how to use integrated operation viewer to import data, see 3.6.4 IM management node creation and execution function.
For details about the target host definition file for configuration collection (imdd_target_host.conf) described later in this subsection, see Chapter 2. Definition Files in the JP1/Integrated Management 3 - Manager Command, Definition File and API Reference. For details about the jddcreatetree command and the jddupdatetree command, see Chapter 1. Commands in the JP1/Integrated Management 3 - Manager Command, Definition File and API Reference.
- Organization of this subsection
(1) Adding a management target
If a new managed host is added or an attempt to collect IM management node related information fails on some hosts, the information on the host you want to add is retrieved as additional data. The data is then combined together with the data collected in advance and applied to the Intelligent Integrated Management Base.
To combine additional data with the data collected in advance, you have to save the additional data in the same location as the data collected in advance.
Take an example where an attempt to collect IM management node related information fails to describe how to apply the additional data.
Example: If you try to collect the IM management node related information from hosts A, B, and C, but failed to collect the information of host B:
-
Define hosts A, B, and C in the target host definition file for configuration collection (imdd_target_host.conf) and then execute the jddcreatetree command with C:\tmp specified as the storage location.
An attempt to collect the host B configuration information fails.
-
Define host B in the target host definition file for configuration collection (imdd_target_host.conf) and then execute the jddcreatetree command with C:\tmp specified as the storage location.
-
With the C:\tmp storage location in the jddcreatetree command specified, execute the jddupdatetree command.
(2) Modifying a management target
If you want to edit collected IM management node related information, such as a change to the configuration of an agent administered by a managed manager host, you need to recollect the IM management node related information. To recollect the information, use the following steps:
-
Define the host whose collected IM management node related information is to be edited in the target host definition file for configuration collection (imdd_target_host.conf).
-
Specify the output folder of the jddupdatetreee command, C:\tmp, as a storage location and execute the jddcreatetree command.
-
With the C:\tmp storage location specified in the jddcreatetree command, execute the jssupdatetree command.
(3) Removing a management target
If you remove a particular host from the management targets, you need to remove the information of the host from the target hosts for configuration collection and recollect the IM management node related information of the entire system.
Take the following example to describe how to remove a management target:
Example: If you try to remove host B from the management target when you have hosts A, B, and C:
-
Define hosts A and C in the target host definition file for configuration collection (imdd_target_host.conf) and execute the jddcreatetree command with C:\tmp as a storage location.
Specify a blank directory as the storage location.
-
With the C:\tmp storage location specified in the jddcreatetree command, execute the jddupdatetree command.