Upgrading from versions 4.2.1.x to version 4.2.1.13 in RPM
The upgrading process to the newest OpenIAM version of 4.2.1.13 is simple and straightforward, following the steps below.
Internet-based upgrade
As a pre-requisite please ensure the following utilities are installed on the server:
- wget;
- unzip;
- tar;
- curl.
- Update version in configuration by modifying the
env.conf
file to specify the upgrade versions.
vi /usr/local/openiam/env.conf
Update the following variables:
export UPGRADE_TO_VERSION="4.2.1.13"export VAULT_VERSION_UPGRADE="1.18.1"
- Run the upgrade script by executing the upgrade command.
openiam-cli upgrade
Non-internet-based upgrade
As a pre-requisite please ensure the following utilities are installed on the server:
- wget;
- unzip;
- tar;
- curl.
- Update version in the
env.conf
file to specify the upgrade versions:
vi /usr/local/openiam/env.conf
Update the following variables:
export UPGRADE_TO_VERSION="4.2.1.13"export VAULT_VERSION_UPGRADE="1.18.1"
- Download required files manually and place them in the
/usr/src
/ directory.
cd /usr/src/wget -P /usr/src/ https://releases.hashicorp.com/vault/1.18.1/vault_1.18.1_linux_amd64.zipcurl -o openiam-4.2.1.13.noarch.x86_64.rpm https://download.openiam.com/release/enterprise/4.2.1.13/rpm/openiam-4.2.1.13.noarch.x86_64.rpmwget https://download.openiam.com/release/enterprise/4.2.1.13/binaries/frontend.tar.gzwget https://download.openiam.com/release/enterprise/4.2.1.13/binaries/backend.tar.gz
Note: If there is a disk space issue in the "/" partition, change the "/usr/src/" location to another partition with sufficient space and update the script accordingly.
- Run the upgrade script with the upgrade command as follows.
openiam-cli upgrade
Note: If the upgrade script has a different name, update it in the following location before executing.
vi /bin/openiam-cli
- Update external database configuration (if applicable). For external databases, verify the database name and update the Flyway command in the upgrade script, as given below.
vi /usr/local/openiam/utils/upgrade.sh
- The updated script for non-internet-based upgrade is stored in
/usr/local/openiam/utils
.
Note: You must update connector if you use newer versions of the product. It is recommended to use the latest connector version.
All .NET/PS connectors versions as at 5.24.0.0 version are backward compatible, hence updating it will not disrupt operation of OpenIAM versionAs 4.2.0 and higher.
All .NET/PS connectors versions as at 5.24.0.0 version are backward compatible, hence updating it will not disrupt operation of OpenIAM versionAs 4.2.0 and higher.