Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Base User's Guide


6.9.1 Changing communication settings (with jp1hosts information)

This subsection describes changing the communication settings of the respective hosts.

The following table shows whether you need to change the communication settings for the hosts in the system configuration shown in Figure 6-8.

Host name

Communication settings of the main part of JP1/Base

Event service communication settings

(edit of conf)

jp1hosts information

Communication protocol settings

hostA (physical host)

Required

Required

Required

hostL (logical host)

Required

Required

Required

hostB

Required

Required

Required

Organization of this subsection

(1) Changes required for hostA (physical host)

You need to set up the jp1hosts definition file and event server settings file (conf) so that JP1/Base on each host recognizes the IP address.

  1. Stop all programs for which JP1/Base is a prerequisite or that depend on JP1/Base.

    One example of a program that has a dependency relationship with JP1/Base is HP NNM, which is required to start the SNMP trap converter of JP1/Base.

  2. Stop JP1/Base.

  3. Edit the jp1hosts definition file.

    Edit the jp1hosts definition file with the following information:

    # Correspond the IP address 20.0.0.10 to hostA, and 20.0.0.20 to hostL
    hostA 20.0.0.10
    hostL 20.0.0.20
  4. Execute the jbshostsimport command.

    jbshostsimport {-o|-r} jp1hosts-definition-file-name
  5. Execute the jbssetcnf command.

    jbssetcnf physical_ipip.conf
  6. Edit the event server settings file (conf).

    In the event server settings file (conf), change the ports and the remote-server parameters shown below:

    ports 20.0.0.10 jp1imevt jp1imevtapi
    remote-server hostL close 20.0.0.20
  7. Edit the API settings file (api).

    Add the server parameters in the API settings file (api) as follows:

    server hostA keep-alive 20.0.0.10
    server hostL keep-alive 20.0.0.20
    server hostB keep-alive 20.0.0.11
  8. 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 hostA.

(2) Changes required for hostL (logical host)

  1. Stop all programs for which JP1/Base is a prerequisite or that depend on JP1/Base.

    One example of a program that has a dependency relationship with JP1/Base is HP NNM, which is required to start the SNMP trap converter of JP1/Base.

  2. Stop JP1/Base.

  3. Edit the jp1hosts definition file.

    Edit the jp1hosts definition file with the following information:

    # Correspond the IP address 20.0.0.10 to hostA, 20.0.0.11 to hostB, and 20.0.0.20 to hostL
    hostA 20.0.0.10
    hostB 20.0.0.11
    hostL 20.0.0.20
  4. Execute the jbshostsimport command.

    jbshostsimport {-o|-r} jp1hosts-definition-file-name -h hostL
  5. Edit the logical_ipip.conf.

    Open the logical_ipip.conf using a text editor, look for [LOGICALHOSTNAME\JP1BASE], and change it to [hostL\JP1BASE].

  6. Execute the jbssetcnf command.

    jbssetcnf logical_ipip.conf 
  7. Edit the event server settings file (conf).

    In the event server settings file (conf), change the ports and the remote-server parameters shown below:

    ports 20.0.0.20 jp1imevt jp1imevtapi
    remote-server hostL close 20.0.0.20
  8. Edit the API settings file (api).

    In the API settings file (api), add the server parameters shown below:

    server hostA keep-alive 20.0.0.10
    server hostL keep-alive 20.0.0.20
    server hostB keep-alive 20.0.0.11
  9. Restart JP1/Base.

    Restart JP1/Base, JP1/Base prerequisite programs, and the programs that have dependency relationships with JP1/Base.

    Reference note

    In cluster operation, also perform steps 3 through 6, and 8, on the secondary logical host.

This completes the communication settings for hostL (a logical host).

(3) Changes required for hostB

  1. Stop all programs for which JP1/Base is a prerequisite or that depend on JP1/Base.

    One example of a program that has a dependency relationship with JP1/Base is HP NNM, which is required to start the SNMP trap converter of JP1/Base.

  2. Stop JP1/Base.

  3. Edit the jp1hosts definition file.

    Edit the jp1hosts definition file with the following information:

    # Correspond the IP address 20.0.0.11 to hostB, and 20.0.0.20 to hostL 
    hostB 20.0.0.11 
    hostL 20.0.0.20 
  4. Execute the jbshostsimport command.

    jbshostsimport {-o|-r} jp1hosts-definition-file-name
  5. Execute the jbssetcnf command.

    jbssetcnf physical_ipip.conf
  6. Edit the event server settings file (conf).

    In the event server settings file (conf), add the ports and the remote-server parameters shown below:

    ports 20.0.0.11 jp1imevt jp1imevtapi 
    remote-server hostL close 20.0.0.20 
  7. Edit the API settings file (api).

    Add the server parameters in the API settings file (api) as follows:

    server hostA keep-alive 20.0.0.10
    server hostL keep-alive 20.0.0.20
    server hostB keep-alive 20.0.0.11
  8. 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 hostB.