SQL Server Requirements - DSS 6 | Data Source Solutions Documentation

Documentation: SQL Server Requirements - DSS 6 | Data Source Solutions Documentation

SQL Server Requirements

This section describes the requirements, access privileges, and other features of Data Source Solutions DSS when using SQL Server for replication.

Supported Platforms

  • Learn about the SQL Server versions compatible with DSS on our Platform Support Matrix page (6.1.0, 6.1.5, 6.2.0, and 6.2.5).

Supported Capabilities

  • Discover what DSS offers for SQL Server on our Capabilities for SQL Server page (6.1.0, 6.1.5, 6.2.0, and 6.2.5).

Data Management

Data Source Solutions provides additional solutions for replicating data from SQL Server. For more information, see section SQL Server in Databases.

Supported Editions

DSS supports the following SQL Server editions:

  • SQL Server Developer Edition
  • SQL Server Enterprise Edition
  • SQL Server Standard Edition

Connecting Hub to a Remote SQL Server Database

For connecting DSS Hub machine to a remote SQL Server database, the following three methods are available:

All of the following connection methods are applicable when SQL Server is used as source and as target. Specifically, DSS's log-based capture can get changes from a database without DSS's executables being physically installed on the source machine.

  • Method 1: Connect the DSS Hub directly to the SQL Server database (available on a remote machine) using the SQL Server protocol - Tabular Data Stream (TDS).

To use this connection method, the Microsoft ODBC Driver for SQL Server must be installed on the machine from which the DSS Hub will connect to the SQL Server database. For information about the supported ODBC driver versions, refer to the DSS release notes (dss.rel) available in the DSS_HOME directory or the download page.

  • Method 2: Connect the DSS Hub to an DSS Agent installed on the remote machine containing the SQL Server database using DSS's protocol on a special TCP/IP port number. Then connect the DSS Agent directly to the SQL Server database using the SQL Server protocol - TDS.

On Windows, the special TCP/IP port is serviced by a Windows service called DSS Agent Listener.

This connection method gives the best performance, but is the most intrusive.

On Windows, the special TCP/IP port is serviced by a Windows service called DSS Agent Listener.

<div class="callout callout-important">

To use this connection method, the Microsoft ODBC Driver for SQL Server must be installed on the machine from which the DSS Agent will connect to the SQL Server database. For information about the supported ODBC driver versions, refer to the DSS release notes (dss.rel) available in the DSS_HOME directory or the download page.

This connection method is useful when connecting from a Linux hub to avoid an (intrusive) installation of DSS on the machine containing the SQL Server database.

Connecting to Amazon RDS for SQL Server

DSS supports using Amazon RDS for SQL Server as a target, a hub, or for refresh-only workflows. DSS does not support log-based capture from Amazon RDS for SQL Server.

To enable the DSS process to connect to Amazon RDS for SQL Server, you must allow inbound traffic on the database listener port to the system running the DSS process.

If the DSS system connecting to Amazon RDS for SQL Server runs in the same VPC as Amazon RDS for SQL Server, you can use the internal rather than public IP address for the service to allow access. It is recommended to restrict access to only the DSS system that requires access, rather than allowing broader or public access.

The default database listener port that must be opened for a TCP/IP connection is 1433.

The port may have been changed from the default by an administrator.

SQL Server on Linux

DSS supports SQL Server on Linux as source and as target. The following are required for using DSS with SQL Server running on Linux:

Since v6.1.5/8, skip step 2 (create symbolic link) and step 3 (verify dynamic dependencies).

1.  Download and install the latest Microsoft ODBC Driver for SQL Server on Linux. For more information, refer to the Microsoft documentation - [Install the Microsoft ODBC driver for SQL Server (Linux)](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server).

2.  Create a symbolic link (symlink) for the ODBC driver. Following is an example for Microsoft ODBC Driver for SQL Server **libmsodbcsql-17.5.so.1.1**:

    ```plaintext
    ln -s  /opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.5.so.1.1  $DSS_HOME/lib/libmsodbcsql-17.so
    ```

3.  After installing the Microsoft ODBC Driver for SQL Server, it is recommended to verify the dynamic dependencies. For example:

    ```plaintext
    ldd $DSS_HOME/lib/dss_ms17.so
    ```

</details>

Related Articles