Creating a Mashery Local Cluster
Follow this procedure to create a Mashery Local cluster.
Navigate to the folder /docker-deploy/azure/openshift/manifest-single-zone/ and execute the following commands in sequence.
- Login into the OpenShift server and run the following command, which will prompt you for a user name and password:
oc login <openshiftConsoleUrl>
- Create a new project:
oc new-project <project name>
oc new-project ml5-openshift
- Assign the
anyuid security context constraint to the project:
oc adm policy add-scc-to-user anyuid system:serviceaccount:<project name>:<service_account>
For example:oc adm policy add-scc-to-user anyuid system:serviceaccount:ml5-openshift:default
- Create a registry secret to be used by Docker to pull images during deployment:
./set-registry-secret.sh
- Run the following command to create the TIBCO Mashery cluster:
./create-tml-cluster.sh
- Run the following command to verify the deployment in the Azure OpenShift cluster:
oc get pods
Example output:
NAME READY STATUS RESTARTS AGE cache-set-0-0 1/1 Running 0 21h cass-set-0-0 1/1 Running 0 21h cm-deploy-0-fdc68b486-z6m4k 1/1 Running 0 21h log-set-0-0 1/1 Running 0 21h mysql-set-0-0 1/1 Running 0 21h tm-deploy-0-596d986875-lk5sf 1/1 Running 0 21h
Copyright © Cloud Software Group, Inc. All rights reserved.