This configuration is used to connect Remote Engine to Talend Runtime and deploy bundles to Talend Runtime.
Procedure
-
Edit the org.talend.ipaas.rt.dsrunner.cfg file to deploy bundles to Talend Runtime.
- To set a custom deployment directory, change the value of the osgi.execution.folder property. The default value is <RemoteEngineInstallationDirectory>/data/dsrunner/exec/osgi.
- To set a custom Talend Runtime directory, change the value of the osgi.talend.runtime.folder property. The default value is /opt/talend/runtime.
-
Edit the org.talend.ipaas.rt.dsrunner.talendruntime.client.cfg
file to configure the connection from Remote Engine to Talend Runtime.
-
Among the properties, it is mandatory to define your JMX username and
password. Possible options include:
- Set the
RUNTIME_JMX_USERNAME
andRUNTIME_JMX_PASSWORD
environment variables. - Define the
RUNTIME_JMX_USERNAME
andRUNTIME_JMX_PASSWORD
Java System properties. - Replace the default expressions of
talendruntime.jmx.username
andtalendruntime.jmx.password
with the actual values you need to use.
- Set the
-
Set a custom JMX URL by editing the
talendruntime.jmx.url
property, if you do not want to use the default one, which isservice:jmx:rmi://localhost:44444/jndi/rmi://localhost:1099/karaf-trun
-
Encrypt sensitive property values. To do this,
- Wrap the strings to be encrypted in
ENC()
. For example,talendruntime.jmx.password=ENC(your_password_string)
. - In the environment configuration file,
runtime_installation/bin/setenv.bat
, add the following line to set theTESB_ENV_PASSWORD
environment variable to specify the encryption password or secret:SET TESB_ENV_PASSWORD=your_encryption_password
For more details about this encryption setting, see Encrypting parameters and passwords.
- Wrap the strings to be encrypted in
By default, most of the properties in this file are resolved as references to environment variables or as Java System variables if the respective environment variables are not set. This behavior is achieved when a property is declared using the following syntax:talendruntime.jmx.username=${env:RUNTIME_JMX_USERNAME:-${RUNTIME_JMX_USERNAME}}
, which has the following meaning:- An environment variable named
RUNTIME_JMX_USERNAME
is searched for, and if present, is used. - If no environment variable named
RUNTIME_JMX_USERNAME
is present, a Java System variable of the same name is searched for, and if present, is used.
-
Among the properties, it is mandatory to define your JMX username and
password. Possible options include: