Skip to content

Deploy IBM Sterling Transformation Extender on OpenShift using Ansible Scripts

Preparation

1. IBM Entitled Registry

You must have kubectl, oc, git and ansible installed in your machine

Log in the IBM Container software library with the IBMid and password that are associated with the entitled software. Click Get entitlement key. With key export variable

export ENTITLED_REGISTRY_KEY=<entitlement_key>

2. Login on OpenShift

Do a login in Openshift console and run the command:

oc login --token=sha256~P...k --server=https://c....containers.cloud.xxx.com:31234

3. Cloning ansible-ibm-websphere from git

git clone https://github.com/ibm-sterling-devops/ansible-ibm-sterling.git

4. Set roles path

To run playbook the playbook

cd ansible-ibm-sterling

export ANSIBLE_CONFIG=./ansible.cfg 

Deploy ITX RS

1) Define namespace

export ITX_RS_NAMESPACE=ibm-itx-rs-dev01

2) To run the playbook

ansible-playbook playbooks/deploy_itx_rs.yml

Environment Variable

Environment variables for this role:

Environment Variable Default Value Required Description
ENTITLED_REGISTRY_KEY N/A Yes Entitlement registry key
ITX_RS_NAMESPACE N/A Yes Namespace for ITX application
ITX_RS_INSTANCEID N/A Yes Instance ID for ITX application
ITX_RS_VERSION 10.1.2.0.20231130 No Version of ITX application
ITX_RS_SYS_PASSPHRASE Passw0rd@ No System passphrase for ITX application