Top
PRIMECLUSTER  Installation and Administration Guide4.3

10.3.2 Overview of the Correction Application Procedure

This section provides an overview of the procedure for applying corrections such as a batch correction to a cluster system. The procedure explained here is a general procedure.

10.3.2.1 Procedure for Applying Corrections by Stopping an Entire System

This section explains the procedure for applying corrections by stopping the entire cluster system. An example of a two-node 1:1 standby configuration is used here.

Flow of operation

Procedure

Copy the correction to be applied to each node to the local file system in advance.

  1. Stop RMS.

    Execute hvshut -a on either cluster node to stop the operation of RMS.

  2. Shut down all nodes.

    Shut down all nodes.

  3. Boot in single-user mode.

    Boot all the nodes that were shut down in single-user mode.

  4. Mount the local file system.

    Execute mountall -1 and zfs mount -a on all the nodes to mount the local file system.

  5. Apply corrections.

    Apply the corrections that were copied to the local file system in advance.

  6. Reboot.

    After applying the corrections, boot the nodes by using shutdown -i6.

Note

10.3.2.2 Procedure for Applying Correction by Rolling Update

This section explains the procedure for applying corrections by rolling update. An example of two-node 1:1 standby configuration is used for this explanation.

Flow of operation

Procedure

  1. Shut down the standby node (node1).

    To apply corrections to the standby node (node1), shut down the node after stopping RMS.

    Note that, as a result of this shutdown, a cutoff state transition occurs and dual instance operation is disabled until standby restoration is performed.

  2. Boot the standby node (node1) in single-user mode.

    Boot in single-user mode.

  3. Apply corrections.

    Apply the necessary corrections.

  4. Reboot the standby node (node1).

    Reboot the node by using shutdown -i6.

  5. Execute standby restoration for the standby node (node1).

    Since the shutdown node (node1) to which corrections have been applied is cut off from the cluster system, execute standby restoration for the node.

  6. Execute failover of the cluster application.

    To apply corrections to the operating node (node0), execute the hvswitch(1M) command and switch all the cluster applications to the standby node (node1).

    When you switch the "scalable" userApplication, switch all the "standby" userApplications under the "scalable" userApplication first, then switch the "scalable" userApplication.

  7. Shut down the operating node (node0).

    After the completion of failover, stop RMS, and then shut down the node.

  8. Boot the operating node (node0) in single-user mode.

    Boot the node in single-user mode.

  9. Apply corrections.

    Apply the necessary corrections.

  10. Reboot the operating node (node0).

    Reboot the node to apply the corrections to the system by using shutdown -i6.

  11. Execute standby restoration for the operating node.

    Since the shut-down node (node0) to which corrections were applied is cut off from the cluster system, execute standby restoration for the node.

  12. Execute failback.

    Restore the state of the standby layout defined at installation by executing failback operation, as required.

Note