OpenTP1 Version 7 Description

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

6.1.3 Procedure for system switching

Organization of this subsection
(1) Preparation for system switching
(2) HAmonitor definition contents
(3) Ensure that required OpenTP1 definitions match
(4) Notes on using the System Switchover facility

(1) Preparation for system switching

(a) Allocate shared disk devices

Specify a character special file to be used for OpenTP1 files. Specify the file to be shared so that both OpenTP1 systems can reference it with the same pathname. Only files created on a character special file can be shared. Contents of ordinary files (e.g., files in the directories $DCDIR/spool/ or $DCDIR/tmp/) cannot be inherited.

(b) Set the IP addresses

In the my_host operand of the system common definition, specify the shared IP address. The same IP address must be specified for both OpenTP1 systems.

(c) Set the HAmonitor environment

Set the HAmonitor definitions. For the HAmonitor environment settings, see the relevant HAmonitor manuals.

(2) HAmonitor definition contents

In the server statement of HAmonitor, specify the environment for OpenTP1 operations. In the name operand of the server statement, you must specify the full- pathname of the OpenTP1 home directory. For details on other environment settings, see the relevant HAmonitor manuals.

(3) Ensure that required OpenTP1 definitions match

The following definitions of the primary system and the secondary system must match:

OpenTP1 does not check for differences in the definitions of two systems, so if definitions do not match, OpenTP1 operation cannot be guaranteed.

(a) Set the system definitions

To use the System Switchover facility:

(4) Notes on using the System Switchover facility

(a) LAN components to be used

When the System Switchover facility is used, the LAN components and communication lines used by OpenTP1 are online in the running system, and offline in the standby system. Whenever the running system switches, the LAN components and communication lines in that system automatically go offline.

If you want to perform maintenance on an offline standby system, you should not use the LAN components and communication lines that are used by OpenTP1. This is because both the running system and the standby system share the same IP address, so there is a possibility of confusion when both systems are performing network-related activities. To perform such maintenance tasks, use a console or prepare a maintenance LAN, one not used in usual system switching.

(b) File system to be used

When using the System Switchover facility, use the OpenTP1 file system. If an ordinary UNIX file system is used, OpenTP1 might not start.

(c) Using mirrored disks

Whether the information on a shared disk device can be duplicated using mirrored disks depends on the operating system and hardware that you use. Use mirrored disks based on the specifications such as those for the mirrored disks and cluster facility of the operating system and hardware.

If a system switchover occurs while writing to two disks using a mirrored disk, inconsistency may occur between the two disks due to a delay in writing. If the written data is not correct in the disk of the system to which the operation should be switched over, OpenTP1 cannot operate normally after a system switchover.

The following OpenTP1 files are essential to operate OpenTP1:

To use mirrored disks for these OpenTP1 files, make sure that the operating system and hardware allow using mirrored disks for shared disk devices and that the data in the disk devices is correct even when the System Switchover facility is used.

To improve the reliability of files that cannot be written to mirrored disks: