Run Configurations
Execute Jobs / Transformations on specific nodes or in a Pentaho Cluster ..

Master Node
In a terminal execute the following command.

Slave Nodes
In a new terminal execute the following command (Slave A).

In a new terminal execute the following command (Slave B).

You should now have 3 terminals, each running a Carte instance.
Please dont close the terminals ..!
Open the tr_hello_world transformation.
Select the View tab
Highlight the Slave server option; right mouse click and select: New

Server name
The name of the slave server.
Hostname or IP address
The address of the device to be used as a slave.
Port (empty is port 80)
Defines the port you are for communicating with the remote server. If you leave the port blank, 80 is used.
Web App Name (required for Pentaho Server)
Leave this blank if you are setting up a Carte server. This field is used for connecting to the Pentaho server.
User name
Enter the user name for accessing the remote server.
Password
Enter the password for accessing the remote server. (cluster/cluster)
Is the master
Enables this server as the master server in any clustered executions of the transformation.
Below are the proxy tab options:
Proxy server hostname
Sets the host name for the proxy server you are using.
The proxy server port
Sets the port number used for communicating with the proxy.
Ignore proxy for hosts: regexp | separated
Specify the server(s) for which the proxy should not be active. This option supports specifying multiple servers using regular expressions. You can also add multiple servers and expressions separated by the ' | ' character.
Master Node
Enter the following settings to configure the Master node:

Slave Nodes
Enter the following settings to configure the Slave node A:

Enter the following settings to configure the Slave node B:


Ensure you have configured the Nodes.

To create a new run configuration, right-click on 'Run configurations' folder and select New.

Enter the following configuration details, ensuring that you select the Pentaho (KETTLE) engine.

When you come to RUN the transformation, select Master node.


Take a look at the Master Terminal.

Cluster Schema
To create a new run configuration, right-click on 'Kettle cluster schemas' folder and select New.

Enter the following configuration details.

Schema name
The name of the clustering schema
Port
Specify the port from which to start numbering ports for the slave servers. Each additional clustered step executing on a slave server will consume an additional port. Note: To avoid networking problems, make sure no other networking protocols are in the same range.
Sockets buffer size
The internal buffer size to use
Sockets flush interval rows
The number of rows after which the internal buffer is sent completely over the network and emptied.
Sockets data compressed?
When enabled, all data is compressed using the Gzip compression algorithm to minimize network traffic
Dynamic cluster
If checked, a master Carte server will perform failover operations, and you must define the master as a slave server in the field below. If unchecked, Spoon will act as the master server, and you must define the available Carte slaves in the field below.
Slave Servers
A list of the servers to be used in the cluster. You must have one master server and any number of slave servers. To add servers to the cluster, click Select slave servers to select from the list of available slave servers.
To create a new run configuration, right-click on 'Run configurations' folder and select New.
Enter the following configuration details, ensuring that you select the Pentaho (KETTLE) engine.

Highlight the Hello World step, right mouse click and select the option Clusters from the drop down menu.

Select 'Pentaho' cluster schema.


RUN the transformation with Clustered configuration.

Take a look at the Tabs (example below is for Slave A).



Last updated
Was this helpful?
