In-place component update
Overview
This guide provides instructions for running an in-place update to a new release for the following installed items:
- Microsoft Windows deployment of com.castsoftware.imaging.console : on one single machine or via a distributed deployment
- Linux via Docker deployment of com.castsoftware.imaging.all.docker : on one single machine or via a distributed deployment
This process will update the following installed components and retain all existing data (applications, results, etc.):
imaging-services
imaging-viewer
analysis-node
Supported update paths
Source | Target | Supported? | Notes |
---|---|---|---|
3.0.0-funcrel | 3.1.0-funcrel | Partially | Not supported for installations on Linux via Docker - a fresh installation is required. |
Requirements
- Local administrator privileges (ability to
Run as administrator
) - All existing services should be left running during the update.
- In a distributed deployment scenario:
- all components MUST be updated to the same new release (i.e. you cannot update just the
analysis-node
component or just theimaging-services
component) - you can update components in any order i.e. the
analysis-node
component can be updated beforeimaging-services
orimaging-viewer
component
- all components MUST be updated to the same new release (i.e. you cannot update just the
- It is not possible to change the TCP port number of any service, nor any
HOSTNAME_xxx
installation variables as part of the update process.
Microsoft Windows deployment
Download the latest release of the installer and unzip it anywhere on your local disk. You will need to download/unzip the installation media on each machine where a component is to be updated. Locate the relevant *.conf
file at the root of the unzipped files and open with a text editor. For example:
- single machine installation: edit the
config-all.conf
file. - distributed installation: edit the
config-imaging-services.conf
,config-imaging-viewer.conf
orconfig-analysis-node.conf
file to match the component installed on the current machine
Modify the appropriate configuration file to ensure that all parameters EXACTLY match those that were used in the same file when installing the previous release. You can find an explanation of the parameters in Microsoft Windows installation variables.
To run the in-place update, on the appropriate machine open a CMD window with elevated permissions (right click, Run as administrator
) and execute the appropriate command from the root of the unzipped files, depending on the component(s) you are upgrading:
cast-imaging-update.bat package=all
cast-imaging-update.bat package=imaging-services
cast-imaging-update.bat package=imaging-viewer
cast-imaging-update.bat package=analysis-node
The update process will then proceed. All existing data will be preserved. On completion you should check that:
- all Microsoft Windows services are up and running (the screenshot below is for a single machine installation):
- all services within the CAST Imaging Services “admin” panel are showing in green:
Linux via Docker deployment
Update from 3.0.0-funcrel is not supported. The previous installation should be removed and a fresh installation of the new release should be run.