ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WEBDEV 2024 feature!
Help / WEBDEV administrator / WEBDEV Application Server administrator / 05. Cluster
  • Overview
  • Upgrade steps
  • Step 1: Checks
  • Step 2: Backup
  • Step 3: Disable node in the proxy
  • Step 4: Upgrade
  • Step 5: Re-enable the node
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Upgrading a WEBDEV Cluster
Overview
WEBDEV Custer is a hosting solution for WEBDEV sites that ensures high performance and availability. The WEBDEV Cluster enables load balancing across a set of servers.
Sites are automatically synchronized between WEBDEV Cluster nodes.
Whenever possible, It is recommended to upgrade WEBDEV Cluster (e.g. from version 27 to version 28): starting with WEBDEV Cluster 28, new sites or updates are automatically and immediately propagated to all nodes. You no longer need to wait for periodic node synchronization.
Here is how to upgrade a WEBDEV Cluster from version 27 to 28:
  • Step 1: Checks.
  • Step 2: Backup.
  • Step 3: Disable node in the proxy.
  • Step 4: Upgrade.
  • Step 5: Re-enable the node.
Upgrade steps

Step 1: Checks

First, make sure the WEBDEV Cluster is synchronized. To do so, open the WEBDEV Administrator on a node and go to the "Cluster" tab. You will see the time of the last synchronization and the number of errors (if any) at the bottom of the window.
Before the upgrade, make sure that all the nodes are synchronized and that there are no errors.

Step 2: Backup

We recommend that you make a backup before the upgrade process.
However, this is not a crucial operation. If a problem occurs during the upgrade process, simply reinstall the node and re-associate it with the WEBDEV Cluster.
Don't forget to save any specific changes you've made to the machine (especially the web server configuration, if you've modified it other than by using WEBDEV).

Step 3: Disable node in the proxy

To make sure the node doesn't receive any requests during the upgrade process, it may be advisable to disable it in the proxy configuration.
If you use HAProxy, simply go to the "backend" section and comment out the "server" line that corresponds to the node you want to upgrade. To comment out a line, simply write # at the beginning of the line.
Don't forget to reload the proxy configuration to apply changes.
Then check the WEBDEV administrator to make sure there are no more requests for the node: connections to dynamic sites, processes started by a web service, etc.

Step 4: Upgrade

Download the update package from the PC SOFT website and launch the update.
Note: there are no special version requirements: WEBDEV Cluster is designed so that nodes can run different versions of the WEBDEV Application Server.
You can complete the upgrade process even if there are different versions.

Step 5: Re-enable the node

When the upgrade completes, simply re-enable the node in the proxy configuration to make it available again.
Follow the same steps for each node you want to upgrade.
Tips and tricks
While the node is disabled in the proxy, you may want to:
  • also perform Windows updates,
  • reboot the server, if necessary. This avoids downtime at a later date.
To update the proxy, it can be useful to have two proxy servers. In this case, you must:
  • switch traffic to one of them,
  • update the other,
  • restore the main server.
If you host your WEBDEV Cluster with PCSCloud, upgrades are fully automated. Simply request the upgrade from your PCSCloud dashboard, and it will be completed automatically.
Minimum version required
  • Version 2024
Comments
Click [Add] to post a comment

Last update: 09/07/2023

Send a report | Local help