Enabling remote JMX access in Talend Runtime - 8.0

Talend Big Data Installation Guide for Linux

Version
8.0
Language
English (United States)
EnrichDitaval
Big Data for Linux
Product
Talend Big Data
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Runtime
Talend Studio
Content
Installation and Upgrade

For security reasons, remote access to the Talend Runtime Container is restricted. By default, remote JMX access and SSH access is only possible from localhost (IP address 127.0.0.1) and the Talend Administration Center can not connect to the Talend Runtime on a different host.

In order for the Talend Runtime to be accessible to the Talend Administration Center, remote JMX access must be enabled. This can be done in one of the following ways.

Procedure

  1. Edit the <RuntimeContainerPath>/etc/org.apache.karaf.management.cfg file and set the following values.
    rmiRegistryHost = 0.0.0.0
    rmiServerHost = 0.0.0.0
  2. Set the following OS environment variables before starting the Talend Runtime (or set them in the setenv.sh file):
    export ORG_APACHE_KARAF_MANAGEMENT_RMIREGISTRYHOST=0.0.0.0 
    export ORG_APACHE_KARAF_MANAGEMENT_RMISERVERHOST=0.0.0.0
    You can set the values of rmiRegistryHost and rmiServerHost to either 0.0.0.0 or 127.0.0.1. Any other value like hostname or IP address of the network interface does not work.
    • 0.0.0.0: Access succeeds through localhost (127.0.0.1) and remote network interfaces. In Talend Administration Center, setting the value of the host to either localhost or 127.0.0.1 only works for the Talend Runtime on the same host. If the value of the Host field is set to the hostname or IP address of the host, then it can be accessed locally or remotely.
    • 127.0.0.1: Access succeeds only through localhost (127.0.0.1) for the Talend Runtime on the same host as Talend Administration Center. In Talend Administration Center, the value of the host must be localhost or 127.0.0.1. The hostname or remote IP address does not work as access is restricted to localhost.