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:
Procedure:
-
Stop host 2 (standby system)
On host 2, execute the HA Monitor monsbystp command, and then stop host 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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.