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:

  1. 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.
  2. Using this response file, execute the unattended installation.

To perform an unattended installation, follow these steps:

  1. Download a Denodo Platform installer from the Support Site and decompress it. 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 Latest Update explains how to do this.

  2. 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.

    1. Windows:

      cd denodo-install-7.0
      installer_cli.bat generate response_file_7_0.xml
      
    2. Linux:

      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.xml will contain the necessary information to perform the installation.

  3. 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:

    1. Windows:

      cd denodo-install-7.0
      installer_cli.bat install --autoinstaller response_file_7_0.xml
      
    2. Linux:

      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 postinstallation tasks described in the section Postinstallation 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:

  1. Download the Denodo Platform installer from the Denodo Support Site. See the section Download an Installer to know which installer you need.
  2. Download the latest update of the Denodo Platform and decompress it.
  3. Inside the folder of the installer, create a folder named denodo-update.
  4. Rename the jar file inside the zip file of the update to denodo-update.jar.
  5. Copy denodo-update.jar to the denodo-update folder. Thus having this path: denodo-install-7.0\denodo-update\denodo-update.jar
  6. Compress the directory denodo-install-7.0 again.

When using this modified installer, the installer will automatically install the update after the installation process finishes.