Patching during load balancing operation

Prev Next

This page is outdated and is no longer maintained. The procedure described here no longer applies to current versions.

You can find the latest instructions at:

This page describes how to update a load-balancing system directly on the host.

NOTE:

If you initiate the update through the cluster/system UI or the REST API instead, the platform handles the restart and determines whether a rolling update or a full restart is required. This method is recommended. The following procedure applies only to updates that are run directly on the host.

On the host, all nodes must ultimately have the same patch level. The order in which you shut down, update, and restart the nodes is critical. The appropriate procedure depends on the type of update:

  • Most updates are performed as Rolling updates. The system remains accessible throughout the process.

  • Updates that involve maintenance work on the database schema or on internal cluster components require a full restart (Blocking update).

Requirements

You need an admin role to perform the update.

Procedure

Rolling update

Use this procedure for standard updates that do not require a full reboot. The Load balancing system remains accessible at all times.

  1. Shut down all working nodes. The Node Controller must continue to run.

  2. Make one of the terminated working nodes the temporary Node Controller:

    1. Create a file named force_wn_switch.txt (the contents can be anything; it can be empty) in its installation directory.

    2. Start this Working Node. The file force_wn_switch.txt is deleted, and the working node temporarily takes over as the new Node Controller. The old Node Controller shuts down.

    3. Alternatively, in the Control Center, you can select the Force Node Controller Role on Restart option from the context menu of the working node.

  3. Update the old Node Controller. The working nodes will adopt the changes later.

  4. Restart the updated Node Controller. The temporary Node Controller will shut down.

  5. Restart all original working nodes, including the working node that temporarily served as the node controller (and is now running as a normal working node again). The update is complete.

The load-balancing system remains accessible throughout the entire process.

Blocking update

Some updates involve maintenance work on the underlying database schema or on internal cluster components. They require a full restart of the cluster, which means the system will be unavailable during the update. You will be notified before the restart begins.

  1. Shut down all nodes, including both the working nodes and the Node Controller.

  2. Update the Node Controller.

  3. Restart the Node Controller using the new version. It must be running before you continue.

  4. Update all working nodes.

  5. Start all working nodes. The update is complete.

NOTE: The same procedure applies to DMZ nodes as for a rolling update.