6.5.3 Changing communication settings of event services
The communication settings of event services are managed using the event server settings file (conf). You can change the communication settings of event services by changing the contents of this file. The following parameters are required to use JP1/Base in an environment of distinct networks:
-
ports parameter
-
client-bind parameter
The ports parameter is used to receive JP1 events and the client-bind parameter is used to transmit JP1 events. For details on these parameters, see Event server settings file in 16. Definition Files.
You need to set these parameters in the event server settings file (conf) when:
-
communication cannot be established with the IP address used in the connection with the destination host, or
-
using a host connected to multiple networks in a cluster system.
To change the communication settings of event services:
-
Open the event server settings file (conf) in a text editor or similar.
When editing an event server settings file (conf) file for a logical host, edit the file you created when you set JP1/Base for use in a cluster system.
-
Find the ports parameter and edit it to match the use of JP1/Base.
Add the ports parameter if the event server settings file (conf) does not already contain it. If the host is not being used in a cluster system, you can keep the default setting of the ports parameter, as follows:
ports 0.0.0.0 jp1imevt jp1imevtapi
When you use a host connected to multiple networks in a cluster system, and you assign multiple IP addresses for each physical and logical host, edit the port parameter as below:
ports IP-address:IP-address jp1imevt jp1imevtapi
The IP-addresses are the IP addresses that the event server uses for reception of JP1 events. Use a colon (:) to delimit multiple names. You can specify up to four IP addresses.
-
Add the client-bind parameter.
This parameter should be written in the following format:
client-bind 0.0.0.0
This setting enables JP1/Base to use event services even in an environment of distinct networks.
- Note
-
If you set the port settings and client-bind parameters, but JP1/Base is still not communicating properly, add the remote-server parameter to the conf file. The remote-server parameter allows you to specify a connection method to other event servers. Using this parameter, you can specify the address of a network explicitly with an IP address. This parameter should be written in the following format:
remote-server event-server-name close IP-address
For details, see Event server settings file in 16. Definition Files.