Installing and uninstalling Remote Engine service (systemd)
Cloud API Services Platform
Cloud Big Data
Cloud Big Data Platform
Cloud Data Fabric
Cloud Data Integration
Cloud Data Management Platform
Talend Remote Engine is
based on Apache Karaf. Karaf Service Wrapper makes it possible to install the Remote Engine
as a Linux service.
Procedure
Stop the engine if it is running.
If your engine is running tasks, you can follow this procedure to gracefully shut down
Talend Remote Engine.
Open a terminal instance.
Browse to the bin folder of the Talend Remote Engine
installation directory and run the following command to create OS service wrapper
files for the talend-remote-engine service.
./shell wrapper:install -n talend-remote-engine
The
following files are created in the
<RemoteEngineInstallationDirectory>/bin folder:
talend-remote-engine-wrapper
talend-remote-engine-service
talend-remote-engine.service
The talend-remote-engine-wrapper.conf file is created in
the <RemoteEngineInstallationDirectory>/etc folder. In
this wrapper configuration file, you can customize the JVM properties for the
engine service.
Copy the talend-remote-engine.service file to
/etc/systemd/system and reload the system.
If the systemctl enable command fails with the error Failed to enable
unit: Cannot alias ..., follow these steps:
Open the
/etc/systemd/system/talend-remote-engine.service
file in a text editor.
Locate the line starting with Alias= and remove it.
Save the changes.
Execute the systemctl daemon-reload command.
After reloading the daemon, the systemctl enable command
should work as expected to register the Talend Remote Engine service for automatic startup at boot.
When you need to uninstall the service, do the following:
Stop the engine if it is running.
Run the following command to uninstall the Talend Remote Engine
service: