Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


18.7.3 Starting and stopping a system for planned node switching in the mutual node switching system

This subsection describes the planned node switching of the executing node and standby node in the cases other than when the trouble occurs in the mutual node switching system. When the node is switched, the virtual host of the standby node must be at standby.

The following points describe how to switch the executing node and standby node of the virtual host 1 and virtual host 2 in a planned manner. Note that the active node host is presumed to be running as the executing node.

Reference note

For details on starting and stopping the mutual node switching system for maintenance, see 18.7.4 Starting and stopping the mutual node switching system for maintenance.

Organization of this subsection

(1) Planned node switching for virtual host 1

To switch the nodes for the virtual host 1 in a planned manner:

  1. Run the monswap command in Application Server 1 to switch the nodes.

    # monswap AP1

    As a result, as shown in the figure, the executing node 1 (virtual host 1) of Application Server 1 switches to the virtual host of the standby node and the standby node 1 (virtual host 1) of Application Server 2 switches to the virtual host of the executing node.

    [Figure]

  2. To return to the normal executing node and standby node operations, run the monswap command in Application Server 2 and switch the nodes.

    # monswap AP1

    As a result, as shown in the figure, the executing node 1 (virtual host 1) of Application Server 2 switches to the virtual host of the standby node and the standby node 1 (virtual host 1) of Application Server 1 switches to the virtual host of the executing node. Thus, the executing node and standby node operations return to normal.

    [Figure]

(2) Planned node switching for virtual host 2

Procedures to switch the nodes for the virtual host 2 in a planned manner:

  1. Run the monswap command in Application Server 2 to switch the nodes.

    # monswap AP2

    As a result, as shown in the figure, the executing node 2 (virtual host 2) of Application Server 2 switches to the virtual host of the standby node and the standby node 2 (virtual host 2) of Application Server 1 switches to the virtual host of the executing node.

    [Figure]

  2. To return to the normal executing node and standby node operations, run the monswap command in Application Server 1 and switch the nodes.

    # monswap AP2

    As a result, as shown in the figure, the executing node 2 (virtual host 2) of Application Server 1 switches to the virtual host of the standby node and the standby node 2 (virtual host 2) of Application Server 2 switches to the virtual host of the executing node. Therefore, the executing node and standby node operations return to normal.

    [Figure]