6.12.1 Situations that require communication settings for definition files
Situations (1) to (3) include those in which the host cannot be accessed using the IP address obtained by the operating system's name resolution process.
- Organization of this subsection
(1) When the OS cannot resolve the IP address of the connection destination host
In a jp1hosts definition file or jp1hosts2 definition file, set the IP address used by JP1/Base at the connection destination host. For details on the jp1hosts definition file and the jp1hosts2 definition file, see jp1hosts definition file and jp1hosts2 definition file in 16. Definition Files.
(2) When the OS cannot resolve the IP address of the event server that receives JP1 events
When using jp1hosts2 information, enter the IP address used by the destination event server in the jp1hosts2 definition file.
When using jp1hosts information, enter the IP address used by the destination event server in the remote-server parameter of the event server settings file (conf). For details on the event server settings file, see Event server settings file in 16. Definition Files.
(3) When the OS cannot resolve the IP address of an event server specified in an event search in JP1/IM - View
When using jp1hosts2 information, enter the IP address used by the event server in the jp1hosts2 definition file.
When using jp1hosts information, enter the IP address used by the event server in the server parameter of the API settings file (api). For details on the API settings file, see API settings file in 16. Definition Files.
(4) When running JP1/Base services on a physical and logical host on the same host in a Windows environment
In a jp1hosts definition file or a jp1hosts2 definition file, enter the IP address used by JP1/Base on the physical host.
(5) When setting up a cluster system
When using jp1hosts information, enter the IP address or host name of the physical host and logical host in the ports parameter of the event server settings file (conf). For the physical host, we recommend that you specify an IP address.
(6) When you want to communicate using multiple LANs in a cluster system in an environment with multiple LAN connections
Configure the communication settings as follows:
-
Enter the IP address of the local host in a jp1hosts definition file or a jp1hosts2 definition file.
-
Apply the contents of the following communication protocol files to the common definition information:
-
For a physical host environment: physical_ipany.conf
-
For a logical host environment: logical_ipany.conf
Open the file in an editor, locate the [LOGICALHOSTNAME\JP1BASE] parameter, and replace it with [logical-host-name\JP1BASE].
For details on the communication protocol files, see 6.3.2(2) Communication protocol settings files.
-
-
When using jp1hosts information, enter the IP address of the local event server in the ports parameter of the event server settings file (conf).
-
When using jp1hosts information, specify 0.0.0.0 in the client-bind parameter of the event server settings file (conf).
(7) When you want to communicate using a specific LAN in an environment with multiple LAN connections
Configure the communication settings as follows:
-
Enter the IP address of the local host in a jp1hosts definition file or a jp1hosts2 definition file.
-
Apply the contents of the following communication protocol files to the common definition information:
-
For a physical host environment: physical_ipip.conf
-
For a logical host environment: logical_ipip.conf
Open the file in an editor, locate the [LOGICALHOSTNAME\JP1BASE] parameter, and replace it with [logical-host-name\JP1BASE].
-
-
When using jp1hosts information, enter the IP address of the local event server in the ports parameter of the event server settings file (conf).
-
When using jp1hosts information, specify the destination IP address for JP1 events in the client-bind parameter of the event server settings file (conf).
(8) When you want to connect to the event server using a specific LAN in an environment with multiple LAN connections
Enter the IP address to use to connect to the event server in the client parameter of the API settings file (api).
(9) When you want to delete a logical host from a cluster system and revert to an environment of physical hosts only
Configure the communication settings as follows:
-
When you apply the communication protocol settings file (physical_anyany.conf) to the common definition information, the communication protocol reverts to the ANY binding method.
-
When using jp1hosts information, specify 0.0.0.0 in the ports parameter of the event server settings file (conf).
-
When using jp1hosts information, delete the client-bind parameter from the event server settings file (conf).
-
Delete the jp1hosts definition file or jp1hosts2 definition file as needed.
(10) You specify an IP address in the ports parameter of the event server settings file that is not the one obtained by the OS's name resolution process
In the server parameter of the API settings file (api), enter the IP address specified in the ports parameter of the event server settings file.