Job Management Partner 1/Base User's Guide

[Contents][Glossary][Index][Back][Next]


3.2 Prerequisites for using JP1/Base in a cluster system and the support range

In a cluster system, JP1 runs in a logical host environment to enable failovers. The prerequisites for executing JP1 in a logical host environment are that clustering software can normally control the assignment and deletion of a shared disk or logical IP address and the monitoring of operations.

Note
Even the clustering software supported by JP1 might not satisfy the prerequisites described below depending on the system configuration and environment settings. You should determine the system configuration and environment settings so that the prerequisites are satisfied.
Organization of this section
(1) Prerequisites for a logical host environment
(2) Prerequisites for a physical host environment
(3) Range supported by JP1
(4) Specifying a logical host
(5) Rules for specifying logical host names

(1) Prerequisites for a logical host environment

When operating JP1 in a logical host environment, you must satisfy the following prerequisites for a logical IP address and shared disk:

Table 3-2 Prerequisites for a logical host environment

Logical host
component
Prerequisites
Shared disk
  • A shared disk must be used that can be taken over from the primary server to the secondary server.
  • The shared disk must be assigned before JP1 is started.
  • The assignment of the shared disk must not be canceled while JP1 is running.
  • The assignment of the shared disk must be canceled after JP1 is stopped.
  • The shared disk must be locked so that multiple servers do not inadvertently use it.
  • Files must be protected using a file system with the journal functionality or other measures so that the files will not be lost due to a system failure.
  • Failovers must guarantee that the contents of all files are taken over correctly.
  • Failovers must be forced to occur even when a process is using the shared disk during failover.
  • Clustering software must be responsible for recovery upon the detection of any failure on the shared disk so that JP1 does not need to perform recovery. Clustering software must issue a start or stop request to JP1 if it is necessary to start or stop JP1 as part of recovery.
Logical IP address
  • Communication must be performed using a logical IP address that can be taken over.
  • The logical IP address must be uniquely determined from the logical host name.
  • The logical IP address must be assigned before JP1 is started.
  • The logical IP address must not be deleted while JP1 is running.
  • The correspondence between the logical host name and logical IP address must not be modified while JP1 is running.
  • The logical IP address must be deleted after JP1 is stopped.
  • Clustering software must be responsible for recovery upon the detection of a network failure so that JP1 does not need to perform a recovery. Clustering software must issue a start or stop request to JP1 if it is necessary to start or stop JP1 as part of recovery.

If any of the above requirements are not satisfied, JP1 might malfunction. For example:

(2) Prerequisites for a physical host environment

The following conditions are the prerequisites for operating JP1 in a physical host environment. If you only execute JP1 in a logical host environment, the following prerequisites must also be satisfied as the system environment.

Table 3-3 Prerequisites for a physical host environment

Physical host component Prerequisites
Server
  • A cluster must consist of two or more servers.
  • The CPU performance must be sufficient for the processing to be performed.
    (For example, the CPU must be able to handle the startup of multiple logical hosts.)
  • The real memory capacity must be sufficient for the processing to be performed.
    (For example, the servers must have sufficient memory capacity to handle the startup of multiple logical hosts.)
Disk
  • Files must be protected using a file system with a journal functionality or other measures so that the files will not be lost due to a system failure.
Network
  • Communication must be enabled using an IP address corresponding to the host name (result of the hostname command).
    (Clustering software or other programs must not modify the state to prevent communication.)
  • The correspondence between the host name and IP address must not be modified while JP1 is running.
    (The correspondence must not be modified by clustering software or a name server.)
  • In Windows, the LAN board corresponding to the host name must have the highest priority in the network binding settings.
    (Any other LAN board, such as that for heartbeat, must not have higher priority.)
OS and clustering software
  • The clustering software and its version must be supported by JP1.
  • All patches and service packs required by JP1 and the clustering software must have been applied.
  • The same environment must be set up for all of the servers so that the same processing can be continued after a failover occurs.

(3) Range supported by JP1

When you are using JP1 in a cluster system, JP1 only supports its own operations. Control over the logical host environment (shared disk and logical IP address) depends the clustering software.

If the above prerequisites for a logical or physical host environment are not satisfied or if there is a problem in controlling the logical host environment, JP1 does not support the problems that might occur with JP1 operations. In such a case, the clustering software or OS controlling the logical host environment must address the problem.

(4) Specifying a logical host

When executing a command, you must specify the logical host name so that the command will be executed on the logical host. If you do not specify the logical host name, the command will be executed on the physical host. You can specify the logical host name either by setting the name in the JP1_HOSTNAME environment variable or by specifying a command option. The following table describes each method.

Method Description
JP1_HOSTNAME environment variable Specify the logical host name in the JP1_HOSTNAME environment variable. If you specify a logical host name in both the command option and environment variable, the setting with the command option takes precedence.
Command option Specify the command option in the following format: command -h logical-host-name. For details, see the description of each command.

Note
In Windows, do not set the JP1_HOSTNAME environment variable as a system environment variable or as a user environment variable. If so, this could disable services or otherwise disrupt program operation. Set the JP1_HOSTNAME environment variable at the command prompt or in a batch file.

(5) Rules for specifying logical host names

Comply with the following rules when specifying logical host names:

Notes

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.