Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Configuration Guide


18.2.1 Setting up the main site when using different names for the main-site and remote-site logical hosts

This subsection describes the procedure for setting up the main site when using different names for the main-site and remote-site logical hosts.

For a non-cluster environment, perform the procedure only on the primary node.

Cautionary note:

The procedure described here applies only when different names are to be used for the main-site and remote-site logical hosts. For the procedure when the same name is to be for these hosts, see 18.2.2 Setting up the main site when using the same name for the main-site and remote-site logical hosts.

Figure 18‒3: Main site setup procedure

[Figure]

  1. Set up the following hosts on the primary and secondary nodes:

    • JP1/Base physical host#1

    • JP1/Base logical host

    • JP1/AJS3 physical host#1

    • JP1/AJS3 logical host#2

    #1

    If the host has already been set up, no action is required.

    #2

    For the JP1/AJS3 logical host, use a shared disk that can be used by the hardware disk copy and mirroring functionalities.

    The procedure for setting up the main site is the same as the procedure used for cluster system operation. For details about the setup procedure, see 17. Setup for Operation in a Cluster System.

    Important
    • To execute submit jobs or QUEUE jobs when JP1/AJS3 is in a standard configuration, add the manager host of the remote site as a job execution agent to the configuration definition file for the execution environment for submit jobs. The manager host must be added before you execute the jpqimport command for JP1/AJS3 - Manager on the primary node.

      By setting the manager hosts at the main and remote sites as job execution agents in advance, you can execute submit jobs and QUEUE jobs on the manager host of the remote site after operation switches to the remote site. There is no need to set up anything on the manager host of the remote site.

      For details about the jpqimport command and the configuration definition file for the execution environment for submit jobs, see jpqimport in 4. Commands Used for Special Operation in the manual JP1/Automatic Job Management System 3 Command Reference.

    • If the manager connection-source restriction function is enabled and if the IP addresses of the main-site and remote-site logical hosts are different, you must also specify the IP address of the remote-site logical host in the manager connection permission configuration file.

      If the agent connection-source restriction function is enabled and if the IP addresses of the main-site and remote-site logical hosts are different, note the following: To execute jobs on the local host, you must also specify the IP address of the remote-site logical host in the agent connection permission configuration file.

      If you set the IP addresses of both the main and remote sites, you do not need to respecify the settings in the connection permission configuration file on the remote site after performing failover to the remote site.

      For details about the settings for restricting connections to JP1/AJS3, see 21.2 Restricting connections to JP1/AJS3.

    • When you use the communication encryption function, obtain separate private keys and server certificates for the main and remote sites. However, the same private key and server certificate can be used for the main and remote sites in the following cases:

      - When the logical host name of the remote site is written as a subject alternative name (SAN) in the server certificate for the main site

      - When the logical hosts of both the main and remote sites are in the same domain and the server certificates are obtained as wildcard certificates

  2. On the primary node, execute the command ajsembdbidlist, and then record the information about the embedded database on the JP1/AJS logical host.

    The information to be recorded is as follows:

    After you have completed setup at the main site, execute the ajsembdbidlist command, and then record the following information for the embedded database for the logical host you have set up at the main site:

    • Embedded database installation directory

    • Setup identifier

    These values will be used when you set up the remote site.

    For details about the ajsembdbidlist command, see ajsembdbidlist in 2. Commands Used during Setup in the manual JP1/Automatic Job Management System 3 Command Reference.

  3. On the primary node, export the disaster recovery operation setup information.

    Execute the following command:

    jajs_rpenvexport -h logical-host-name-of-the-main-site -d output-directory-name
  4. On the primary node, set the JP1/AJS3 logical host as the main site.

    Execute the following command:

    jajs_rpsite -h logical-host-name-of-the-main-site -m SET