HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide

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

6.9.3 Preparations for using the system switchover facility (for Microsoft Cluster Server)

This subsection describes the preparations that are required in order to use the system switchover facility by Microsoft Cluster Server (MSCS). The items described here are applicable to all the types of system switchover that are described in 6.9.1 (1) Types of system switchover.

For details about MSCS, see the MSCS documentation.

Organization of this subsection
(1) Limitations
(2) Preparations of Datareplicator
(3) Service settings
(4) Hardware-related preparations
(5) MSCS-related preparations
(6) Network-related preparations

(1) Limitations

When MSCS's system switchover facility is used, only one unit is subject to extraction in both running and standby systems in the following cases:

(2) Preparations of Datareplicator

In HDEPATH or HDSPATH for the primary and standby server machines, specify the pathname on the shared disk. The following limitations apply to the characters that can be used for path and directory names on the shared disk:

Next, specify the system environment variables. The following table provides the details.

Table 6-19 Settings for the system environment variables (when MSCS's system switchover facility is used)

Classification System environment variable Setting in primary and standby systems
Source Datareplicator HDEPATH Path to the folder storing the extraction system definition file (hdeenv)
PDDIR PDDIR of the unit that contains MGR
PDCONFPATH PDCONFPATH of the unit that contains MGR
PATH Path to the source Datareplicator's command library#
Target Datareplicator HDSPATH Path to the folder storing the import system definition file (hdsenv)
PDDIR PDDIR of the target HiRDB
PDNAMEPORT Port number of the target HiRDB
PDHOST Host name of the target HiRDB
PATH Path to the target Datareplicator's command library#

#
Normally, this information is set automatically during installation of Datareplicator. If automatic setting results in an error due to the length of the PATH environment variable, you must specify this setting manually.

A client environment definition is required to execute the hdeprep and hdeevent commands at the source Datareplicator. For details about the client environment definition, see the HiRDB Version 9 UAP Development Guide.

(3) Service settings

The following table describes the Datareplicator service settings required to use the system switchover facility.

Table 6-20 Datareplicator service settings

Classification Service name Startup type Registration into MSCS
Source Datareplicator HiRDB Datareplicator (Source site) Manual Registered
HiRDB Datareplicator (Source site NMT) Automatic Not registered
Target Datareplicator HiRDB Datareplicator (Target Site) Manual Registered

(4) Hardware-related preparations

To use the system switchover facility, you must allocate the Datareplicator files to a shared disk unit.

Create all the files listed in Table 6-18 Preparation of files for using the system switchover facility, including the Datareplicator directory (specified in the HDEPATH and HDSPATH environment variables), on an external hard disk that is shared by the primary and secondary systems, and specify the settings so that both Datareplicators can reference the files using the same paths.

(5) MSCS-related preparations

The table below shows the resources that are to be registered into MSCS. For details about how to perform the registration, see the MSCS documentation.

Table 6-21 Resources to be registered into MSCS

Classification Definition item Resource Name Dependency
Source Datareplicator Shared disk used at the source Datareplicator#1 Shared disk Any name None
Network name#2 Network name
IP address#2 IP address
Start service of the source Datareplicator General-purpose service HiRDB Datareplicator extract Start service of HiRDB
Target Datareplicator Shared disk used at the target Datareplicator#3 Shared disk Any name None
Network name#2 Network name
IP address#2 IP address
Start service of the target Datareplicator General-purpose service HiRDB Datareplicator reflect
  • Start service of HiRDB
  • Shared disk

#1
Add the shared disk as a dependency of Start service of HiRDB.

#2
Use the name set in HiRDB.

#3
Add the shared disk as a dependency of Start service of the target Datareplicator.

(6) Network-related preparations

Set the following network configuration elements to inherit IP addresses: