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
@@ -3,7 +3,8 @@ title: Deploy a Pacemaker Cluster for SQL Server on Linux
3
3
description: Learn to deploy a Linux Pacemaker cluster for a SQL Server Always On availability group (AG) or failover cluster instance (FCI).
4
4
author: rwestMSFT
5
5
ms.author: randolphwest
6
-
ms.date: 01/02/2026
6
+
ms.reviewer: atsingh
7
+
ms.date: 01/15/2026
7
8
ms.service: sql
8
9
ms.subservice: linux
9
10
ms.topic: install-set-up-deploy
@@ -52,20 +53,46 @@ Use the following syntax to install the packages that make up the high availabil
52
53
sudo subscription-manager list --available
53
54
```
54
55
55
-
1. Run the following command to associate RHEL high availability with the subscription.
56
+
For **RHEL 10**, use the following command:
56
57
57
58
```bash
58
-
sudo subscription-manager attach --pool=<PoolID>
59
+
sudo subscription-manager repos --list
59
60
```
60
61
61
-
In this example, *PoolId* is the pool ID for the high availability subscription from the previous step.
62
+
From the list of available pools, note the pool ID for the high availability subscription.
63
+
64
+
1. Run the following command to associate RHEL high availability with the subscription. In this example, `<PoolId>` is the pool ID for the high availability subscription from the previous step.
65
+
66
+
```bash
67
+
sudo subscription-manager attach --pool=<PoolID>
68
+
```
62
69
63
70
1. Enable the repository to use the high availability add-on.
In this example, `PMClusterName` is the name you assign to the Pacemaker cluster, and `Nodelist` is the list of node names separated by a space.
204
+
1. Start the cluster on all nodes.
205
+
206
+
```bash
207
+
sudo pcs cluster start --all
208
+
```
209
+
210
+
1. Enable the cluster to start when the computer starts.
211
+
212
+
```bash
213
+
sudo pcs cluster enable --all
214
+
```
215
+
216
+
1. Verify the cluster status.
217
+
218
+
```bash
219
+
sudo pcs status
220
+
```
152
221
153
222
### [SUSE Linux Enterprise Server (SLES)](#tab/sles)
154
223
@@ -168,13 +237,13 @@ The process for creating a Pacemaker cluster is different on SLES than it is on
168
237
169
238
1. Finally, you're prompted to configure an IP address for administration. This IP address is optional, but functions similar to the IP address for a Windows Server failover cluster (WSFC). It creates an IP address in the cluster to be used for connecting to it via HA Web Konsole (HAWK). This configuration is also optional.
170
239
171
-
1. Ensure that the cluster is up and running by issuing:
240
+
1. Ensure that the cluster is up and running.
172
241
173
242
```bash
174
243
sudo crm status
175
244
```
176
245
177
-
1. Change the `hacluster` password with:
246
+
1. Change the `hacluster` password.
178
247
179
248
```bash
180
249
sudo passwd hacluster
@@ -184,21 +253,21 @@ The process for creating a Pacemaker cluster is different on SLES than it is on
184
253
185
254
:::image type="content" source="media/sql-server-linux-deploy-pacemaker-cluster/image2.png" alt-text="Screenshot of hacluster.":::
186
255
187
-
1. On another SLES server that will act as a node of the cluster, run:
256
+
1. On another SLES server that will act as a node of the cluster, run the following command:
188
257
189
258
```bash
190
259
sudo ha-cluster-join
191
260
```
192
261
193
262
1. When prompted, enter the name or IP address of the server that you configured as the first node of the cluster in the previous steps. The server is added as a node to the existing cluster.
194
263
195
-
1. Verify the node was added:
264
+
1. Verify the node was added.
196
265
197
266
```bash
198
267
sudo crm status
199
268
```
200
269
201
-
1. Change the `hacluster` password:
270
+
1. Change the `hacluster` password.
202
271
203
272
```bash
204
273
sudo passwd hacluster
@@ -208,23 +277,57 @@ The process for creating a Pacemaker cluster is different on SLES than it is on
208
277
209
278
### [Ubuntu](#tab/ubuntu)
210
279
211
-
Configuring Ubuntu is similar to RHEL. However, there's one major difference: installing the Pacemaker packages creates a base configuration for the cluster, and enables and starts `pcsd`. If you try to configure the Pacemaker cluster by following the RHEL instructions exactly, you get an error. To fix this problem, perform the following steps:
280
+
Configuring Ubuntu is similar to RHEL. However, there's one major difference: installing the Pacemaker packages creates a base configuration for the cluster, and enables and starts `pcsd`. If you try to configure the Pacemaker cluster by following the RHEL instructions exactly, you get an error. To fix this problem, perform the following steps.
212
281
213
-
1. Remove the default Pacemaker configuration from each node:
282
+
1. Remove the default Pacemaker configuration from each node.
214
283
215
284
```bash
216
285
sudo pcs cluster destroy
217
286
```
218
287
219
288
1. Create the cluster. In this example, `PMClusterName` is the name you assign to the Pacemaker cluster, and `Nodelist` is the list of node names separated by a space.
1. Create the cluster. In this example, `PMClusterName` is the name you assign to the Pacemaker cluster, and `Nodelist` is the list of node names separated by a space.
305
+
306
+
```bash
307
+
sudo pcs cluster setup <PMClusterName Nodelist>
308
+
```
309
+
310
+
1. Start the cluster on all nodes.
311
+
312
+
```bash
313
+
sudo pcs cluster setup <PMClusterName Nodelist>
314
+
```
315
+
316
+
1. Enable the cluster to start when the computer starts.
317
+
318
+
```bash
319
+
sudo pcs cluster enable --all
320
+
```
321
+
322
+
1. Verify the cluster status.
323
+
324
+
```bash
325
+
sudo pcs status
326
+
```
327
+
225
328
---
226
329
227
-
## Install the SQL Server HA and SQL Server Agent packages
330
+
## Install the SQL Server HA
228
331
229
332
Use the following commands to install the SQL Server HA package and [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] Agent, if they aren't installed already. If you install the HA package after installing [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)], you must restart [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] for the change to take effect. These instructions assume that the repositories for the Microsoft packages are already set up, since [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] should be installed at this point.
230
333
@@ -235,21 +338,21 @@ Use the following commands to install the SQL Server HA package and [!INCLUDE [s
0 commit comments