-
Notifications
You must be signed in to change notification settings - Fork 0
Ignite multiple cache nodes activespaces store
yogita edited this page May 23, 2022
·
3 revisions
This page describes deployment steps for Ignite cluster cache Activespaces store Application with multiple cache nodes in Pivotal 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 igniteas4.yml file in both 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 Ignite Service Discovery add network policies using the Ignite communication and listen ports as below.
cf add-network-policy cache-0 cache-1 --port 47100-47510 --protocol tcp
cf add-network-policy cache-1 cache-0 --port 47100-47510 --protocol tcp
cf add-network-policy cache-0 inference --port 47100-47510 --protocol tcp
cf add-network-policy inference cache-0 --port 47100-47510 --protocol tcp
cf add-network-policy cache-1 inference --port 47100-47510 --protocol tcp
cf add-network-policy inference cache-1 --port 47100-47510 --protocol tcp
Refer to here.