This example illustrates how Airlock IAM versions can be installed and managed in parallel on the same machine. This may be useful when upgrading Airlock IAM.
The following text is based on parallel installations of Airlock IAM 7.3 and 8.0.
We now have:
File / Directory | Description |
---|---|
/opt/airlock-iam-7.3/ | 7.3 distribution. The PATH variable of the "airlock" user points to this distribution, allowing the use of "iam" in place of the absolute path to "/opt/airlock-iam-7.3/bin/iam". |
/opt/airlock-iam → /opt/airlock-iam-7.3/ | Symlink to most recently installed version. (This is not required for IAM to function. It only exists for scripting and added convenience.) |
/home/airlock/iam/instances/a/ | Configuration of instance "a". Contains systemd service file pointing to "/opt/airlock-iam-7.3/". |
/home/airlock/iam/instances/b/ | Configuration of instance "b". Contains systemd service file pointing to "/opt/airlock-iam-7.3/". |
We will now install 8.0 and upgrade instance "a" to point to it, but leave instance "b" at 7.3:
As a result, we now have:
File / Directory | Description |
---|---|
/opt/airlock-iam-7.3/ | 7.3 distribution. The PATH variable of the "airlock" user no longer points to this distribution. |
/opt/airlock-iam-8.0/ | 8.0 distribution. The PATH variable of the "airlock" user points to this distribution, allowing the use of "iam" in place of the absolute path to "/opt/airlock-iam-8.0/bin/iam". |
/opt/airlock-iam → /opt/airlock-iam-8.0/ | Symlink to most recently installed version. (Note that this is not required. It only exists for added convenience and to simplify scripting.) |
/home/airlock/iam/instances/a/ | Configuration of instance "a". Contains systemd service file pointing to "/opt/airlock-iam-8.0/". |
/home/airlock/iam/instances/b/ | Configuration of instance "b". Contains systemd service file pointing to "/opt/airlock-iam-7.3/". |