How override a CDD parameter in Docker run runtime

How override a CDD parameter in Docker run runtime

book

Article ID: KB0071915

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 6.X

Description

To override CDD (Cluster Deployment Descriptor) settings in docker run command please follow instructions in resolution below:

Issue/Introduction

The parameter to set the CDD properties during runtime to override previously defined CDD values .

Environment

All

Resolution

If a containerized TIBCO BusinessEvents engine's CDD property needs to be overridden during runtime it can be accomplished using the Docker run command -e parameter to set the new value.

E.g.
docker run -it --rm  -p 8108:8108 -p 5555:5555 -e PU=default -e tra.java.property.java.rmi.server.hostname=192.168.178.47 -e ENGINE_NAME=IA1_FDSample fd:be621

As can be seen above, -e can be used many times in the docker run command and can expose java related properties and/or CDD environment variables.