25.15 Grouped system switchover

This section describes the methods of performing grouped system switchover when using HA monitor in the cluster software. To perform grouped system switchover while using cluster software other than HA monitor, see the documentation for the cluster software product.

Organization of this section
(1) Server mode
(2) Monitor mode
(3) Grouped system switchover with HiRDB Datareplicator
(4) Relationship to planned system switchover

(1) Server mode

The following explanation assumes use of grouped system switchover with HiRDB and OpenTP1.

To perform grouped system switchover, you must use the group operand of HA monitor to define grouped system switchover. The following explanation assumes that exchange is specified in the group operand. For details about defining grouped system switchover. Table 25-49 lists the system processing when performing grouped system switchover (in the server mode).

Table 25-49 System processing when performing grouped system switchover (in the server mode)

Error descriptionSystem processing
An error occurred that prevents hardware from restarting, or an error occurred when restarting the operating system or HA monitor (a system failure occurred).Performs system switchover. Also switches over OpenTP1 and HiRDB.
An error occurred in OpenTP1 and OpenTP1 terminated abnormally.switchtype=restartRestarts OpenTP1 on the running system. Performs system switchover if OpenTP1 cannot be restarted. When system switchover is performed on OpenTP1, grouped system switchover is also performed on HiRDB.
switchtype=switchPerforms system switchover. When system switchover is performed on OpenTP1, grouped system switchover is also performed on HiRDB.
switchtype=manualPerforms system switchover. Restarts OpenTP1 on the running system.
An error occurred in HiRDB and HiRDB terminated abnormally.switchtype=restartRestarts HiRDB on the running system. Switches systems if HiRDB cannot be restarted. When system switchover is performed on HiRDB, grouped system switchover is also performed on OpenTP1.
switchtype=switchPerforms system switchover. When system switchover is performed on HiRDB, grouped system switchover is also performed on OpenTP1.
switchtype=manualDoes not perform system switchover. Restarts HiRDB on the running system.

(2) Monitor mode

The following explanation assumes the use of grouped system switchover with HiRDB and OpenTP1.

To perform grouped system switchover, you must use the group operand and termcommand operand of HA monitor to define grouped system switchover. The following explanation assumes that exchange is specified in the group operand. For details about defining grouped system switchover, see the manual. Table 25-50 lists the system processing when performing grouped system switchover (in the monitor mode).

Table 25-50 System processing when performing grouped system switchover (in the monitor mode)

Error descriptionSystem processing
An error occurred that prevents hardware from restarting, or an error occurred when restarting the operating system or HA monitor (a system failure occurred).Performs system switchover. Also performs switchover for OpenTP1 and HiRDB.
An error occurred in OpenTP1 and OpenTP1 terminated abnormally.Performs system switchover. When system switchover is performed on OpenTP1, grouped system switchover is also performed on HiRDB.
An error occurred in HiRDB and HiRDB terminated abnormally.Does not perform system switchover. Restarts HiRDB on the running system.

(3) Grouped system switchover with HiRDB Datareplicator

When you use HiRDB Datareplicator, you must perform grouped system switchover with both HiRDB and HiRDB Datareplicator. In such a case, use the group operand of HA monitor to define HiRDB and HiRDB Datareplicator in the same server group. For details about defining grouped system switchover. For details about performing system switchover when using HiRDB Datareplicator, see the manual HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide.

Conditions
  • Perform grouped system switchover with HiRDB Datareplicator in the monitor mode.
  • You must describe in the termcommand operand of HA monitor a command or shell that terminates HiRDB Datareplicator forcibly.
Automatic system switchover
When an error occurs on the running system, the system switches automatically to the standby system. No action needs to be taken by the HiRDB administrator or HiRDB Datareplicator administrator.
Planned system switchover
You can use the HA monitor's monswap command to perform a planned system switchover on HiRDB and HiRDB Datareplicator.
When HiRDB system is switched over
When an error occurs and the HiRDB system is switched over, terminate the running system HiRDB Datareplicator forcibly and switch the HiRDB Datareplicator system.
When an error occurs in HiRDB Datareplicator
When HiRDB Datareplicator independently terminates abnormally, system switchover is not performed because HiRDB Datareplicator is restarted on the running system. When HiRDB Datareplicator is independently terminated abnormally, grouped system switchover cannot be performed on HiRDB and HiRDB Datareplicator.

(4) Relationship to planned system switchover

If you define grouped system switchover in advance, you can use the planned system switchover functionality of HA monitor's monswap command to perform grouped system switchovers.