Hitachi

JP1 Version 12 JP1/Base User's Guide


6.5.2 Defining jp1hosts information

JP1/Base can hold its own hosts information, which enables resolution of IP addresses independently of the OS.

Note

When you define jp1hosts information, the definitions in the hosts file and DNS are not referenced for the host names and IP addresses defined in the jp1hosts information.

Example:

jp1hosts information:

  hostA 100.0.0.10, 200.0.0.10

hosts file:

  100.0.0.10 hostA hostB
  200.0.0.10 hostC

In these definitions, the hosts file is not referenced for hostA, 100.0.0.10, and 200.0.0.10.

To register jp1hosts information with the common definition information:

  1. Edit the jp1hosts definition file.

    A jp1hosts definition file (jp1hosts) is provided by default. However, you cannot use this file without editing it first. If you create your own jp1hosts definition file, store it in the same folder as the default jp1hosts file. For details on the format of the jp1hosts definition file, see jp1hosts definition file in 16. Definition Files.

  2. Execute the jbshostsimport command in the following format to register the jp1hosts definition file with the common definition information.

    Execute the command as follows:

    jbshostsimport {-o|-r} jp1hosts-definition-file-name [-h logical-host-name]

Use the jbshostsexport command to check the jp1hosts information registered with the common definition information. For details on these commands, see 15. Commands.