IBM Sterling: Configurando o Container Toolkit no OpenShift

= Procedimento =

Realizando o Deploy do Container de Toolkit
1) Crie um novo projeto no OpenShift para o MQ e defina contas de serviço e permissões.

oc new-project sterling-b2bi-toolkit

2) Defina as permissão.

oc adm policy add-scc-to-user anyuid -z default -n sterling-b2bi-toolkit

3) Localize as informações necessárias no default storage volume (volume de armazenamento padrão)

oc get pv -n openshift-image-registry

NAME      CAPACITY ACCESS MOD  RECLAIM POLICY  STATUS  CLAIM                                              STORAGECLASS pvc-42... 20Gi    RWO           Delete          Bound   sterling-b2bi-mq/data-mqsterling-ibm-mq-0 pvc-99... 100Gi   RWX           Delete          Bound   openshift-image-registry/image-registry-storage  ibmc-file-gold pvc-ac3... 20Gi    RWO           Delete          Bound   sterling-b2bi-db2/db2vol-db2-0

Pegue os datalhes

oc describe pv pvc-xxxxxxxx :Ref 4 server: fsf-xxxxxxx-xx.adn.networklayer.com path: /IBMxxSEVxxxxxxx_xx/data01 region: zone:

4) Crie o arquivo sterling-toolkit-pv-pvc.yaml e faça os ajustes

apiVersion: v1 kind: PersistentVolume metadata: name: sterlingb2bitoolkit-pv labels: failure-domain.beta.kubernetes.io/region: failure-domain.beta.kubernetes.io/zone: spec: capacity: storage: 20Gi accessModes: - ReadWriteMany nfs: server: fsf-xxxxxxx-xx.adn.networklayer.com path: /IBMxxSEVxxxxxxx_xx/data01 --- kind: PersistentVolumeClaim apiVersion: v1 metadata: name: sterlingb2bitoolkit-pvc spec: accessModes: - ReadWriteMany resources: requests: storage: 20Gi storageClassName: ""

5) Realize a criação da secreto

oc create -f sterling-toolkit-pv-pvc.yaml

= See Also =


 * IBM Sterling: Deploy do Sterling B2Bi no OpenShift na IBM Cloud


 * Artigos sobre IBM Sterling
 * Mais Artigos sobre Cloud / WebDev / Tecnologias