Skip to content

Latest commit

 

History

History
231 lines (142 loc) · 17.4 KB

File metadata and controls

231 lines (142 loc) · 17.4 KB
title Release notes for SQL Server 2022 Preview on Linux
description This article contains the release notes and supported features for SQL Server 2022 Preview running on Linux. Release notes are included for the most recent release and several previous releases.
author rwestMSFT
ms.author randolphwest
ms.date 07/25/2022
ms.topic conceptual
ms.prod sql
ms.technology linux
ms.reviewer amitkh, vanto

Release notes for [!INCLUDEsssql22] on Linux

[!INCLUDEtsql-appliesto-ssver16-xxxx-xxxx-xxx-linuxonly.md]

The following release notes apply to the public community technology preview (CTP) of [!INCLUDEsssql22] running on Linux.

Tip

To learn about new Linux features in [!INCLUDEsssql22], see What's new in SQL Server 2022 Preview.

Supported platforms

Platform File System Installation Guide Get
Red Hat Enterprise Linux 8.0 - 8.5 Server XFS or EXT4 Installation guide Get RHEL 8.0
Ubuntu 20.04 LTS XFS or EXT4 Installation guide Get Ubuntu 20.04
Docker Engine 1.8+ on Linux N/A Installation guide Get Docker

SUSE Linux Enterprise Server (SLES) is not supported for CTP 2.1, and will follow in a later release.

Tip

For more information, review the system requirements for [!INCLUDEssNoVersion] on Linux. For the latest support policy for [!INCLUDEssNoVersion], see the Technical support policy for Microsoft SQL Server.

Tools

Most existing client tools that target SQL Server can seamlessly target SQL Server running on Linux. Some tools might have a specific version requirement to work well with Linux. For a full list of SQL Server tools, see SQL Tools and Utilities for SQL Server.

How to install updates

If you've configured the preview repository (mssql-server-preview), then you'll get the latest public CTP of SQL Server packages when you perform new installations. If you require Docker container images, see official images for Microsoft SQL Server on Linux for Docker Engine.

If you're updating existing SQL Server packages, run the appropriate update command for each package to get the latest public CTP. For specific update instructions for each package, see the following installation guides:

CTP 2.1 (July 2022)

SQL Server 2022 CTP 2.1 (16.0.700.4) Linux packages and containers, as well as Azure Images, will be available soon at their current release locations.

CTP 2.0 (May 2022)

The following section provides package locations and known issues for the first public community technology preview (CTP). To learn more about new features [!INCLUDEsssql22] running on Linux, see the What's new in SQL Server 2022 Preview.

Package details

For manual or offline package installations, you can download the RPM and Debian packages for the latest supported distributions, with the information in the following table.

Important

SUSE Linux Enterprise Server (SLES) is not supported for [!INCLUDEsssql22] on Linux CTP 2.0.

Package Package version Downloads
RHEL 8.x RPM packages 16.0.600.9-2 Database Engine RPM package
High Availability RPM package
Full-Text Search RPM package
Extensibility RPM package
Java Extensibility RPM package
PolyBase RPM package
Ubuntu 20.04 Debian packages 16.0.600.9-2 Database Engine Debian package
High Availability Debian package
Full-Text Search Debian package
Extensibility Debian package
Java Extensibility Debian package
PolyBase Debian Package

Known issues

The following sections describe known issues with the CTP 2.1 release of [!INCLUDEsssql22] on Linux.

General

  • The length of the hostname where [!INCLUDEssNoVersion] is installed needs to be 15 characters or less.

    • Resolution: Change the name in /etc/hostname to something 15 characters long or less.
  • Manually setting the system time backwards in time will cause [!INCLUDEssNoVersion] to stop updating the internal system time within [!INCLUDEssNoVersion].

  • Only single instance installations are supported.

    • Resolution: If you want to have more than one instance on a given host, consider using VMs or Docker containers.
  • [!INCLUDEssNoVersion] Configuration Manager can't connect to [!INCLUDEssNoVersion] on Linux.

  • The default language of the sa login is English.

    • Resolution: Change the language of the sa login with the ALTER LOGIN statement.
  • OLEDB provider logs the following warning: Failed to verify the Authenticode signature of 'C:\binn\msoledbsql.dll'. Signature verification of SQL Server DLLs will be skipped. Genuine copies of SQL Server are signed. Failure to verify the Authenticode signature might indicate that this is not an authentic release of SQL Server. Install a genuine copy of SQL Server or contact customer support.

    • Resolution: No action is required. The OLEDB provider is signed using SHA256. SQL Server Database engine doesn't validate the signed .dll correctly.

Databases

  • The master database can't be moved with the mssql-conf utility. Other system databases can be moved with mssql-conf.

  • When restoring a database that was backed up on [!INCLUDEssNoVersion] on Windows, you must use the WITH MOVE clause in the Transact-SQL statement.

  • Certain algorithms (cipher suites) for Transport Layer Security (TLS) don't work properly with [!INCLUDEssNoVersion] on Linux. This results in connection failures when attempting to connect to [!INCLUDEssNoVersion], and problems establishing connections between replicas in high availability groups.

    • Resolution: Modify the mssql.conf configuration script for [!INCLUDEssNoVersion] on Linux to disable problematic cipher suites, by doing the following:
    1. Add the following to /var/opt/mssql/mssql.conf.

      [network]
      tlsciphers=AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!ECDHE-RSA-AES128-GCM-SHA256:!ECDHE-RSA-AES256-GCM-SHA384:!ECDHE-ECDSA-AES256-GCM-SHA384:!ECDHE-ECDSA-AES128-GCM-SHA256:!ECDHE-ECDSA-AES256-SHA384:!ECDHE-ECDSA-AES128-SHA256:!ECDHE-ECDSA-AES256-SHA:!ECDHE-ECDSA-AES128-SHA:!ECDHE-RSA-AES256-SHA384:!ECDHE-RSA-AES128-SHA256:!ECDHE-RSA-AES256-SHA:!ECDHE-RSA-AES128-SHA:!DHE-RSA-AES256-GCM-SHA384:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES256-SHA:!DHE-RSA-AES128-SHA:!DHE-DSS-AES256-SHA256:!DHE-DSS-AES128-SHA256:!DHE-DSS-AES256-SHA:!DHE-DSS-AES128-SHA:!DHE-DSS-DES-CBC3-SHA:!NULL-SHA256:!NULL-SHA

      [!NOTE]
      In the preceding code, ! negates the expression. This tells OpenSSL to not use the following cipher suite.

    2. Restart [!INCLUDEssNoVersion] with the following command.

      sudo systemctl restart mssql-server
  • [!INCLUDEssSQL14] databases on Windows that use In-memory OLTP can't be restored on [!INCLUDEsssql22] on Linux. To restore a [!INCLUDEssSQL14] database that uses in-memory OLTP, first upgrade the databases to [!INCLUDEsssql16-md], [!INCLUDEsssql17-md], [!INCLUDEsssql19-md], or [!INCLUDEsssql22-md] on Windows before moving them to [!INCLUDEssNoVersion] on Linux, via backup/restore or detach/attach.

  • User permission ADMINISTER BULK OPERATIONS is not supported on Linux at this time.

Networking

Features that involve outbound TCP connections from the sqlservr process, such as linked servers, PolyBase, or availability groups, might not work if both the following conditions are met:

  1. The target server is specified as a hostname and not an IP address.

  2. The source instance has IPv6 disabled in the kernel. To verify if your system has IPv6 enabled in the kernel, all the following tests must pass:

    • cat /proc/cmdline will print the boot cmdline of the current kernel. The output must not contain ipv6.disable=1.
    • The /proc/sys/net/ipv6/ directory must exist.
    • A C program that calls socket(AF_INET6, SOCK_STREAM, IPPROTO_IP) should succeed - the syscall must return an fd != -1 and not fail with EAFNOSUPPORT.

The exact error depends on the feature. For linked servers, this manifests as a login timeout error. For availability groups, the ALTER AVAILABILITY GROUP JOIN DDL on the secondary will fail after 5 minutes with a download configuration timeout error.

To work around this issue, do one of the following:

  1. Use IPs instead of host names to specify the target of the TCP connection.

  2. Enable IPv6 in the kernel by removing ipv6.disable=1 from the boot command line. The way to do this depends on the Linux distribution and the bootloader, such as grub. If you want IPv6 to be disabled, you can still disable it by setting net.ipv6.conf.all.disable_ipv6 = 1 in the sysctl configuration (for example, /etc/sysctl.conf). This will still prevent the system's network adapter from getting an IPv6 address, but allow the sqlservr features to work.

Network File System (NFS)

If you use Network File System (NFS) remote shares in production, note the following support requirements:

  • Use NFS version 4.2 or higher. Older versions of NFS don't support required features, such as fallocate and sparse file creation, common to modern file systems.

  • Locate only the /var/opt/mssql directories on the NFS mount. Other files, such as the [!INCLUDEssNoVersion] system binaries, aren't supported.

  • Ensure that NFS clients use the nolock option when mounting the remote share.

Localization

  • If your locale isn't English (en_us) during setup, you must use UTF-8 encoding in your bash session/terminal. If you use ASCII encoding, you might see an error similar to the following:

    UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 8: ordinal not in range(128)
    

    If you can't use UTF-8 encoding, run setup using the MSSQL_LCID environment variable to specify your language choice.

    sudo MSSQL_LCID=<LcidValue> /opt/mssql/bin/mssql-conf setup
  • When running mssql-conf setup, and performing a non-English installation of [!INCLUDEssNoVersion], incorrect extended characters are displayed after the localized text, "Configuring SQL Server...". Or, for non-Latin based installations, the sentence might be missing completely. The missing sentence should display the following localized string:

    The licensing PID was successfully processed. The new edition is [<Name> edition].

    This string is output for information purposes only, and the next [!INCLUDEssNoVersion] Cumulative Update will address this for all languages. This doesn't affect the successful installation of [!INCLUDEssNoVersion] in any way.

Full-Text Search

Not all filters are available with this release, including filters for Microsoft Office documents. For a list of supported filters, see Install SQL Server Full-Text Search on Linux.

SQL Server Integration Services (SSIS)

The mssql-server-is package isn't supported on SUSE in this release. It's currently supported on Ubuntu and on Red Hat Enterprise Linux (RHEL).

[!INCLUDEssISnoversion] packages can use ODBC connections on Linux. This functionality has been tested with the [!INCLUDEssNoVersion] and the MySQL ODBC drivers, but is also expected to work with any Unicode ODBC driver that observes the ODBC specification. At design time, you can provide either a DSN or a connection string to connect to the ODBC data; you can also use Windows authentication. For more info, see the blog post announcing ODBC support on Linux.

The following features aren't supported in this release when you run SSIS packages on Linux:

  • [!INCLUDEssISnoversion] Catalog database
  • Scheduled package execution by SQL Agent
  • Windows Authentication
  • Third-party components
  • Change Data Capture (CDC)
  • [!INCLUDEssISnoversion] Scale Out
  • Azure Feature Pack for SSIS
  • Hadoop and HDFS support
  • Microsoft Connector for SAP BW

For a list of built-in SSIS components that aren't currently supported, or that are supported with limitations, see Limitations and known issues for SSIS on Linux.

For more info about SSIS on Linux, see the following articles:

SQL Server Management Studio (SSMS)

The following limitations apply to [!INCLUDEssManStudioFull] on Windows connected to [!INCLUDEssNoVersion] on Linux.

  • Maintenance plans aren't supported.

  • Management Data Warehouse (MDW) and the data collector in [!INCLUDEssManStudioFull] aren't supported.

  • [!INCLUDEssManStudioFull] UI components that have Windows Authentication or Windows event log options don't work with Linux. You can still use these features with other options, such as SQL logins.

  • Number of log files to retain can't be modified.

Next steps

To get started, see the following quickstarts:

For answers to frequently asked questions, see the SQL Server on Linux FAQ.