Hitachi

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


9.2.2 Setting up the main site when using the same name for the main-site and remote-site logical hosts

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

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

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

  • For example, if you change the settings for disaster recovery operation, the logical hosts are already set up. In such a case, perform the following procedure:

    1. On the primary node, set the JP1/AJS3 logical host as the main site. To do this, execute the following command:

    jajs_rpsite -h logical-host-name -m SETSAME

    2. Back up the common definition information on the primary node by copying the information to the secondary node. To do this, execute the following command:

    jbsgetcnf -h logical-host-name > backup-file-name

    3. Confirm that the backup file was copied to the secondary node. Then, execute the command jbssetcnf by specifying the backup file as an argument as follows:

    jbssetcnf backup-file-name

    4. Change the settings for disaster recovery operation. For details about the procedure, see 11.3.2 Changing the settings of a disaster recovery environment in the JP1/Automatic Job Management System 3 Administration Guide.

    Figure 9‒4: Main site setup procedure

    [Figure]

  1. Set up the following hosts on the primary node:

    • 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 is the same as the procedure used for cluster system operation. For details about the setup procedure, see 8.2.2(1) Tasks required on the primary node.

    Important

    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.

  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:

    • Embedded database installation folder

    • 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. Set up the following hosts on the secondary node:

    • JP1/Base physical host#

    • JP1/AJS3 physical host#

    #

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

  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 -m SETSAME
  5. Set up the following hosts on the secondary node:

    • JP1/Base logical host

    • JP1/AJS3 logical host#

    #

    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 is the same as the procedure used for cluster system operation. For details about the setup procedure, see 8.2.2(2) Tasks required on the secondary node.

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

    Execute the following command:

    jajs_rpenvexport -h logical-host-name -d output-directory-name