Skip to content

Commit abd95be

Browse files
committed
Minor changes
1 parent 10e4966 commit abd95be

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

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

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.author: radeltch
1616

1717
This article describes how to configure a basic Pacemaker cluster on Red Hat Enterprise Server (RHEL). The instructions cover RHEL 7, RHEL 8, and RHEL 9.
1818

19-
## References
19+
## Pre-requisites
2020

2121
Read the following SAP Notes and articles first:
2222

@@ -523,7 +523,7 @@ foreach ($vmName in $vmNames) {
523523
modprobe softdog
524524
```
525525
526-
7. **[A]** Run the following command to ensure `softdog` is automatically loaded after a node reboot.
526+
7. **[A]** Run the following command to ensure `softdog` is automatically loaded after a node reboot.
527527
528528
```bash
529529
echo softdog > /etc/modules-load.d/watchdog.conf
@@ -545,7 +545,7 @@ foreach ($vmName in $vmNames) {
545545
# JobTimeoutAction=none
546546
```
547547
548-
## Create a fencing device
548+
## Azure fence agent configuration
549549
550550
The fencing device uses either a managed identity for Azure resource or a service principal to authorize against Azure. Depending on the identity management method, follow the appropriate procedures -
551551
@@ -667,7 +667,7 @@ Differences in the commands or the configuration between RHEL 7 and RHEL 8/RHEL
667667
```
668668

669669
> [!IMPORTANT]
670-
> If you need to update the Azure fence agent, and if you're using a custom role, make sure to update the custom role to include the action **powerOff**. For more information, see [Create a custom role for the fence agent](#create-a-custom-role-for-the-fence-agent).
670+
> If you need to update the Azure fence agent, and if you're using a custom role, make sure to update the custom role to include the action **powerOff**. For more information, see [Create a custom role for the fence agent](#azure-fence-agent-configuration).
671671
672672
4. **[A]** Set up hostname resolution.
673673
@@ -788,7 +788,7 @@ Differences in the commands or the configuration between RHEL 7 and RHEL 8/RHEL
788788
> * The property `priority-fencing-delay` is applicable for Pacemaker version 2.0.4-6.el8 or higher and on a two-node cluster. If you configure the `priority-fencing-delay` cluster property, you don't need to set the `pcmk_delay_max` property. But if the Pacemaker version is less than 2.0.4-6.el8, you need to set the `pcmk_delay_max` property.
789789
> * For instructions on how to set the `priority-fencing-delay` cluster property, see the respective SAP ASCS/ERS and SAP HANA scale-up HA documents.
790790
791-
Based on the selected fencing mechanism, follow to the relevant instructions: [SBD as fencing device](#sbd-as-fencing-device) or [Azure fence agent as fencing device](#azure-fence-agent-as-fencing-device).
791+
Based on the selected fencing mechanism, follow relevant instructions: [SBD as fencing device](#sbd-as-fencing-device) or [Azure fence agent as fencing device](#azure-fence-agent-as-fencing-device).
792792
793793
#### SBD as fencing device
794794
@@ -929,16 +929,18 @@ When the cluster health attribute is set for a node, the location constraint tri
929929
* RHEL 9.0: `resource-agents-cloud-4.10.0-9.6`
930930
* RHEL 9.2 and newer: `resource-agents-cloud-4.10.0-34.1`
931931
932-
1. **[1]** Configure the resources in Pacemaker.
932+
2. **[1]** Configure the resources in Pacemaker.
933933
934934
```bash
935935
#Place the cluster in maintenance mode
936936
sudo pcs property set maintenance-mode=true
937+
```
937938
938-
1. **[1]** Set the Pacemaker cluster health-node strategy and constraint.
939+
3. **[1]** Set the Pacemaker cluster health-node strategy and constraint.
939940
940941
```bash
941942
sudo pcs property set node-health-strategy=custom
943+
942944
sudo pcs constraint location 'regexp%!health-.*' \
943945
rule score-attribute='#health-azure' \
944946
defined '#uname'
@@ -948,14 +950,14 @@ When the cluster health attribute is set for a node, the location constraint tri
948950
>
949951
> Don't define any other resources in the cluster starting with `health-` besides the resources described in the next steps.
950952
951-
1. **[1]** Set the initial value of the cluster attributes. Run for each cluster node and for scale-out environments including majority maker VM.
953+
4. **[1]** Set the initial value of the cluster attributes. Run for each cluster node and for scale-out environments including majority maker VM.
952954
953955
```bash
954956
sudo crm_attribute --node prod-cl1-0 --name '#health-azure' --update 0
955957
sudo crm_attribute --node prod-cl1-1 --name '#health-azure' --update 0
956958
```
957959

958-
1. **[1]** Configure the resources in Pacemaker. Make sure the resources start with `health-azure`.
960+
5. **[1]** Configure the resources in Pacemaker. Make sure the resources start with `health-azure`.
959961

960962
```bash
961963
sudo pcs resource create health-azure-events \
@@ -966,13 +968,13 @@ When the cluster health attribute is set for a node, the location constraint tri
966968
sudo pcs resource clone health-azure-events allow-unhealthy-nodes=true failure-timeout=120s
967969
```
968970

969-
1. Take the Pacemaker cluster out of maintenance mode.
971+
6. Take the Pacemaker cluster out of maintenance mode.
970972

971973
```bash
972974
sudo pcs property set maintenance-mode=false
973975
```
974976

975-
1. Clear any errors during enablement and verify that the `health-azure-events` resources have started successfully on all cluster nodes.
977+
7. Clear any errors during enablement and verify that the `health-azure-events` resources have started successfully on all cluster nodes.
976978

977979
```bash
978980
sudo pcs resource cleanup

0 commit comments

Comments
 (0)