Deploy IBM Sterling Control Center on OpenShift using Ansible Scripts

Playbook will run the last version of Sterling Control Center, but take care of Kubernetes/Openshift version is supported

Sterling Control Center helm-chart Kubernetes OpenShift Helm
6.3.1.0_iFix02_2024-09-13 3.1.7 >=1.27.0 >= 4.14 >= 3.14.x
6.3.1.0_iFix02_2024-07-31 3.1.4 >=1.27.0 >= 4.14 >= 3.14.x
6.3.1.0_iFix02_2024-05-28 3.1.3 >=1.23.0 >= 4.12 >= 3.14.x
6.3.1.0_2024-04-30 3.1.2 >=1.23.0 >= 4.12 >= 3.14.x

Check with

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 

Deploying Sterling Control Center

1) First you need to provide SCC_INSTANCEID, this is used to define your environment. Samples: dev01, dev02, poc01, qa01, prod01

export SCC_INSTANCEID=dev01

2) You must define which product to install

export SCC_PRODUCTS=CCM,CCD

where SCC_PRODUCTS is the product that you want to install

Product Description
CCD Sterling Control Center Director
CCM Sterling Control Center Monitor

3) To run the playbook

ansible-playbook playbooks/deploy_scc.yml

Environment Variable

For all environment variables