Upgrading high-availability installations
All servers that are configured for the HA feature must be on the same version. Thus, all servers must be upgraded at the same time.
If a text fix received for a reported defect is not fixed in the upgraded version, you may need to open a Support Case to request a new build.
- Back up the database.
Ensure that no application and generic processes are running.
Open the Dashboard and confirm that no processes are running. If processes are running, you can wait for them to complete or by clicking Cancel in the same row as each process, cancel them. In V184.108.40.206 and later, you can use the Message of the Day feature ( ) to notify users of the planned upgrade, and request that they do not start new processes.
Download and extract the installation package.
Upgrades are done with the same package used to perform new installations.
Shut down the servers.
Warning: Ensure that all servers are stopped. If any servers are accessing the database when the upgrade happens, the upgrade will cause errors.
Ensure that each server is stopped and unable to connect to the load balancer.
If a server process is still running, when you install the new version, you see an error that says "A previously installed version of IBM UrbanCode Deploy is running. Please shutdown the running IBM UrbanCode Deploy and start the installation again."
- Check to ensure that there is no file server.pid in the server_install/var folder.
Check for running system processes.
For example, on Linux™, you can use the netstat or ps commands. For example, if the server is running on port 8443, use the command
netstat -nap | grep 8443. You can also run
ps -ef | grep serverand look for the server system process in the results.
- If any server processes are still running, stop them.
If you are upgrading from a version before 220.127.116.11, update the network storage to match
the folders in the new version.
For information about how to structure the folders, see Setting up high-availability clusters.
Depending on how you set up network storage for the high-availability cluster in the previous version, you might need to move files and folders to put them in the place that the new version of the server expects to find them. When you run the installation program, specify the location of the app_data folder in the Where should the server store application data such as logs, plugins, and keystores? prompt.
For more information, see Setting up high-availability clusters.
- Run the server installation script.
From the command line, run the server installer program.
Depending on your system settings, you might need to run this file as an administrator.
- On Windows™, run the install-server.bat file.
- On Linux, run ./install-server.sh.
- When prompted for the location of the installation directory,
enter the path to one of the servers.By specifying an existing installation, you are asked if you want to upgrade the current installation. If you answer yes, the script leads you through the upgrade steps.
Restart the upgraded server.
Always use service scripts to start or stop the server. See Starting and stopping the server.
- After the first server is back online, upgrade the other servers. After you upgrade the first node, you will not be prompted to upgrade the database when you upgrade the other nodes.