6.8.2 Changing communication settings (with jp1hosts2 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 JP1/Base |
Communication settings of event services (edit of conf) |
|
---|---|---|---|
jp1hosts2 information |
Communication protocol settings |
||
host10 |
Required |
Not required |
Not required |
hostX (physical host) |
Required |
Required |
Not required |
hostL (logical host) |
Not required |
Required |
Not 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 recognize 20.0.0.11 and 20.0.0.15 as IP addresses that correspond to hostX and hostL. You can do this with the jp1hosts2 definition file.
-
Edit the jp1hosts2 definition file.
Edit the jp1hosts2 definition file as follows:
# Associate the IP addresses 20.0.0.11 and 20.0.0.15 with the # connection target hosts hostX 20.0.0.11 hostL 20.0.0.15
-
Execute the jbshosts2import command.
jbshosts2import {-o|-r} [jp1hosts2-definition-file-name]
This completes the communication settings for host10.
(2) Changes required for hostX (physical host)
-
Stop products for which JP1/Base is a prerequisite and which have dependency relationships with JP1/Base.
-
Stop JP1/Base.
-
Edit the jp1hosts2 definition file.
Edit the file as follows:
# Associate the IP addresses with the host name hostX 10.0.0.11, 20.0.0.11 hostL 10.0.0.15, 20.0.0.15
-
Execute the jbshosts2import command.
jbshosts2import {-o|-r} [jp1hosts2-definition-file-name]
-
Execute the jbssetcnf command.
jbssetcnf physical_ipany.conf
-
Start JP1/Base again.
Also start products for which JP1/Base is a prerequisite and which have dependency relationships with JP1/Base.
This completes the communication settings for hostX.
(3) Changes required for hostL (logical host)
-
Stop products for which JP1/Base is a prerequisite and which have dependency relationships with JP1/Base.
-
Stop JP1/Base.
-
Edit logical_ipany.conf.
Open logical_ipany.conf in a text editor or similar, locate the [LOGICALHOSTNAME\JP1BASE] parameter, and change it to [hostL\JP1BASE].
-
Execute the jbssetcnf command.
jbssetcnf logical_ipany.conf
-
Start JP1/Base again.
Also start products for which JP1/Base is a prerequisite and which have dependency relationships with JP1/Base.
- Note
-
In cluster operation, apply the the common definition information of the logical host to the secondary node.
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 because they connect to hostX and hostL with IP addresses that correspond to the physical and the logical host names.