HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
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.
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:
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# |
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.
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 |
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.
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 |
|
Set the following network configuration elements to inherit IP addresses:
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.