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/sql-server-linux-deploy-pacemaker-cluster.md
+92-54Lines changed: 92 additions & 54 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -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,36 +53,42 @@ 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
-
For RHEL 10, the list command is as follows
56
-
```bash
56
+
For **RHEL 10**, use the following command:
57
+
58
+
```bash
57
59
sudo subscription-manager repos --list
58
60
```
59
61
60
-
From the list of available pools, note the pool ID for the high availability subscription.
62
+
From the list of available pools, note the pool ID for the high availability subscription.
61
63
62
-
1. Run the following command to associate RHEL high availability with the subscription.
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.
63
65
64
66
```bash
65
67
sudo subscription-manager attach --pool=<PoolID>
66
68
```
67
69
68
-
In this example, *PoolId* is the pool ID for the high availability subscription from the previous step.
69
-
70
70
1. Enable the repository to use the high availability add-on.
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
+
```
187
221
188
222
### [SUSE Linux Enterprise Server (SLES)](#tab/sles)
189
223
@@ -203,13 +237,13 @@ The process for creating a Pacemaker cluster is different on SLES than it is on
203
237
204
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.
205
239
206
-
1. Ensure that the cluster is up and running by issuing:
240
+
1. Ensure that the cluster is up and running.
207
241
208
242
```bash
209
243
sudo crm status
210
244
```
211
245
212
-
1. Change the `hacluster` password with:
246
+
1. Change the `hacluster` password.
213
247
214
248
```bash
215
249
sudo passwd hacluster
@@ -219,21 +253,21 @@ The process for creating a Pacemaker cluster is different on SLES than it is on
219
253
220
254
:::image type="content" source="media/sql-server-linux-deploy-pacemaker-cluster/image2.png" alt-text="Screenshot of hacluster.":::
221
255
222
-
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:
223
257
224
258
```bash
225
259
sudo ha-cluster-join
226
260
```
227
261
228
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.
229
263
230
-
1. Verify the node was added:
264
+
1. Verify the node was added.
231
265
232
266
```bash
233
267
sudo crm status
234
268
```
235
269
236
-
1. Change the `hacluster` password:
270
+
1. Change the `hacluster` password.
237
271
238
272
```bash
239
273
sudo passwd hacluster
@@ -243,50 +277,53 @@ The process for creating a Pacemaker cluster is different on SLES than it is on
243
277
244
278
### [Ubuntu](#tab/ubuntu)
245
279
246
-
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.
247
281
248
-
1. Remove the default Pacemaker configuration from each node:
282
+
1. Remove the default Pacemaker configuration from each node.
249
283
250
284
```bash
251
285
sudo pcs cluster destroy
252
286
```
253
287
254
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
272
307
sudo pcs cluster setup <PMClusterName Nodelist>
273
308
```
274
-
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.
275
309
276
-
3. Start cluster on all nodes
277
-
```bash
310
+
1. Start the cluster on all nodes.
311
+
312
+
```bash
278
313
sudo pcs cluster setup <PMClusterName Nodelist>
279
314
```
280
315
281
-
4. Enable cluster to start on boot
282
-
```bash
283
-
sudo pcs cluster enable --all
284
-
```
316
+
1. Enable the cluster to start when the computer starts.
0 commit comments