Several upgrade procedures are supported for this release of vFabric tc Server.
This section has instructions for upgrading tc Server instances to a new version of tc Server.
You use the
tcruntime-instance.sh upgrade or (
upgrade) command to upgrade an existing tc Server instance to a new version of tc
upgrade command migrates configuration information and applications
from an existing instance to the new one. The command takes this
is the Tomcat binary that you
want the new instance to use, for example,
7.0.37.B.RELEASE. Note that:
The tc Runtime binary must exist in the new tc Server installation directory. If you want to use a binary that exists in your previous tc Server installation, but not the new one, you must copy it into the new tc Server installation directory.
If you do not use the
-v option to specify a binary, the upgrade
assumes you do not want to upgrade the binary and tries to create the new instance with
the same binary. If the older instance uses a version of Tomcat that does not exist in
the new version of tc Server, you must copy it from the older tc Server installation to
the new one, or the upgrade will fail.
specifies the directory
in which you want the upgraded instance to be created. Note that:
If you do not use the
-i option specify a directory, the instance will
be created in the current working directory.
If you specify the directory where the old instance runs, that instance will be upgraded in place.
points to the instance that you
wish to upgrade.
Be sure to stop a tc Server instance before you upgrade. For instructions, see Starting and Stopping tc Runtime Instances.
The example commands in the instructions below assume you are upgrading a tc Server 2.8.2 instance to 2.9.1.
Install the new version of tc Server in a new installation directory, as described in
Installing vFabric tc Server. For example, if tc Server
2.8.2 is installed in
install tc Server 2.9.1 in
If the directory where you want the upgraded server instance to be installed does not exist, create it.
Change directory to new TCS installation directory. For example:
Run the upgrade command. For example:
tcruntime-instance.sh upgrade -i ../tcs-2.9.1-instances -v 7.0.37.B.RELEASE ../tcs-2.8.2-instances/myserver1
The command above creates an upgraded version of the "myserver1" instance in the