Hitachi

Hitachi Advanced Database Setup and Operation Guide


17.17.2 Performing swapping on a per-host basis

The following procedure shows how to swap the HADB server with its revised version on a per-host basis after stopping one of the hosts: If you use this method, you can swap the HADB server with its revised version while the HADB server on the active system is running, so there is no need to stop work operations.

The cold standby configuration on which swapping is performed is as follows:

[Figure]

Procedure:

  1. Stop host 2 (standby system)

    On host 2, execute the HA Monitor monsbystp command, and then stop host 2.

  2. Swap the HADB server with its revised version on host 2

    For details about how to swap the HADB server with a revised version, see 8.8 Swapping the HADB server with its revised version.

  3. Return host 2 to the cold standby configuration.

    For details about the procedure for returning a host to a cold standby configuration, see 17.12.4 Returning a system to the cold standby configuration.

    Host 2 is returned as the standby system to the cold standby configuration.

  4. Perform a planned hot standby

    On host 1, after executing the adbstop command, execute the HA Monitor monswap command, and then perform a planned hot standby. When the planned hot standby is complete, host 2 becomes the active system, and host 1's HADB server terminates normally.

    For details about planned hot standby, see 17.13 Planned hot standby in the cold standby configuration.

  5. Swap the HADB server with its revised version on host 1

    For details about how to swap the HADB server with a revised version, see 8.8 Swapping the HADB server with its revised version.

  6. Return host 1 to the cold standby configuration

    For details about the procedure for returning a host to a cold standby configuration, see 17.12.4 Returning a system to the cold standby configuration.

    Host 1 is returned as the standby system to the cold standby configuration.

  7. Perform a planned hot standby

    On host 2, after executing the adbstop command, execute the HA Monitor monswap command, and then perform a planned hot standby. When the planned hot standby is complete, host 1 becomes the active system, and host 2's HADB server terminates normally.

    For details about planned hot standby, see 17.13 Planned hot standby in the cold standby configuration.

  8. Return host 2 to the cold standby configuration.

    For details about the procedure for returning a host to a cold standby configuration, see 17.12.4 Returning a system to the cold standby configuration.

    Host 2 is returned as the standby system to the cold standby configuration.

With the preceding step, swapping of the HADB server with its revised version is complete. Note that the relationship between the active and standby systems is the same as before the swapping.