Set up Pentaho Worker Nodes on the Pentaho Server
After you Installing the Pentaho Worker Nodes product, you are ready to enable Pentaho Worker Nodes on your Pentaho Server and configure it to run work items. In addition, you can enable secure communication between the Pentaho Server and the worker nodes.
Enable Pentaho Worker Nodes
Perform the following steps in the Karaf environment:
If you have not done so already, stop the Pentaho Server.
Navigate to the pentaho-server/pentaho-solutions/system/karaf/etc/ directory and open the org.apache.karaf.features.cfg file with any text editor.
featuresBootproperty and add the
# Comma separated list of features to install at startup # featuresBoot=config,management,kar,cxf,camel,camel-blueprint,camel-stream,pentaho-camel-jms,pentaho-server,pentaho-monitoring-to-snmp,pentaho-metaverse,pdi-dataservice,pdi-data-refinery,pentaho-big-data-ee-plugin-osgi-obf,pdi-engine-configuration,pentaho-worker-nodes-ee
Save and close the org.apache.karaf.features.cfg file.
Start the Pentaho Server.
Verify that the new configuration file pentaho.worker.nodes.cfg has been created in the following location:pentaho-server/pentaho-solutions/system/karaf/etc/NoteThe Karaf OSGI framework allows a user to make configuration changes which are applied in real-time to the environment when the configuration file is saved.
Configure the Pentaho Worker Nodes
Perform the following steps in the configuration file:
Navigate to the pentaho-server/pentaho-solutions/system/karaf/etc/ directory and open the pentaho.worker.nodes.cfg file with any text editor.
Perform the associated action for each property listed in the table below:
Property Action Notes orchestrator Change the value to mesos-chronos. If you wanted to return to standard Pentaho Server operation, set this property value to None. wn-hostname Set the value to the IP address of the Chronos service running within your cluster. To find the IP address of your Chronos service, browse to. wn-port Set the value to the port number of the Chronos service running within your cluster. To find the port number of your Chronos service, browse to. wn-setup-environment-variables Contains the variables TRUSTED_IP, REPOSITORY_IP, and REPOSITORY_PORT. Set these values to the correct Pentaho Server IP, repository IP, and repository port number, respectively. wn-setup-volume-mapping Contains the hostPath. If you have installed your Foundry product in a directory other than /opt/pwnthen you will need to substitute /opt/pwn with your install path.
Make the following changes for each value listed in the table below:
Variable Action Notes TRUSTED_IP Add ' ,\ ' (a comma and a backslash) after the value. EVENTS_SENTINEL_HOST Uncomment (remove the hashtag (#) icon) and provide the following value: IP address of the host where the Sentinel service of HCI is running. This value is located under the “# comma-separated key-value pairs of environment variables needed for Chronos job to launch a worker node” section. EVENTS_SENTINEL_PORT Uncomment (remove the hashtag (#) icon) and provide the following value: Port where the Sentinel service of HCI is listening. The default value is 8889. This value is located under the “# comma-separated key-value pairs of environment variables needed for Chronos job to launch a worker node” section.
Save and close the pentaho.worker.nodes.cfg file.NoteAfter the Worker Nodes are configured, all transformations and jobs submitted to the Pentaho Server are processed using Worker Nodes. To return to standard Pentaho Server operation, set the orchestrator property value to None.