Skip to main content Skip to complementary content

Configuring remote execution (Talend > Run/Debug)

Talend Studio allows you to deploy and execute your Jobs on a remote JobServer when you work on either a local project or on a remote one on the condition that you are connected with the Talend Administration Center.

Procedure

  1. From the menu bar, click Window > Preferences to open the Preferences dialog box.
  2. Expand the Talend and the Run/Debug nodes in succession and then click Remote.
  3. Optional: To enable monitoring the JVM resource usage during Job execution on a remote JobServer, do the following:
    1. Select the Enable remote monitoring check box.
    2. In Remote JMX port field, enter a listening port number that is free in your system.
  4. Optional: To define a specific Unix OS user allowed to start the Job execution on a remote JobServer, enter the user name in the Run as (Set up user for Unix) field.
    If left blank, any of the existing Operating System users can start the Job execution.
    Information noteTip: By default, the user name must start with a lower-case letter from a to z, followed by a combination of lower-case letters (a to z) and numbers (from 0 to 9). To allow using characters other than those letters and numbers, you need to modify the regular expression ^[a-z][-a-z0-9]*\$ in the value of the org.talend.remote.jobserver.server.TalendJobServer.RUN_AS_USER_VALIDATION_REGEXP parameter in the file {Job_Server_Installation_Folder}\agent\conf\TalendJobServer.properties. For example:
    • To define a user name pattern that should include a dot, like firstname.lastname, modify the regular expression to ^[a-z][-a-z0-9]*.[a-z][-a-z0-9]*\$.
    • To allow using one or more underscores (_) in the user name, modify the regular expression to ^[a-z][-a-z_0-9]*\$.
  5. If the network condition is bad, enter an appropriate value in the Max size per package to transfer field to ensure that the Job packages received on the JobServer are complete.
    By default, the maximum package size is 1048576 bytes (1 MB).
  6. To remotely execute your Jobs while you are working on a local project, configure the remote JobServer details.
    Information noteNote: When working on a remote project, you need to connect the Studio with Talend Administration Center so that the JobServer settings are automatically retrieved.

    If the Studio is disconnected from the Talend Administration Center, you can not run the Job remotely because the JobServer settings can not be retrieved and you can not configure them manually.

    1. In the Remote Jobs Servers area, click the [+] button to add a new line in the table.
    2. Fill in all the fields for the JobServer: Name, Host name (or IP address), Standard port, Username, Password, and File transfer Port.

      The Username and Password fields are not required if no users are configured in the configuration file conf/users.csv of the JobServer.

  7. Click Apply and Apply and Close to validate the changes.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!