Unattended Installation of the Denodo Platform¶
You can automate the installation of the Denodo Platform by generating a response file instead of using the graphical wizard or the command line one. The main benefit of doing this is that you can complete several installations on multiple hosts without user intervention.
This process has two main steps:
- Generating a response file. The process is similar to installing the Denodo Platform from the command line, but the result is a response file instead of an actual installation.
- Using this response file, execute the unattended installation.
To perform an unattended installation, follow these steps:
Download a Denodo Platform installer from the Support Site and decompress it. The section Download the Installer explains which one you should select.
If by the time you are doing this, there is an update available, you may be interested in modifying the installer to automatically install the update as well. The section Modifying the Denodo Platform Installer to Include the Latest Update explains how to do this.
Open a command line and execute the following commands. On Windows, launch the command line with the option “Run as administrator” even if you are logged in as an administrator.
cd denodo-install-7.0 installer_cli.bat generate response_file_7_0.xml
cd denodo-install-7.0 chmod +x installer_cli.sh installer_cli.sh generate response_file_7_0.xml
After following the steps of the wizard, the file
response_file_7_0.xmlwill contain the necessary information to perform the installation.
On each host where you want to install the Denodo Platform, decompress the zip of the installer and execute the following commands to start the unattended installation:
cd denodo-install-7.0 installer_cli.bat install --autoinstaller response_file_7_0.xml
cd denodo-install-7.0 chmod +x installer_cli.sh installer_cli.sh install --autoinstaller response_file_7_0.xml
You can use a response file generated with the Linux installer to perform installations on Windows and vice versa. You will only have to modify the response file to set a path that is valid on the operating system. To change this path, edit the response file and change the value of the property “INSTALL_PATH”.
Note that you still have to perform the post-installation tasks described in the section Post-Installation Tasks on each installation. Most of them can be scripted as well to make the process faster.
Modifying the Denodo Platform Installer to Include the Latest Update¶
You can easily modify the Denodo installer so it also installs the latest update automatically. This is useful if you are going to perform an installation on many computers. For example, to generate an installer for all the developers of your organization.
To do this, follow these steps:
- Download the Denodo Platform installer from the Denodo Support Site. See the section Download the Installer to know which installer you need.
- Download the latest update of the Denodo Platform and decompress it.
- Inside the folder of the installer, create a folder named
- Rename the jar file inside the zip file of the update to
denodo-updatefolder. Thus having this path:
- Compress the directory
When using this modified installer, the installer will automatically install the update after the installation process finishes.