Upgrading to IAM Version 3.4
This topic describes how to upgrade the InterSystems API Manager (IAM) from version 3.2 to version 3.4.
New in IAM 3.4
-
Kong Gateway 3.4 contains many new features, deprecations, and fixes that may affect existing applications. See the changelog athttps://docs.konghq.com/gateway/changelog/#3420Opens in a new tab for details.
Upgrade Steps
To upgrade from 3.2 to 3.4:
-
Download the installation tar file from the InterSystems Worldwide Response Center (WRC) download page: https://wrc.intersystems.com/wrc/coDistGen.cspOpens in a new tab. To show only the IAM kits, type IAM in the Name column.
-
Uncompress the file and extract the contents.
See Installing IAM for a list of the contents.
-
Perform the upgrade which consists of the following high level steps:
-
Stop IAM 3.2
-
Load the IAM 3.4 image and set up environment variables for IAM 3.4
-
Start IAM 3.4
-
Perform the Upgrade
Stop IAM 3.2
Before upgrading to IAM 3.4, you must ensure your current version of IAM is no longer running. To stop the IAM container you must be in a shell where you have previously run the setup script for your current version of IAM, or you will need to define the ISC_IAM_IMAGE and ISC_IRIS_URL environment variables. Navigate to the scripts directory containing the docker-compose.yml file for your current IAM version, and stop it, for example:
cd iam3.4/scripts
docker compose down
cd iam3.4/scripts
docker-compose down
cd iam3.4scripts
podman-compose down
Load the IAM 3.4 Image and Set Up Environment Variables for IAM 3.4
-
Load the IAM image into your local repository by executing the following command in the directory where you extracted the IAM archive:
docker load -i iam_image.tar
podman load -i iam_image.tar
-
Make a note of the value of Loaded image from the output of the docker load command. It is required in step 3b.
-
Run the IAM setup script and enter the requested information at the prompts.
-
In a UNIX bash shell, enter:
source ./scripts/iam-setup.sh
-
At the first prompt, enter the container image name. The container image name can be found in the output of the docker load command, as the value of Loaded image. For example, it could be:
intersystems/iam:3.4.1.0
-
Enter the IP address for your InterSystems IRIS instance. If your instance is on your local machine, use your externally visible local IP address, not localhost or 127.0.0.1. If the instance is running in a container, use the IP address of the host environment, not the IP address of the container. To avoid any DNS issues, use the numeric form of the IP address.
-
Enter the web server port for your InterSystems IRIS instance.
-
Enter the password for the IAM user on your InterSystems IRIS instance.
-
Re-enter the password.
-
If you want IAM to request the license from InterSystems IRIS using HTTPS instead of HTTP, provide the full path to your CA Certificate file; otherwise, press Enter.
-
With certain InterSystems IRIS configurations, the instance is not accessible by using the instance server name. In these cases, your InterSystems IRIS instance is only accessible via its CSPConfigName URL prefix (see Changing the InterSystems IRIS Server Name in the URLOpens in a new tab) and you need to provide the prefix with a trailing slash (/) now. If this does not apply, press Enter.
-
To continue and use the information you entered, press y then pressenter.
-
This script sets the ISC_IAM_IMAGE and ISC_IRIS_URL environment variables required by the docker-compose.yml file.
Start IAM 3.4
Navigate to the directory where you extracted the IAM archive. For example, /users/iam/iam32. Run the following commands:
cd scripts
docker compose up -d
cd scripts
docker-compose up -d
cd scripts
podman-compose up -d
After waiting a minute, go to http://localhost:8002/overview to verify that everything is running.