Skip to content

Commit 8d70bd6

Browse files
committed
changes
1 parent 9dcf5b7 commit 8d70bd6

2 files changed

Lines changed: 23 additions & 5 deletions

File tree

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

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,14 +1009,20 @@ Make sure to assign the custom role to the service principal at all VM (cluster
10091009
10101010
#### [Managed identity](#tab/msi)
10111011
1012+
##### [Non Scale-Out](#tab/non-scalout)
1013+
10121014
```bash
10131015
# Adjust the command with your subscription ID and resource group of the VM
10141016
sudo crm configure primitive rsc_st_azure stonith:fence_azure_arm \
10151017
params msi=true subscriptionId="subscription ID" resourceGroup="resource group" \
10161018
pcmk_monitor_retries=4 pcmk_action_limit=3 power_timeout=240 pcmk_reboot_timeout=900 pcmk_delay_max=15 pcmk_host_map="prod-cl1-0:prod-cl1-0-vm-name;prod-cl1-1:prod-cl1-1-vm-name" \
10171019
meta failure-timeout=120s \
10181020
op monitor interval=3600 timeout=120
1019-
1021+
```
1022+
1023+
##### [Scale-Out](#tab/scalout)
1024+
1025+
```bash
10201026
# For SAP HANA scale-out only, configure fence_azure_arm using following command
10211027
sudo crm configure primitive rsc_st_azure stonith:fence_azure_arm \
10221028
params msi=true subscriptionId="subscription ID" resourceGroup="resource group" \
@@ -1025,16 +1031,24 @@ Make sure to assign the custom role to the service principal at all VM (cluster
10251031
op monitor interval=3600 timeout=120
10261032
```
10271033
1034+
---
1035+
10281036
#### [Service principal](#tab/spn)
10291037
1038+
##### [Non Scale-Out](#tab/non-scalout)
1039+
10301040
```bash
10311041
# Adjust the command with your subscription ID, resource group of the VM, tenant ID, service principal application ID and password
10321042
sudo crm configure primitive rsc_st_azure stonith:fence_azure_arm \
10331043
params subscriptionId="subscription ID" resourceGroup="resource group" tenantId="tenant ID" login="application ID" passwd="password" \
10341044
pcmk_monitor_retries=4 pcmk_action_limit=3 power_timeout=240 pcmk_reboot_timeout=900 pcmk_delay_max=15 pcmk_host_map="prod-cl1-0:prod-cl1-0-vm-name;prod-cl1-1:prod-cl1-1-vm-name" \
10351045
meta failure-timeout=120s \
10361046
op monitor interval=3600 timeout=120
1047+
```
1048+
1049+
##### [Scale-Out](#tab/scalout)
10371050
1051+
```bash
10381052
# For SAP HANA scale-out only, configure fence_azure_arm using following command
10391053
sudo crm configure primitive rsc_st_azure stonith:fence_azure_arm \
10401054
params subscriptionId="subscription ID" resourceGroup="resource group" tenantId="tenant ID" login="application ID" passwd="password" \
@@ -1045,6 +1059,8 @@ Make sure to assign the custom role to the service principal at all VM (cluster
10451059
10461060
---
10471061
1062+
---
1063+
10481064
```bash
10491065
sudo crm configure property stonith-enabled=true
10501066
sudo crm configure property concurrent-fencing=true

articles/sap/workloads/sap-hana-high-availability-scale-out-hsr-suse.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -524,13 +524,15 @@ Set up the disk layout with **Logical Volume Manager (LVM)**. The following exa
524524
525525
Follow the steps in [Setting up Pacemaker on SUSE Linux Enterprise Server in Azure](high-availability-guide-suse-pacemaker.md) to create the base Pacemaker cluster for HANA scale-out. Ensure that all virtual machines, including the majority maker, are added to the cluster.
526526
527-
### Cluster specific considerations for HANA scale-out
527+
Few details to consider when setting up basic pacemaker cluster for HANA scale-out.
528528
529529
* Don't set `quorum expected-votes` to 2, as this isn't a two node cluster.
530530
* Set the cluster property `concurrent-fencing=true` to enable deserialized node fencing.
531531
532-
### Additional configuration steps
533-
532+
```bash
533+
sudo crm configure property concurrent-fencing=true
534+
```
535+
534536
After the base Pacemaker cluster is configured, complete the following additional steps.
535537

536538
1. Configure a delayed start for pacemaker.service at boot by creating the file /etc/systemd/system/pacemaker.timer with the following content:
@@ -1296,8 +1298,8 @@ With susChkSrv implemented, an immediate and configurable action is executed. Th
12961298
---
12971299
12981300
> [!NOTE]
1299-
>
13001301
> The timeouts in the above configuration are just examples and may need to be adapted to the specific HANA setup. For instance, you may need to increase the start timeout, if it takes longer to start the SAP HANA database.
1302+
>
13011303
> With ON_FAIL_ACTION=fence on SAPHanaController or SAPHanaFilesystem, you must configure SAPHanaSR-alert-fencing. For more details, see the manual page "man SAPHanaSR-alert-fencing".
13021304
13031305
## Test SAP HANA failover

0 commit comments

Comments
 (0)