Skip to main content Skip to complementary content

Prerequisites

Make sure that the following prerequisites have been met:

Client prerequisites

Qlik Replicate for Windows

Install Microsoft ODBC Driver 17.6 for Windows on the Qlik Replicate Server machine.

For all versions of the source database, install one of the following drivers on the Qlik Replicate Server machine:

Microsoft ODBC Driver 17.6

Microsoft ODBC Driver 17.2.0.1

Qlik Replicate for Linux

Install Microsoft ODBC Driver 17.6 for Linux on the Replicate machine.

Then, open a Unix shell and do the following:

The procedure below assumes that you have installed a single default instance of Replicate on Linux (areplicate). If you have installed multiple instances, replace areplicate with the name of the instance running the task with a Microsoft SQL Server source. If several instances are running such as task, the procedure needs to be repeated for each instance.

  1. Change the working directory to:

    cd <product_dir>/bin
  2. Stop the Replicate service:

    ./areplicate stop
  3. Optionally, confirm that the service has stopped:

    ./areplicate status
  4. Copy the driver location to the site_arep_login.sh file as follows:

    echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/microsoft/msodbcsql17/lib64/" >> site_arep_login.sh

    This will add the driver to "LD_LIBRARY_PATH" and update the driver location in the site_arep_login.sh file.

  5. Optionally, confirm that the driver location was copied:

    cat site_arep_login.sh
  6. Start the Replicate service:

    ./areplicate start
  7. Optionally confirm that the service has started:

    ./areplicate status
  8. Replicate requires the following ODBC library: libmsodbcsql-17.6.so.1.1

    To check which library version is currently installed Issue the following command:

    ls /opt/microsoft/msodbcsql/lib64/

    If the existing library has a different version number (e.g. libmsodbcsql-17.6.so.0.2), you need to create a symbolic link between the existing library and the required library.

    To do this, issue the following commands:

    cd /opt/microsoft/msodbcsql17/lib64/
    ln -s existing_library_name libmsodbcsql-17.6.so.1.1

    where existing_library_name is the name of the currently installed library (e.g. libmsodbcsql-17.6.so.0.2).

General prerequisites

  • The Microsoft SQL Server database must be enabled for MS-REPLICATION. For more information, see Setting up Microsoft SQL Server for replication.

  • A Microsoft SQL Server account with the specific access privileges is required. For more information, see Required permissions.
  • Microsoft SQL Server as a source must be configured for a full backup to work with Replicate. For more information, see Preparing Microsoft SQL Server backup and recovery.
  • When decompressing a compressed backup transaction log, Replicate writes the decompressed log to the same location as the compressed log. Consequently, the location of the compressed backup transaction log must have enough space to contain the decompressed log as well.

TLS 1.2 prerequisites

If your environment matches the following:

  • Microsoft SQL Server 2012 or 2014
  • Microsoft ODBC Driver 17 installed on Red Hat 8.1 or later

Then, in order to work with TLS 1.2, you must install a specific Service Pack on the Windows machine where Microsoft SQL Server is installed.

For more information, see https://support.microsoft.com/en-us/help/3135244/tls-1-2-support-for-microsoft-sql-server.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!