Skip to content

Commit 172bedd

Browse files
committed
Updating the SQL Server Agent article with customer feedback
1 parent c6b945f commit 172bedd

1 file changed

Lines changed: 26 additions & 11 deletions

File tree

‎docs/linux/sql-server-linux-setup-sql-agent.md‎

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,41 @@
11
---
2-
title: Install SQL Server Agent on Linux
3-
description: This article describes how to install the SQL Server Agent on Linux.
4-
author: VanMSFT
2+
title: Configure the SQL Server Agent on Linux
3+
description: This article describes how to enable or install the SQL Server Agent on Linux.
4+
author: VanMSFT
55
ms.author: vanto
6-
ms.date: 02/20/2018
6+
ms.date: 12/05/2019
77
ms.topic: conceptual
88
ms.prod: sql
99
ms.technology: linux
1010
ms.assetid: 77f16adc-e6cb-4a57-82f3-7b9780369868
1111
---
12+
1213
# Install SQL Server Agent on Linux
1314

1415
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-linuxonly](../includes/appliesto-ss-xxxx-xxxx-xxx-md-linuxonly.md)]
1516

16-
The [SQL Server Agent](https://docs.microsoft.com/sql/ssms/agent/sql-server-agent) runs scheduled SQL Server jobs. Starting with SQL Server 2017 CU4, SQL Server Agent is included with the **mssql-server** package and is disabled by default. For information on the features supported for this release of the SQL Server Agent along with version information, see the [Release Notes](sql-server-linux-release-notes.md).
17+
This article describes how to enable or install the SQL Server Agent on Linux.
18+
19+
The [SQL Server Agent](https://docs.microsoft.com/sql/ssms/agent/sql-server-agent) runs scheduled SQL Server jobs. Starting with SQL Server 2017 CU4, SQL Server Agent is included with the **mssql-server** package and is disabled by default. For information on the features supported for this release of the SQL Server Agent along with version information, see the [Release Notes](sql-server-linux-release-notes.md).
20+
21+
## Instructions
22+
23+
Before using the SQL Server Agent on Linux, use the following steps to enable or install it.
1724

18-
Install/Enable the SQL Server Agent:
19-
- [For Versions 2017 CU4 and above, Enable the SQL Server Agent](#EnableAgentAfterCU4)
20-
- [For Versions 2017 CU3 and Below, Install the SQL Server Agent](#InstallAgentBelowCU4)
25+
1. Add your hostname (with and without domain) in the `/etc/hosts` files.
2126

27+
1. Follow the instructions in one of the following sections based on your version of SQL Server:
2228

23-
## <a name="EnableAgentAfterCU4">For Versions 2017 CU4 and above, Enable the SQL Server Agent</a>
29+
| Versions | Instructions |
30+
|---|---|
31+
| SQL Server 2017 CU4 and higher</br>SQL Server 2019 | [Enable the SQL Server Agent](#EnableAgentAfterCU4) |
32+
| SQL Server 2017 CU3 and lower | [Install the SQL Server Agent](#InstallAgentBelowCU4) |
2433

25-
To enable SQL Server Agent, follow the steps below.
34+
## <a id="EnableAgentAfterCU4"></a>Enable the SQL Server Agent
35+
36+
For SQL Server 2019 and SQL Server 2017 CU4 and higher, you only need to enable the SQL Server Agent. You do not need to install a separate package.
37+
38+
To enable SQL Server Agent, follow the steps below.
2639

2740
```bash
2841
sudo /opt/mssql/bin/mssql-conf set sqlagent.enabled true
@@ -32,7 +45,9 @@ sudo systemctl restart mssql-server
3245
> [!NOTE]
3346
> If you are upgrading from 2017 CU3 or below with Agent installed, SQL Server Agent will be enabled automatically and previous Agent packages will be uninstalled.
3447
35-
## <a name="InstallAgentBelowCU4">For Versions 2017 CU3 and Below, Install the SQL Server Agent</a>
48+
## <a name="InstallAgentBelowCU4"></a>Install the SQL Server Agent
49+
50+
For SQL Server 2017 CU3 and earlier, you must install the SQL Server Agent package.
3651

3752
> [!NOTE]
3853
> The install instructions below apply to SQL Server Versions 2017 CU3 and below. Before installing SQL Server Agent, first [install SQL Server](sql-server-linux-setup.md#platforms). This configures the keys and repositories that you use when you install the **mssql-server-agent** package.

0 commit comments

Comments
 (0)