Upgrade the software unattendedly

Similar to an unattended installation, you can also upgrade the software in an unattended way. To upgrade to version 5.7 or newer, you have to add the Search and Monitoring services.

Prerequisites

Note 
  • If you use a configuration file, you can edit the necessary parameters of your existing services, for example to edit a TCP port.
  • In version 5.5 or newer, there is a database port, with default value 4414 for the Jobserver. If you want to use a different port after the upgrade, add the Jobserver database port in the configuration file.
  • Upgrading to 5.7.0 or newer, requires you to add the Search and Monitoring services on one of the nodes.

Linux

  1. Open a terminal session.
  2. Go to the directory with the installer.
  3. Run the following command:
    Tip 
    • If you use a configuration file, you can replace --upgrade-config by -uc.
    • Use the full path to the configuration file, even if it is in the same directory as the installer.

    OSCommand
    Linux (root)
    • Upgrade with the default options:

    sudo ./dgc-linux-5.9.2-2.sh -- \
    --upgrade /path/to/installation

    • Upgrade with a configuration file:

    sudo ./dgc-linux-5.9.2-2.sh -- \
    --upgrade /path/to/installation \
    --upgrade-config /path/to/config

    • Upgrade and add a service:

    sudo ./dgc-linux-5.9.2-2.sh -- \
    --upgrade /path/to/installation \
    --upgrade-config /path/to/extra-service

    Linux (non-root)
    • Upgrade with the default options:
    ./dgc-linux-5.9.2-2.sh -- \
    --upgrade /path/to/installation
    • Upgrade with a configuration file:

    ./dgc-linux-5.9.2-2.sh -- \
    --upgrade /path/to/installation \
    --upgrade-config /path/to/config

    • Upgrade and add a service:

    ./dgc-linux-5.9.2-2.sh -- \
    --upgrade /path/to/installation \
    --upgrade-config /path/to/extra-service.cfg

Windows

  1. Open the command prompt.
  2. Go to the directory with the installer.
  3. Run the following command:
    Tip 
    • If you use a configuration file, you can replace --upgrade-config by -uc.
    • Use the full path to the configuration file, even if it is in the same directory as the installer.

    OSCommand
    Windows
    • Upgrade with the default options:
      setup.bat --upgrade \path\to\installation
    • Upgrade with a configuration file:
      setup.bat --upgrade /path/to/installation \
      --upgrade-config /path/to/config
    • Upgrade and add a service:
      setup.bat --upgrade /path/to/installation \
      --upgrade-config /path/to/extra-service.cfg

What's next?

All Collibra DGC services will be upgraded and be readily available upon the upgrade completion.