Unattended Installation of the Denodo Platform and Its Updates¶
The following sections explain how to perform an unattended installation of the Denodo Platform and its updates.
Modifying the Denodo Platform Installer to Include the Last Update¶
If by the time you are going to install the Denodo Platform, there is an update available for this version (you can check this in the Denodo Support Site), you can easily modify the installer so it also installs the 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 a Denodo Platform installer from the Denodo Support Site. See the section Download an Installer to know which installer you need.
- Download the update you want to install.
- Decompress the installer and the update.
- 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.
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 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. The section Download an 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 Last Update explains how to do this.
Decompress the downloaded file.
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-6.0 installer_cli.bat generate response_file_6_0.xml
cd denodo-install-6.0 chmod +x installer_cli.sh installer_cli.sh generate response_file_6_0.xml
After following the steps of the wizard, the file
response_file_6_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. This will start the unattended installation:
cd denodo-install-6.0 installer_cli.bat install --autoinstaller response_file_6_0.xml
cd denodo-install-6.0 chmod +x installer_cli.sh installer_cli.sh install --autoinstaller response_file_6_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 postinstallation tasks described in the section Postinstallation Tasks on each installation. Most of them can be scripted as well to make the process faster.
Unattended Installation of Updates and Hotfixes¶
You can install an update or a hotfix unattended. That is, without user intervention and without displaying a GUI. This is useful if you want to install an update or a hotfix using a script or in a host without graphical support.
To do this, follow these steps:
Close all the Denodo programs and tools that are running on the host where you are installing the update or hotfix; stop all the Denodo servers.
Although not mandatory, on the production servers we recommend copying the folder of the Denodo Platform before installing a new update.
This copy will allow you to restore quickly the Platform to its previous state, if necessary.
Read the RELEASE NOTES file of each product. Pay special attention to the “Postinstallation actions” of each product.
Open a command line. On Windows, launch the command line with the option “Run as administrator” even if you are logged in as an administrator.
Decompress the zip file of the update or hotfix.
Execute the following command:
cd <DENODO_HOME> cd jre cd bin java -jar <path to the directory where you decompressed the update>/denodo-v60-update-<yyyyMMdd>.jar <DENODO_HOME> -c
This installs the update in the installation of
When this installer detects that any Denodo server or tool is running, it will ask for configuration to continue. The installer does this to make sure that the update or the hotfix can be installed correctly. Take this into account if you are using a script to install the same update or hotfix on several hosts.
This command returns one of these exit codes:
- 0: the update/hotfix is installed successfully.
- 1: one or more commands executed during the installation of the update/hotfix fails.
- -1: when any other kind of error occurs.