Goal
The different services of the Denodo Platform can be configured to be automatically started as part of the startup process of an operating system. This document lists examples of scripts that can be used on Linux systems to automate the startup process of the Denodo services
Content
- In case of Linux systems if you want to run Denodo as Linux Services, it will be necessary to create shell scripts with the startup and shutdown steps.
- Once the scripts are ready, move the scripts files to /etc/init.d folder.
- Then, invoke them by executing the following commands from the terminal.
If you use SysVinit,
Execute the services automatically using,
~$ chkconfig <service_name> --add
~$ chkconfig <service_name> on
Invoke the service as,
~$ service <service_name> start/stop/restart
If you are using Systemd,
Load the scripts as Service by executing,
~$ systemctl daemon-reload
Invoke the same as,
~$ systemctl start/stop/restart <service_name>
Execute the service automatically at next boot using,
~$ systemctl enable <service_name>
The service files need to have execution privileges. If they do not have these privileges an “unrecognized service” error will be thrown when running the service.
For sample startup scripts refer the following Knowledge Base articles:
Linux startup scripts for Virtual DataPort, Scheduler and Denodo Web Tools
Linux startup scripts for Solution Manager and License Manager
Note: The scripts are applicable to SystemV type systems. For SystemD, the syntax and the instructions for the scripts may change.