Upgrading an existing containerized developer toolkit environment
Learn how to upgrade your existing containerized developer toolkit environment.
About this task
Watch this video to understand the upgrade process for the developer toolkit.
You can upgrade your existing containerized developer toolkit
environment to a newer version of developer toolkit. As part of upgrade, your runtime binaries and
configuration data are upgraded to the latest runtime image. Any transaction data or MQ data that
you might have created are retained too. All your middleware images are also upgraded to the latest
versions that are used in Sterling™ Order Management System.
Important:
Exporting data during the developer toolkit upgrade
- While upgrading to DTK version 26.2.4.0-10.0.2604.0, ensure that the database is exported.
- During the
setup-upgprocess, you are prompted to export data. - Select Y (Yes) when prompted to proceed with the export.
- If the upgrade fails during this process, add the following property to
om-compose.properties.DB_IMPORTDATA=true - Run the following command. Do not run
./om-compose.sh setup-upg../om-compose.sh setup optional: full_path_to_customization_package
Typically, upgrade takes a longer time than a fresh setup. If you do not want to continue to use your existing configuration or data, it is recommended that you rerun the procedure to set up the containerized developer toolkit environment afresh rather than doing an upgrade. For more information, see Setting up the containerized developer toolkit environment.
Important: Some important points to note before you upgrade your existing developer toolkit
environment:
- Upgrading to a new containerized developer toolkit is only supported from a containerized developer toolkit that is one major version old. For example, you can upgrade to containerized developer toolkit release 20.3 only if your existing containerized developer toolkit is already on release 20.2.
- Before you upgrade to the new image, ensure that you stop all the agents or integration servers in the containerized developer toolkit environment.
- If you change the path where you extracted the devtoolkit_docker directory, the upgrade may not be successful because your existing DB and MQ containers are mapped to this directory internally.
- Do not run the ./om-compose.sh wipe-clean command before upgrade, because it removes all data and configurations.
- If you have overridden any property in the
om-compose.propertiesfile earlier, you must repeat the changes in the newom-compose.propertiesfile. For more information, see Overriding the default docker compose properties. - Copy the jndi and certificates directories from your earlier devtoolkit_docker directory to your current devtoolkit_docker directory.
- Copy any additional
jvmarguments that you might have added to the earlier jvm.options file to the current devtoolkit_docker/compose/docker/appserver/jvm.options file.