You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/linux/includes/cluster-pacemaker-concepts.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
---
2
2
author: rwestMSFT
3
3
ms.author: randolphwest
4
-
ms.date: 09/14/2023
4
+
ms.date: 01/21/2025
5
5
ms.service: sql
6
6
ms.subservice: linux
7
7
ms.topic: include
8
8
ms.custom:
9
9
- linux-related-content
10
10
---
11
-
## <aid="pacemakerNotify"></a> Understand SQL Server resource agent for Pacemaker
11
+
<aid="pacemakerNotify"></a>
12
+
13
+
## Understand SQL Server resource agent for Pacemaker
12
14
13
15
[!INCLUDE [sssql17-md](../../includes/sssql17-md.md)] introduced `sequence_number` to `sys.availability_groups` to show if a replica marked as `SYNCHRONOUS_COMMIT` was up to date. `sequence_number` is a monotonically increasing BIGINT that represents how up-to-date the local availability group replica is with respect to the rest of the replicas in the availability group. Performing failovers, adding or removing replicas, and other availability group operations update this number. The number is updated on the primary, then pushed to secondary replicas. Thus a secondary replica that is up-to-date has the same `sequence_number` as the primary.
Copy file name to clipboardExpand all lines: docs/linux/new-to-linux-resources.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,10 @@
1
1
---
2
-
title: New to linux resources for SQL users
2
+
title: New to Linux Resources for SQL Users
3
3
titleSuffix: SQL Server
4
4
description: Resources and guidance for SQL Server users who are new to Linux.
5
5
author: rwestMSFT
6
6
ms.author: randolphwest
7
-
ms.reviewer: randolphwest
8
-
ms.date: 03/15/2023
7
+
ms.date: 01/21/2025
9
8
ms.service: sql
10
9
ms.subservice: linux
11
10
ms.topic: conceptual
@@ -18,7 +17,7 @@ ms.custom:
18
17
19
18
This article is intended to provide a learning path through an introduction of Linux concepts. Use the sections in the article as a guided learning path to familiarize yourself with the Linux environment.
20
19
21
-
This is not intended to be a comprehensive list but instead provides the bare minimum you need to help you administer and navigate your [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Linux environment. See the [full list of tutorials](https://www.linux.org/forums/linux-beginner-tutorials.123/) to learn more.
20
+
This isn't intended to be a comprehensive list but instead provides the bare minimum you need to help you administer and navigate your [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Linux environment. See the [full list of tutorials](https://www.linux.org/forums/linux-beginner-tutorials.123/) to learn more.
Copy file name to clipboardExpand all lines: docs/linux/quickstart-install-connect-red-hat.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ titleSuffix: SQL Server
4
4
description: This quickstart shows how to install SQL Server on Red Hat Enterprise Linux (RHEL) and then create and query a database with sqlcmd.
5
5
author: rwestMSFT
6
6
ms.author: randolphwest
7
-
ms.date: 11/18/2024
7
+
ms.date: 01/21/2025
8
8
ms.service: sql
9
9
ms.subservice: linux
10
10
ms.topic: conceptual
@@ -43,7 +43,7 @@ For more information on supported platforms, see [Release notes for SQL Server 2
43
43
44
44
> [!TIP]
45
45
> This tutorial requires user input and an internet connection. If you're interested in the [unattended](sql-server-linux-setup.md#unattended) or [offline](sql-server-linux-setup.md#offline) installation procedures, see [Installation guidance for SQL Server on Linux](sql-server-linux-setup.md).
46
-
If you choose to have a pre-installed [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] VM on RHEL ready to run your production-based workload, then please follow the [best practices](/azure/azure-sql/virtual-machines/windows/performance-guidelines-best-practices-checklist) for creating the SQL Server VM.
46
+
If you choose to have a pre-installed [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] VM on RHEL ready to run your production-based workload, follow the [best practices](/azure/azure-sql/virtual-machines/windows/performance-guidelines-best-practices-checklist) for creating the SQL Server VM.
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-active-directory-authentication.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: This tutorial provides the configuration steps for Active Directory
5
5
author: amitkh-msft
6
6
ms.author: amitkh
7
7
ms.reviewer: vanto, randolphwest
8
-
ms.date: 11/18/2024
8
+
ms.date: 01/21/2025
9
9
ms.service: sql
10
10
ms.subservice: linux
11
11
ms.topic: tutorial
@@ -108,7 +108,7 @@ Configuring Active Directory authentication for [!INCLUDE [ssnoversion-md](../in
108
108
```
109
109
110
110
> [!NOTE]
111
-
> SPNs can take several minutes to propagate through your domain, especially if the domain is large. If you receive the error, `kvno: Server not found in Kerberos database while getting credentials for MSSQLSvc/<fully qualified domain name of host machine>:<tcp port>@CONTOSO.COM`, please wait a few minutes and try again.</br></br> The above commands will only work if the server has been joined to an Active Directory domain, which was covered in the previous section.
111
+
> SPNs can take several minutes to propagate through your domain, especially if the domain is large. If you receive the error, `kvno: Server not found in Kerberos database while getting credentials for MSSQLSvc/<fully qualified domain name of host machine>:<tcp port>@CONTOSO.COM`, wait a few minutes and try again. The previous commands only work if the server has been joined to an Active Directory domain, which was covered in an earlier section.
112
112
113
113
1. Using **[ktpass](/windows-server/administration/windows-commands/ktpass)**, add keytab entries for each SPN using the following commands on a Windows machine Command Prompt:
114
114
@@ -163,14 +163,13 @@ Configuring Active Directory authentication for [!INCLUDE [ssnoversion-md](../in
163
163
sudo systemctl restart mssql-server
164
164
```
165
165
166
-
> [!TIP]
167
-
> Optionally, disable UDP connections to the domain controller to improve performance. In many cases, UDP connections consistently fail when connecting to a domain controller, so you can set config options in `/etc/krb5.conf` to skip UDP calls. Edit `/etc/krb5.conf` and set the following options:
168
-
>
169
-
> ```bash
170
-
> /etc/krb5.conf
171
-
> [libdefaults]
172
-
> udp_preference_limit=0
173
-
>```
166
+
Optionally, you can disable UDP connections to the domain controller to improve performance. In many cases, UDP connections consistently fail when connecting to a domain controller, so you can set config options in `/etc/krb5.conf` to skip UDP calls. Edit `/etc/krb5.conf` and set the following options:
167
+
168
+
```bash
169
+
/etc/krb5.conf
170
+
[libdefaults]
171
+
udp_preference_limit=0
172
+
```
174
173
175
174
At this point, you're ready to use Active Directory-based logins in [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)].
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-active-directory-join-domain.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: This article provides guidance joining a SQL Server Linux host mach
5
5
author: amitkh-msft
6
6
ms.author: amitkh
7
7
ms.reviewer: vanto, randolphwest
8
-
ms.date: 06/27/2024
8
+
ms.date: 01/21/2025
9
9
ms.service: sql
10
10
ms.subservice: linux
11
11
ms.topic: conceptual
@@ -253,7 +253,9 @@ After the basic configuration and connectivity with domain controller is verifie
253
253
- [Option 1: Use an SSSD package](#option1)
254
254
- [Option 2: Use third-party OpenLDAP provider utilities](#option2)
255
255
256
-
### <a id="option1"></a> Option 1: Use SSSD package to join Active Directory domain
256
+
<a id="option1"></a>
257
+
258
+
### Option 1: Use SSSD package to join Active Directory domain
257
259
258
260
This method joins the [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] host to an Active Directory domain using **realmd** and **sssd** packages.
259
261
@@ -309,9 +311,9 @@ Use the following steps to join a [!INCLUDE [ssnoversion-md](../includes/ssnover
309
311
310
312
---
311
313
312
-
2. If the Kerberos client package installation prompts you for a realm name, enter your domain name in uppercase.
314
+
1. If the Kerberos client package installation prompts you for a realm name, enter your domain name in uppercase.
313
315
314
-
3. After you confirm that your DNS is configured properly, join the domain by running the following command. You must authenticate using an Active Directory account that has sufficient privileges in Active Directory to join a new machine to the domain. This command creates a new computer account in Active Directory, creates the `/etc/krb5.keytab` host keytab file, configures the domain in `/etc/sssd/sssd.conf`, and updates `/etc/krb5.conf`.
316
+
1. After you confirm that your DNS is configured properly, join the domain by running the following command. You must authenticate using an Active Directory account that has sufficient privileges in Active Directory to join a new machine to the domain. This command creates a new computer account in Active Directory, creates the `/etc/krb5.keytab` host keytab file, configures the domain in `/etc/sssd/sssd.conf`, and updates `/etc/krb5.conf`.
315
317
316
318
Because of an issue with **realmd**, first set the machine hostname to the FQDN instead of to the machine name. Otherwise, **realmd** might not create all required SPNs for the machine and DNS entries won't automatically update, even if your domain controller supports dynamic DNS updates.
317
319
@@ -339,7 +341,7 @@ Use the following steps to join a [!INCLUDE [ssnoversion-md](../includes/ssnover
339
341
340
342
For more information, see how to [configure SSSD manually](https://access.redhat.com/articles/3023951), and [configure NSS to work with SSSD](https://docs.redhat.com/documentation/red_hat_enterprise_linux/7/html/system-level_authentication_guide/configuring_services#Configuration_Options-NSS_Configuration_Options).
341
343
342
-
4. Verify that you can now gather information about a user from the domain, and that you can acquire a Kerberos ticket as that user. The following example uses **id**, [kinit](https://web.mit.edu/kerberos/krb5-1.12/doc/user/user_commands/kinit.html), and [klist](https://web.mit.edu/kerberos/krb5-1.12/doc/user/user_commands/klist.html) commands for this.
344
+
1. Verify that you can now gather information about a user from the domain, and that you can acquire a Kerberos ticket as that user. The following example uses **id**, [kinit](https://web.mit.edu/kerberos/krb5-1.12/doc/user/user_commands/kinit.html), and [klist](https://web.mit.edu/kerberos/krb5-1.12/doc/user/user_commands/klist.html) commands for this.
343
345
344
346
```bash
345
347
id user@contoso.com
@@ -361,14 +363,16 @@ Use the following steps to join a [!INCLUDE [ssnoversion-md](../includes/ssnover
361
363
362
364
For more information, see the Red Hat documentation for [Discovering and Joining Identity Domains](https://docs.redhat.com/documentation/red_hat_enterprise_linux/7/html/windows_integration_guide/realmd-domain).
363
365
364
-
### <a id="option2"></a> Option 2: Use third-party OpenLDAP provider utilities
366
+
<a id="option2"></a>
367
+
368
+
### Option 2: Use third-party OpenLDAP provider utilities
365
369
366
370
You can use third-party utilities such as [PBIS](https://www.beyondtrust.com/), [VAS](https://www.oneidentity.com/products/one-identity-safeguard-authentication-services), or [Centrify](https://delinea.com/centrify). This article doesn't cover steps for each individual utility. You must first use one of these utilities to join the Linux host for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] to the domain before continuing forward.
367
371
368
372
[!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] doesn't use third-party integrator's code or library for any Active Directory-related queries. [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] always queries Active Directory using OpenLDAP library calls directly in this setup. The third-party integrators are only used to join the Linux host to Active Directory domain, and [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] doesn't have any direct communication with these utilities.
369
373
370
374
> [!IMPORTANT]
371
-
> Please see the recommendations for using the `mssql-conf network.disablesssd` configuration option in the Additional configuration options section of the article [Use Active Directory authentication with SQL Server on Linux](sql-server-linux-active-directory-authentication.md#additionalconfig).
375
+
> See the recommendations for using the `mssql-conf network.disablesssd` configuration option in the Additional configuration options section of the article [Use Active Directory authentication with SQL Server on Linux](sql-server-linux-active-directory-authentication.md#additionalconfig).
372
376
373
377
Verify that your `/etc/krb5.conf` is configured correctly. For most third-party Active Directory providers, this configuration is done automatically. However, check `/etc/krb5.conf` for the following values to prevent any future issues:
0 commit comments