Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Administration Guide


9.7.2 Importing management information of IM Configuration Management

If necessary, you can edit the management information of IM Configuration Management that has been output (exported) from a host, and you can input (import) the edited information onto a different host. You use the jcfimport command for the import operation, but you cannot import collected host information.

Since importing will change the data held by IM Configuration Management, we recommend that you back up the data before executing the import operation.

This subsection explains the system configuration information that is imported by the jcfimport command. For details about how to apply the imported management information of IM Configuration Management to a system, see 9.7.3 Applying the imported management information of IM Configuration Management to a system.

For details about the jcfimport command, see jcfimport in Chapter 1. Commands of the manual JP1/Integrated Management 2 - Manager Command, Definition File and API Reference.

Organization of this subsection

(1) Host information

In the case of manually-entered information, the content of the export file (host_input_data.csv) is imported.

The table below shows the items that are imported from the export file (host_input_data.csv) for manually-entered information, and the input range for each item.

Table 9‒9: Host information that is imported (manually-entered information)

Item

Input range

Required/Optional

Default

Host

A character string of up to 255 bytes may be input. Permitted characters are alphanumeric characters, periods (.) and the hyphen (-), excluding control codes.

Required#1

--

IP address

Permitted characters are alphanumeric characters, periods (.), and colons (;). Control codes are not permitted.

Optional

Blank

Host name list

Host names can be input. Permitted characters are alphanumeric characters periods (.) and the hyphen (-), excluding control codes.

Optional

Blank

Comment

A character string of up to 80 bytes may be input.

Optional

Blank

Host type

You can input one of the following:

  • physical

  • logical

  • virtual

  • unknown

Optional

physical

Active host

A character string of up to 255 bytes may be input. Permitted characters are alphanumeric characters periods (.) and the hyphen (-), excluding control codes.

Optional

Blank

Standby host

Host names can be input. For each host name, a character string of up to 255 bytes may be input. Permitted characters are alphanumeric characters periods (.) and the hyphen (-), excluding control codes.

Optional

Blank

VMM host

A character string of up to 255 bytes can be input. Permitted characters are alphanumeric characters periods (.) and the hyphen (-), excluding control codes.

Optional

Blank

Virtual manager type

One of the following can be input. This item is not case sensitive.

For a virtualization system management host:

- vCenter

- JP1/SC/CM

- SCVMM

- HCSM

For a VMM host:

- ESX#2

- Hyper-V

- KVM

- Virtage#3

Optional

Blank

User name

A character string of up to 255 bytes can be input. Permitted characters are alphanumeric characters other than control codes.

Optional

Blank

Password#4

A character string of up to 255 bytes can be input. Permitted characters are alphanumeric characters other than control codes.

Optional

Blank

Domain name#5

A character string of up to 255 bytes can be input. Permitted characters are alphanumeric characters other than control codes.

Optional

Blank

Communication type#6

Either http, https, or ssh can be input. This item is not case sensitive. Which communication types you can specify depends on the virtual manager type:

When the virtual manager type is vCenter:

https or http can be input.

When the virtual manager type is HCSM:

http can be input.

When the virtual manager type is KVM:

ssh can be input.

Optional

When the virtual manager type is vCenter:

https

When the virtual manager type is HCSM:

http

When the virtual manager type is KVM:

ssh

Port number#7

A numeric value from 1 to 65535 can be entered.

Optional

When the virtual manager type is HCSM:

23015

When the virtual manager type is KVM:

22

Private key file name#8

A character string of up to 256 bytes can be input. This item is case sensitive. Permitted characters are alphanumeric characters other than control codes.

Optional

Blank

Virtualization management former host name

A character string of up to 255 bytes can be input. Permitted characters are alphanumeric characters, periods (.) and hyphens (-). Control codes are not permitted.

Optional

Blank

Remote communication type

This item can be used for remote monitoring. You can input one of the following:

  • disable

  • ssh

  • wmi

Optional

disable

Authentication information category#9

This item can be used for remote monitoring. You can input one of the following:

  • common

  • host

  • Blank

Optional

Blank

Legend:

--: There is no default value.

Note: The length (in bytes) of the character string is in UTF-8.

#1: If the required item is not specified, an error occurs. If an optional item is not specified, the default value is imported.

#2: ESX indicates VMware ESX.

#3: Virtage indicates the Hitachi Compute Blade logical partitioning feature.

#4: This item must be input when the virtual manager type is vCenter, SCVMM, or HCSM.

#5: This item must be input when the virtual manager type is SCVMM.

#6: This item must be input when the virtual manager type is vCenter, HCSM, or KVM.

#7: This item must be input when the virtual manager type is HCSM or KVM.

#8: This item must be input when the virtual manager type is KVM.

#9: When you change the host name of the host whose authentication information category is set to host, the authentication information used for remote monitoring is not inherited. In such cases, reset the remote communication settings in the IM Configuration Management window after the import is complete.

If characters that do not have code compatibility or model-dependent characters are used in the host information, these characters may become garbled when they are imported.

If any of the conditions listed below applies to the export file (host_input_data.csv) for manually-entered information, an error occurs and the file is not imported.

If a host has the same host name as the import destination host, that host is not registered in IM Configuration Management as a managed host after the export file (host_input_data.csv) for manually-entered information has been imported.

(2) System hierarchy information

The content of the export file for the system hierarchy information is imported. The export file differs according to the system monitoring method:

(a) Configuration information for agent monitoring

The name of the file to which the configuration information for agent monitoring is exported is system_tree_information.txt.

If any of the conditions listed below applies to the content of the export file for the configuration information for agent monitoring, an error occurs and the file is not imported.

  • The same host is described on multiple lines (the managed host has multiple higher hosts).

  • The host configuration is looped.

  • The host name specified for the managing host is not enclosed in square brackets [ ] (] is missing).

  • No host name is specified for the managing host.

  • More than 10,000 hosts are defined.

  • The local host is defined as the managed host.

After the export file (host_input_data.csv) for host information (manually-entered information) or the export file for the configuration information for agent monitoring is edited, the host name specified in the export file for the configuration information for agent monitoring might not be specified in the export file for the host information (manually-entered information) in some cases. In those cases, after the export file for the configuration information for agent monitoring is imported, an import warning message is displayed and the undefined host is automatically registered in IM Configuration Management as a managed host.

When you are trying to import the configuration information for agent monitoring, if the export file for the configuration information for agent monitoring is not found in the specified directory, an error message is displayed and the import operation is halted.

(b) Configuration information for remote monitoring

The name of the file to which the configuration information for remote monitoring is exported is system_remote_tree_information.txt.

If any of the conditions listed below applies to the content of the export file for the configuration information for remote monitoring, an error occurs and the file is not imported.

  • The same host is specified on multiple lines. (The managed host has multiple higher hosts.)

  • The host configuration is looped.

  • The host name specified for the managing host is not enclosed in square brackets [] (] is missing).

  • No host name is specified for the managing host.

  • More than 1,024 hosts are defined.

  • The local host is defined as the managed host.

After the export file (host_input_data.csv) for host information (manually-entered information) or the export file for the configuration information for remote monitoring is edited, the host name specified in the export file for the configuration information for remote monitoring might not be specified in the export file for the host information (manually-entered information) in some cases. In those cases, after the export file for the configuration information for remote monitoring is imported, an import warning message is displayed and the undefined host is automatically registered in IM Configuration Management as a managed host.

When you are trying to import the configuration information for remote monitoring, if the export file for the configuration information for remote monitoring is not found in the specified directory, an error message is displayed and the import operation is halted.

(3) Profile information

The content of the export files for the profile information is imported. The file that is imported differs according to the system monitoring method:

When agent monitoring profile information is imported, the destination is determined using the directory name under definition_files directory. The directory name on the hierarchy one step below the definition_files directory is read as a host name, and the directory name on the hierarchy two steps below the definition_files directory is read as a product name. The file stored in each directory is registered on the applicable host as settings information. Consequently, if you change the host name in the export file (host_input_data.csv) for host information (manually-entered information), you must also change the directory name. If you do not change it, the profile information cannot be imported.

The profile information file is loaded as a character code described in encode of the export file (data_information.txt) for the export data information. For this character code, the environment variable LANG of the OS of the server that executed the export operation is set. When you import profile information, make sure that the character code described in the export file (data_information.txt) matches the character code of the profile information file.

If characters that do not have code compatibility or model-dependent characters are used in the host information, these characters may become garbled when they are imported.

If more than 10,000 hosts are defined, an error occurs and no file is imported.

If the export file for the profile (configuration file) contains an unsupported product or unsupported profile, these are ignored and processing continues.

(a) Remote monitoring profile information

When remote monitoring is used, the content of the export file for the remote monitoring profile information is imported. The remote monitoring profile information cannot be edited.

The following table describes the export files for remote monitoring profile information to be imported.

Table 9‒11: Remote monitoring profile information to be imported and the export file names

Profile information

Export file name

Remote-monitoring log file trap action-definition file

Any name

Remote monitoring startup definition file

jevlog_start.conf

Remote-monitoring event log trap action-definition file

ntevent.conf

When remote monitoring profile information is imported, the destination is determined using the directory name under definition_files directory.

The directory name on the hierarchy one step below the definition_files directory is read as a host name, and the directory name on the hierarchy two steps below the definition_files directory is read as a product name. The file stored in each directory is registered on the applicable host as settings information. Consequently, if you change the host name in the export file (host_input_data.csv) for host information (manually-entered information), you must also change the directory name. If you do not change it, the profile information cannot be imported.

The profile information file is loaded in the encoding described in encode of the export file (data_information.txt) for the export data information. For this encoding, the value of the LANG environment variable of the OS of the server that executed the export operation is set. When you import profile information, make sure that the character encoding described in the export file (data_information.txt) matches the character encoding of the profile information file. If characters without code compatibility or model-dependent characters are used in the host information, these characters might be unreadable when they are imported.

(4) Remote authentication information

When remote monitoring is used, the content of the export file for the remote authentication information is imported. The name of the file to be imported is wmi.ini or ssh.ini.

When you use remote monitoring, after the remote authentication information is imported, invoke the System Common Settings window from the IM Configuration Management - View, check the settings, and then click the OK button.

(5) Business group information

When business groups are used, the content of the export file for the monitoring group information of IM Configuration Management is imported. If any of the conditions listed below applies to the content of the export file (monitoring_system_data.csv) for the business group information, an error occurs and the file is not imported.

Save the export file for business group information (monitoring_system_data.csv) with the character encoding specified in line 1 (header information). If you save this file in UTF-8, make sure that no BOM (byte order mark) is included.

The following table describes items that are imported and the input range of each item.

Table 9‒12: Imported items (business group information)

Item

Input range

Required/Optional

Default

Business group name

A maximum of 255 bytes of characters can be entered in UTF-8. All characters are permitted except control characters, forward slashes (/), and single-byte commas (,). The first and the last characters cannot be a single-byte space. The characters are case sensitive. To specify a double quotation mark ("), specify two double quotation marks in succession and then enclose the entire string in double quotation marks.

Do not use environment-dependent characters for business group names. Such characters can cause character corruption in the definition.

Required

--

Assigned JP1 resource group name

A character string of up to 64 bytes can be input. Permitted characters are ASCII codes other than symbols (" / [ ] ; : , | = + ? < >), a tab, or a space.

Optional

Blank

Comment

A maximum of 80 bytes of characters can be entered in UTF-8. All characters are permitted except control characters. To specify a double quotation mark ("), specify two double quotation marks in succession and then enclose the entire string in double quotation marks. If you specify a comma (,), enclose the entire string in double quotation marks.

Optional

Blank

Host name

A maximum of 2,500 host names can be specified delimited by a comma (,). When you specify multiple host names, enclose the entire string in double quotation marks ("). For an input range consisting of a single host name, see Table 9-9 Host information that is imported (manually-entered information).

Optional

Blank

Legend:

--: There is no default value.

(6) Monitoring group information

When business groups are used, the content of the export file for the business group information is imported. If any of the conditions listed below applies to the content of the export file (monitoring_group_data.csv) for the monitoring group information, an error occurs and the file is not imported.

Save the export file for business group information (monitoring_group_data.csv) with the character encoding specified in line 1 (header information). If you save this file in UTF-8, make sure that no BOM (byte order mark) is included.

The following table describes items that are imported and the input range of each item.

Table 9‒13: Imported items (monitoring group information)

Item

Input range

Required/Optional

Default

Monitoring group path

A maximum of 2,048 bytes of characters can be entered in UTF-8. All characters are permitted except control characters. The characters are case sensitive. To specify a double quotation mark ("), specify two double quotation marks in succession and then enclose the entire string in double quotation marks.

Do not use environment-dependent characters for monitoring group names. Such characters can cause character corruption in the definition.

Required

--

Comment

A maximum of 80 bytes of characters can be entered in UTF-8. All characters are permitted except control characters. To specify a double quotation mark ("), specify two double quotation marks in succession and then enclose the entire string in double quotation marks. If you specify a comma (,), enclose the entire string in double quotation marks.

Optional

Blank

Host name

A maximum of 2,500 host names can be specified delimited by a comma (,). If you specify multiple host names, enclose the entire string in double quotation marks ("). For an input range consisting of a single host name, see Table 9-9 Host information that is imported (manually-entered information).

Optional

Blank

Legend:

--: There is no default value.