6.8.1 Changing communication settings (with jp1hosts information)
This subsection describes how to change communication settings of each host.
The following table shows whether you need to change the communication settings for the hosts in the system configuration shown in Figure 6-7.
Host name |
Communication settings of the main part of JP1/Base |
Communication settings of event services (edit of conf) |
|
---|---|---|---|
jp1hosts information |
Communication protocol settings |
||
host10 |
Required |
Not required |
Required |
hostX (physical host) |
Required |
Required |
Required |
hostL (logical host) |
Required |
Required |
Required |
hostA |
Not required |
Not required |
Not required |
hostB |
Not required |
Not required |
Not required |
- Organization of this subsection
(1) Changes required for host10
Host10 connects to hostX and hostL with the IP addresses 20.0.0.11 and 20.0.0.15, which do not correspond to the physical host name (which is hostX) and the logical host name (which is hostL). You need to let JP1/Base and event servers recognize 20.0.0.11 and 20.0.0.15 as IP addresses that correspond to hostX and hostL. This can be done with the jp1hosts definition file and the event server settings file (conf).
-
Stop all programs for which JP1/Base is a prerequisite or that depend on JP1/Base.
-
Stop JP1/Base.
-
Edit the jp1hosts definition file.
Edit the jp1hosts definition file with the following information:
# Correspond the IP addresses 20.0.0.11 and 20.0.0.15 to # the hosts that each IP address should correspond to. hostX 20.0.0.11 hostL 20.0.0.15
-
Execute the jbshostsimport command.
jbshostsimport {-o|-r} jp1hosts-definition-file-name
-
Edit the event server settings file (conf).
Add the following line to the event server settings file (conf):
remote-server hostX close 20.0.0.11 remote-server hostL close 20.0.0.15
-
Restart JP1/Base.
Restart JP1/Base, JP1/Base prerequisite programs, and the programs that have dependency relationships with JP1/Base.
This completes the communication settings for host10.
(2) Changes required for hostX (physical host)
-
Stop all programs for which JP1/Base is a prerequisite or that depend on JP1/Base.
-
Stop JP1/Base.
-
Edit the jp1hosts definition file.
Edit the jp1hosts definition file with the following information:
# Correspond the IP address to the host name. hostX 10.0.0.11, 20.0.0.11
-
Execute the jbshostsimport command.
jbshostsimport {-o|-r} jp1hosts-definition-file-name
-
Execute the jbssetcnf command.
jbssetcnf physical_ipany.conf
-
Edit the event server settings file (conf).
In the event server settings file (conf), change the ports and the client-bind parameters as below:
ports 10.0.0.11:20.0.0.11 jp1imevt jp1imevtapi client-bind 0.0.0.0
-
Edit the API settings file (api).
server hostX keep-alive 10.0.0.11
-
Restart JP1/Base.
Restart JP1/Base, JP1/Base prerequisite programs, and the programs that have dependency relationships with JP1/Base.
This completes the communication settings for hostX.
(3) Changes required for hostL (logical host)
-
Stop all programs for which JP1/Base is a prerequisite or that depend on JP1/Base.
-
Stop JP1/Base.
-
Edit the jp1hosts definition file.
Edit the jp1hosts definition file with the following information:
# Correspond the IP address to the host name. hostL 10.0.0.15, 20.0.0.15
-
Execute the jbshostsimport command.
jbshostsimport {-o|-r} jp1hosts-definition-file-name -h hostL
-
Edit the logical_ipany.conf.
Open the logical_ipany.conf using a text editor, look for [LOGICALHOSTNAME\JP1BASE], and change it to [hostL\JP1BASE].
-
Execute the jbssetcnf command.
jbssetcnf logical_ipany.conf
-
Edit the event server settings file (conf).
In the event server settings file (conf), change the ports and the client-bind parameters as below:
ports 10.0.0.15:20.0.0.15 jp1imevt jp1imevtapi client-bind 0.0.0.0
-
Edit the API settings file (api).
-
server hostL keep-alive 10.0.0.15
-
Restart JP1/Base.
Restart JP1/Base, JP1/Base prerequisite programs, and the programs that have dependency relationships with JP1/Base.
- Note
-
In cluster operation, also perform steps 3 through 6, and 8, on the secondary logical host.
This completes the communication settings for hostL.
(4) Changes required for hostA and hostB
You do not need to change the communication setting for hostA and hostB since they are connected to hostX and hostL with IP addresses that correspond to the physical and the logical host names.