Configuring multiple Talend Runtime containers on a single server
Sometimes, you may need to deploy, run and test multiple versions of a SOAP service on a single server for short term development and testing needs.
In cases like this, you can deploy multiple Talend Runtime containers on a single server, to simulate multiple environments, such as Development, Staging, System Integration Test, UAT1, UTA2, etc. Those additional environments are generally temporary. They are created to accelerate development and testing and are cleaned up after the release is done.
Multiple environment Runtime
Talend Runtime can be installed multiple times on the same server. Since there are many ports used by a Talend Runtime instance, you need to change all of them to avoid conflicts.
Deploying multiple Talend Runtime containers
- There are no shared resources between the environments other than Nexus, Git or SVN.
- There is no ActiveMQ or JMS communication with the services.
- There are no ESB infrastructure services used (since these are temporary environments).
You have now three Talend Runtime containers, each one for simulating a different environment and ready to be used on a single server.
Deploying on different environments
Deployment and testing of SOAP and REST services into the various containers are now transparent, even though the three environments, that is to say the three Talend Runtimes, are on the same physical or virtual server. You can deploy artefacts from Nexus to any environment.
To make services more configurable, you can design them to include context variables in their endpoints. In this example, you have the server, port and version defined as context variables.