-
Notifications
You must be signed in to change notification settings - Fork 0
Activespaces multiple cache nodes Backing store
ykalidin edited this page May 26, 2021
·
2 revisions
This page describes deployment steps for Activespaces store Application with multiple cache nodes in Cloud foundry.
-
Clone the repo:
git clone https://github.com/TIBCOSoftware/be-tools.git cd be-tools/cloud/cloud-foundry/examples
-
Update environment variables for your BE image in as2store.yml file in cache and inference env sections.
-
Use the below command to deploy Business Events application:
cf push cache-0 -u process cf push cache-1 -u process cf push inference -u process
-
If your docker image is in a Private repository update Docker username in manifest file.Also add 'CF_DOCKER_PASSWORD=PASSWORD' environment variable in above commands.
CF_DOCKER_PASSWORD=PASSWORD cf push <APP-NAME> -u process
Note: If your Private repository is AWS ECR refer here. Google Container registry refer here.
For Activespaces Service Discovery add below network policies with respect to application cluster type.
cf add-network-policy cache-0 cache-1 --port 50000 --protocol tcp
cf add-network-policy cache-1 cache-0 --port 50000 --protocol tcp
cf add-network-policy cache-0 inference --port 50000 --protocol tcp
cf add-network-policy inference cache-0 --port 50000 --protocol tcp
cf add-network-policy cache-1 inference --port 50000 --protocol tcp
cf add-network-policy inference cache-1 --port 50000 --protocol tcp
Test the deployed application using the steps mentioned here.