Skip to content

Commit 139b69f

Browse files
Merge pull request #312544 from dennispadia/dp-redhat-pacemaker
RHEL 10 related command changes
2 parents a1cefc5 + b5b578a commit 139b69f

1 file changed

Lines changed: 20 additions & 6 deletions

File tree

articles/sap/workloads/high-availability-guide-rhel-pacemaker.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: juergent
77
ms.service: sap-on-azure
88
ms.topic: article
99
ms.tgt_pltfrm: vm-linux
10-
ms.date: 01/29/2026
10+
ms.date: 03/03/2026
1111
ms.author: radeltch
1212
ms.custom:
1313
- linux-related-content
@@ -512,7 +512,7 @@ foreach ($vmName in $vmNames) {
512512
sudo vi /etc/sysconfig/sbd
513513
```
514514
515-
2. Change the property of the SBD device, enable the pacemaker integration, change the start mode of SBD, and adjust SBD_DELAY_START value.
515+
2. Change the property of the SBD device, enable the pacemaker integration, change the start mode of SBD, and adjust SBD_DELAY_START value.
516516
517517
```bash
518518
[...]
@@ -563,7 +563,7 @@ The fencing device uses either a managed identity for Azure resource or a servic
563563
564564
#### [Managed identity](#tab/msi)
565565
566-
To create a managed identity (MSI), [create a system-assigned](/entra/identity/managed-identities-azure-resources/how-to-configure-managed-identities?pivots=qs-configure-portal-windows-vm#system-assigned-managed-identity) managed identity for each VM in the cluster. If a system-assigned managed identity already exists, then it would be used. Don't use user-assigned managed identities with Pacemaker at this time. A fence device, based on managed identity, is supported on RHEL 7.9 and RHEL 8.x/RHEL 9.x.
566+
To create a managed identity (MSI), [create a system-assigned](/entra/identity/managed-identities-azure-resources/how-to-configure-managed-identities?pivots=qs-configure-portal-windows-vm#system-assigned-managed-identity) managed identity for each VM in the cluster. If a system-assigned managed identity already exists, then it would be used. Don't use user-assigned managed identities with Pacemaker at this time. A fence device, based on managed identity, is supported on RHEL 7.9 and RHEL 8.x/RHEL 9.x/RHEL 10.x.
567567

568568
#### [Service principal](#tab/spn)
569569

@@ -732,7 +732,7 @@ Differences in the commands or the configuration between RHEL 7 and RHEL 8/RHEL
732732
sudo pcs cluster start --all
733733
```
734734
735-
If you're building a cluster on **RHEL 8.x/RHEL 9.x**, use the following commands:
735+
If you're building a cluster on **RHEL 8.x/RHEL 9.x/RHEL 10.x**, use the following commands:
736736

737737
```bash
738738
sudo pcs host auth prod-cl1-0 prod-cl1-1 -u hacluster
@@ -855,22 +855,25 @@ Based on the selected fencing mechanism, follow only one section for relevant in
855855
sudo pcs stonith create rsc_st_azure fence_azure_arm msi=true resourceGroup="resource group" \
856856
subscriptionId="subscription id" pcmk_host_map="prod-cl1-0:prod-cl1-0-vm-name;prod-cl1-1:prod-cl1-1-vm-name" \
857857
power_timeout=240 pcmk_reboot_timeout=900 pcmk_monitor_timeout=120 pcmk_monitor_retries=4 pcmk_action_limit=3 pcmk_delay_max=15 \
858+
meta failure-timeout=120s \
858859
op monitor interval=3600
859860
```
860861

861-
For RHEL **8.x/9.x**, use the following command to configure the fence device:
862+
For RHEL **8.x/9.x/10.x**, use the following command to configure the fence device:
862863

863864
```bash
864865
# Run following command if you are setting up fence agent on (two-node cluster and pacemaker version greater than 2.0.4-6.el8) OR (HANA scale out)
865866
sudo pcs stonith create rsc_st_azure fence_azure_arm msi=true resourceGroup="resource group" \
866867
subscriptionId="subscription id" pcmk_host_map="prod-cl1-0:prod-cl1-0-vm-name;prod-cl1-1:prod-cl1-1-vm-name" \
867868
power_timeout=240 pcmk_reboot_timeout=900 pcmk_monitor_timeout=120 pcmk_monitor_retries=4 pcmk_action_limit=3 \
869+
meta failure-timeout=120s \
868870
op monitor interval=3600
869871
870872
# Run following command if you are setting up fence agent on (two-node cluster and pacemaker version less than 2.0.4-6.el8)
871873
sudo pcs stonith create rsc_st_azure fence_azure_arm msi=true resourceGroup="resource group" \
872874
subscriptionId="subscription id" pcmk_host_map="prod-cl1-0:prod-cl1-0-vm-name;prod-cl1-1:prod-cl1-1-vm-name" \
873875
power_timeout=240 pcmk_reboot_timeout=900 pcmk_monitor_timeout=120 pcmk_monitor_retries=4 pcmk_action_limit=3 pcmk_delay_max=15 \
876+
meta failure-timeout=120s \
874877
op monitor interval=3600
875878
```
876879

@@ -883,24 +886,27 @@ Based on the selected fencing mechanism, follow only one section for relevant in
883886
resourceGroup="resource group" tenantId="tenant ID" subscriptionId="subscription id" \
884887
pcmk_host_map="prod-cl1-0:prod-cl1-0-vm-name;prod-cl1-1:prod-cl1-1-vm-name" \
885888
power_timeout=240 pcmk_reboot_timeout=900 pcmk_monitor_timeout=120 pcmk_monitor_retries=4 pcmk_action_limit=3 pcmk_delay_max=15 \
889+
meta failure-timeout=120s \
886890
op monitor interval=3600
887891
```
888892

889-
For RHEL **8.x/9.x**, use the following command to configure the fence device:
893+
For RHEL **8.x/9.x/10.x**, use the following command to configure the fence device:
890894

891895
```bash
892896
# Run following command if you are setting up fence agent on (two-node cluster and pacemaker version greater than 2.0.4-6.el8) OR (HANA scale out)
893897
sudo pcs stonith create rsc_st_azure fence_azure_arm username="login ID" password="password" \
894898
resourceGroup="resource group" tenantId="tenant ID" subscriptionId="subscription id" \
895899
pcmk_host_map="prod-cl1-0:prod-cl1-0-vm-name;prod-cl1-1:prod-cl1-1-vm-name" \
896900
power_timeout=240 pcmk_reboot_timeout=900 pcmk_monitor_timeout=120 pcmk_monitor_retries=4 pcmk_action_limit=3 \
901+
meta failure-timeout=120s \
897902
op monitor interval=3600
898903
899904
# Run following command if you are setting up fence agent on (two-node cluster and pacemaker version less than 2.0.4-6.el8)
900905
sudo pcs stonith create rsc_st_azure fence_azure_arm username="login ID" password="password" \
901906
resourceGroup="resource group" tenantId="tenant ID" subscriptionId="subscription id" \
902907
pcmk_host_map="prod-cl1-0:prod-cl1-0-vm-name;prod-cl1-1:prod-cl1-1-vm-name" \
903908
power_timeout=240 pcmk_reboot_timeout=900 pcmk_monitor_timeout=120 pcmk_monitor_retries=4 pcmk_action_limit=3 pcmk_delay_max=15 \
909+
meta failure-timeout=120s \
904910
op monitor interval=3600
905911
```
906912

@@ -949,9 +955,14 @@ The `#heath-azure` attribute is set back to `0` on pacemaker startup once all ev
949955
```bash
950956
sudo pcs property set node-health-strategy=custom
951957
958+
# For RHEL 8.x/9.x
952959
sudo pcs constraint location 'regexp%!health-.*' \
953960
rule score-attribute='#health-azure' \
954961
defined '#uname'
962+
# For RHEL 10.x
963+
sudo pcs constraint location 'regexp%!health-.*' \
964+
rule score-attribute='#health-azure' \
965+
"defined #uname"
955966
```
956967
957968
> [!IMPORTANT]
@@ -974,7 +985,10 @@ The `#heath-azure` attribute is set back to `0` on pacemaker startup once all ev
974985
op monitor interval=10s timeout=240s \
975986
op start timeout=10s start-delay=90s
976987
988+
# For RHEL 8.x/9.x
977989
sudo pcs resource clone health-azure-events allow-unhealthy-nodes=true
990+
# For RHEL 10.x
991+
sudo pcs resource clone health-azure-events meta allow-unhealthy-nodes=true
978992
```
979993

980994
6. Take the Pacemaker cluster out of maintenance mode.

0 commit comments

Comments
 (0)