Use silent mode to upgrade without command-line prompts.
To upgrade the server, stop the server, edit the properties file,
and run the new installation program. These instructions apply to
upgrades to versions 6.0 and later.
Before you begin
If you are upgrading from version 4.8.5 or later but before 6.0, migrate the security
before you upgrade the server. See Migrating security settings.
If you are upgrading from a version prior to 6.2 to version 6.2 or later, and the server is using an IBM JRE, upgrade the JRE to a version that is shipped with version 6.2 or later.
If you have added custom keystores, certificates, or any other files to the
server_install/opt/tomcat directory, back up
those files before you upgrade. If you do not back up files that you have added to the
server_install/opt/tomcat directory, those files
are removed when the upgrade process runs.
Important: The artifact format changed in version 6.1. If you are upgrading from a
version before 6.1 to 6.1 or later, the amount of disk space that is used during the upgrade
is temporarily increased. Typically, the amount of space that is used is double the amount
that is normally used by artifacts. After the upgrade is complete, older artifact versions
are removed and the amount of storage is usually equivalent to the amount used before the
upgrade. This disk space requirement affects only upgrades of versions before 6.1 to 6.1 or
later. See
Automatic upgrades of files stored in the server CodeStation.
Important: If you are upgrading to version 6.2.1.1 or later, new security features
erase old component version import logs to hide secure information. If you want to keep the logs, in
the installed.properties file, set the property
com.urbancode.ds.cleanup.sourceConfig.fullCleanupSkip to True.
Important: If you are upgrading to version 6.2.1.1 or later, to ensure that all secure
property values are obscured, the values of all properties in the history for existing deployments
are obscured. In the deployment history for deployments that you run after you upgrade, only secure
properties are obscured in the logs.
About this task
You can upgrade the server to version 6.0 or later from versions
4.8.5 or 5.0. If you use a version before version 4.8.5, you must
upgrade to 4.8.5 first.
Procedure
- Put the server in maintenance mode, as described in Enabling maintenance mode. Putting the server in maintenance mode prevents any new processes from
starting.
- Back up the database.
- Download and extract the installation files
for IBM UrbanCode Deploy.
These files are available for download from the IBM Passport Advantage® website. See the IBM UrbanCode Deploy download
document.
- 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.
- Stop the server.
- Ensure that the server is stopped:
- 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 server and look for the server system process in the
results.
- If any server processes are still running, stop them.
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."
- In the installation files, open the install.properties file
in a text editor, and add the following line of code to the file:
nonInteractive=true
- Ensure that the install.server.dir property
is set to the directory where IBM UrbanCode Deploy is
installed.
- From the command line, run the server
installer program.
Depending on your system settings, you might need to run this
file as an administrator.
- Start the server, and verify that the server is upgraded.
- Ensure that licensing is set up for the server. See License management.
- Optional: If you are upgrading the server from
version 6.0.1.1 or earlier to a version later than version 6.0.1.1,
upgrade the encryption key strength. See Upgrading encryption key strength.
- Optional: Upgrade the agents. See Upgrading agents. If you are upgrading from a version before
6.1.0.4 to version 6.1.0.4 or later, you must upgrade agents that use Java™ plug-ins, including most source configuration plug-ins. If
you do not upgrade the agents, they will throw an IllegalCharsetNameException exception
that refers to the variable DS_SYSTEM_ENCODING.