Hitachi

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


Host information file (jcs_hosts)

Organization of this page

Format

IP-address host-name-1 host-name-2 host-name-3 ... host-name-8
IP-address host-name-1 host-name-2 host-name-3 ... host-name-8
              :

File

jcs_hosts (host information file)

jcs_hosts.model (model file for the host information file)

Storage directory

In Windows
For a physical host:

Scope-path\conf\

For a logical host:

shared-folder\jp1scope\conf\

In UNIX
For a physical host:

/etc/opt/jp1scope/conf/

For a logical host:

shared-directory/jp1scope/conf/

Description

This file defines the host information that is managed by JP1/IM - Manager (Central Scope).

The host information file is used to specify the host information that is used for automatic generation of a monitoring tree and for Host name Comparison during JP1 event collation processing for changing the status of monitoring objects. The format of the host information file is the same as for the hosts file.

If # is specified, any text following # is treated as a comment.

When the definitions are applied

The contents of the host information file take effect when JP1/IM - Manager is restarted or the jco_spmd_reload command is executed after the jcshostsimport command has been executed.

If you use the jcshostsimport command to store the contents of the host information file in the host information database, the host names become all lowercase. Therefore, the host names output by jcshostsexport are also in lowercase.

The jcshostsimport command does not store comments in the host information file.

Information that is specified

IP-address host-name-1 host-name-2 host-name-3 ... host-name-8

Specifies an IP address from the beginning of the line (other than spaces), and then specifies host names or alias names after one or more spaces or tabs.

The maximum length of the IP address is 63 bytes. IP addresses of IP V6 are not supported.

The maximum length of a host name or alias name is 255 bytes.

You can specify a maximum of 8 host names for one IP address and a maximum of 8 IP addresses for one host name.

If the same IP address is specified more than once, the first IP address defined is effective.

If there is a line that contains only an IP address, an error occurs during jcshostsimport command execution.

A host name is not case sensitive. Japanese characters cannot be used for a host name. An IP address can also be expressed in hexadecimal notation.

Example definition

#
# jcs_hosts
#
# Internet Address Hostname
100.100.10.10     samplehost1  samplehost2