Skip to content

Commit ab24b29

Browse files
author
rdeltcheva
committed
Adjustments for RHEL 9.0
1 parent fe85512 commit ab24b29

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

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

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ Read the following SAP Notes and papers first:
7878
> Red Hat doesn't support software-emulated watchdog. Red Hat doesn't support SBD on cloud platforms. For details see [Support Policies for RHEL High Availability Clusters - sbd and fence_sbd](https://access.redhat.com/articles/2800691).
7979
> The only supported fencing mechanism for Pacemaker Red Hat Enterprise Linux clusters on Azure, is Azure fence agent.
8080
81-
The following items are prefixed with either **[A]** - applicable to all nodes, **[1]** - only applicable to node 1 or **[2]** - only applicable to node 2. Differences in the commands or the configuration between RHEL 7 and RHEL 8 and above are marked in the document.
81+
The following items are prefixed with either **[A]** - applicable to all nodes, **[1]** - only applicable to node 1 or **[2]** - only applicable to node 2. Differences in the commands or the configuration between RHEL 7 and RHEL 8/RHEL 9 are marked in the document.
8282

83-
1. **[A]** Register - optional step. This step is not required, if using RHEL SAP HA-enabled images.
83+
1. **[A]** Register - optional step. This step isn't required, if using RHEL SAP HA-enabled images.
8484

8585
For example, if deploying on RHEL 7, register your virtual machine and attach it to a pool that contains repositories for RHEL 7.
8686

@@ -92,7 +92,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
9292

9393
By attaching a pool to an Azure Marketplace PAYG RHEL image, you will be effectively double-billed for your RHEL usage: once for the PAYG image, and once for the RHEL entitlement in the pool you attach. To mitigate this situation, Azure now provides BYOS RHEL images. For more information, see [Red Hat Enterprise Linux bring-your-own-subscription Azure images](../../virtual-machines/workloads/redhat/byos.md).
9494

95-
1. **[A]** Enable RHEL for SAP repos - optional step. This step is not required, if using RHEL SAP HA-enabled images.
95+
1. **[A]** Enable RHEL for SAP repos - optional step. This step isn't required, if using RHEL SAP HA-enabled images.
9696

9797
In order to install the required packages on RHEL 7, enable the following repositories.
9898

@@ -125,11 +125,11 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
125125
126126
> [!IMPORTANT]
127127
> On RHEL 9, we recommend the following package versions (or later) to avoid issues with Azure Fence agent:
128-
> fence-agents-4.10.0-20.el9_0.7
129-
> fence-agents-common-4.10.0-20.el9_0.6
130-
> ha-cloud-support-4.10.0-20.el9_0.6.x86_64.rpm
128+
> fence-agents-4.10.0-20.el9_0.7
129+
> fence-agents-common-4.10.0-20.el9_0.6
130+
> ha-cloud-support-4.10.0-20.el9_0.6.x86_64.rpm
131131
132-
Check the version of the Azure fence agent. If necessary, update it to a version equal to or later than the stated above.
132+
Check the version of the Azure fence agent. If necessary, update it to the minimum required version or later.
133133

134134
<pre><code># Check the version of the Azure Fence Agent
135135
sudo yum info fence-agents-azure-arm
@@ -139,8 +139,9 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
139139
> If you need to update the Azure Fence agent, and if using custom role, make sure to update the custom role to include action **powerOff**. For details see [Create a custom role for the fence agent](#1-create-a-custom-role-for-the-fence-agent).
140140
141141
1. If deploying on RHEL 9, install also the resource agents for cloud deployment:
142-
```sudo yum install -y resource-agents-cloud
143-
```
142+
143+
```sudo yum install -y resource-agents-cloud
144+
```
144145
145146
1. **[A]** Setup host name resolution
146147
@@ -255,7 +256,7 @@ Follow these steps to create a service principal, if not using managed identity.
255256
1. Click New Registration
256257
1. Enter a Name, select "Accounts in this organization directory only"
257258
2. Select Application Type "Web", enter a sign-on URL (for example http:\//localhost) and click Add
258-
The sign-on URL is not used and can be any valid URL
259+
The sign-on URL isn't used and can be any valid URL
259260
1. Select Certificates and Secrets, then click New client secret
260261
1. Enter a description for a new key, select "Never expires" and click Add
261262
1. Make a node the Value. It is used as the **password** for the service principal
@@ -315,14 +316,14 @@ sudo pcs property set stonith-timeout=900
315316

316317
#### [Managed Identity](#tab/msi)
317318

318-
For RHEL **7.X**, use the following command to configure the fence device:
319+
For RHEL **7.x**, use the following command to configure the fence device:
319320
<pre><code>sudo pcs stonith create rsc_st_azure fence_azure_arm <b>msi=true</b> resourceGroup="<b>resource group</b>" \
320321
subscriptionId="<b>subscription id</b>" <b>pcmk_host_map="prod-cl1-0:prod-cl1-0-vm-name;prod-cl1-1:prod-cl1-1-vm-name"</b> \
321322
power_timeout=240 pcmk_reboot_timeout=900 pcmk_monitor_timeout=120 pcmk_monitor_retries=4 pcmk_action_limit=3 pcmk_delay_max=15 \
322323
op monitor interval=3600
323324
</code></pre>
324325

325-
For RHEL **8.X/9.X**, use the following command to configure the fence device:
326+
For RHEL **8.x/9.x**, use the following command to configure the fence device:
326327
<pre><code>sudo pcs stonith create rsc_st_azure fence_azure_arm <b>msi=true</b> resourceGroup="<b>resource group</b>" \
327328
subscriptionId="<b>subscription id</b>" <b>pcmk_host_map="prod-cl1-0:prod-cl1-0-vm-name;prod-cl1-1:prod-cl1-1-vm-name"</b> \
328329
power_timeout=240 pcmk_reboot_timeout=900 pcmk_monitor_timeout=120 pcmk_monitor_retries=4 pcmk_action_limit=3 pcmk_delay_max=15 \
@@ -339,7 +340,7 @@ power_timeout=240 pcmk_reboot_timeout=900 pcmk_monitor_timeout=120 pcmk_monitor_
339340
op monitor interval=3600
340341
</code></pre>
341342

342-
For RHEL **8.X/9.X**, use the following command to configure the fence device:
343+
For RHEL **8.x/9.x**, use the following command to configure the fence device:
343344
<pre><code>sudo pcs stonith create rsc_st_azure fence_azure_arm username="<b>login ID</b>" password="<b>password</b>" \
344345
resourceGroup="<b>resource group</b>" tenantId="<b>tenant ID</b>" subscriptionId="<b>subscription id</b>" \
345346
<b>pcmk_host_map="prod-cl1-0:prod-cl1-0-vm-name;prod-cl1-1:prod-cl1-1-vm-name"</b> \
@@ -356,7 +357,7 @@ If you are using fencing device, based on service principal configuration, read
356357
357358

358359
> [!IMPORTANT]
359-
> The monitoring and fencing operations are de-serialized. As a result, if there is a longer running monitoring operation and simultaneous fencing event, there is no delay to the cluster failover, due to the already running monitoring operation.
360+
> The monitoring and fencing operations are deserialized. As a result, if there is a longer running monitoring operation and simultaneous fencing event, there is no delay to the cluster failover, due to the already running monitoring operation.
360361
361362
### **[1]** Enable the use of a fencing device
362363

@@ -372,7 +373,7 @@ If you are using fencing device, based on service principal configuration, read
372373
> [!TIP]
373374
> This section is only applicable, if it is desired to configure special fencing device `fence_kdump`.
374375
375-
If there is a need to collect diagnostic information within the VM, it may be useful to configure additional fencing device, based on fence agent `fence_kdump`. The `fence_kdump` agent can detect that a node entered kdump crash recovery and can allow the crash recovery service to complete, before other fencing methods are invoked. Note that `fence_kdump` is not a replacement for traditional fence mechanisms, like Azure Fence Agent when using Azure VMs.
376+
If there is a need to collect diagnostic information within the VM, it may be useful to configure additional fencing device, based on fence agent `fence_kdump`. The `fence_kdump` agent can detect that a node entered kdump crash recovery and can allow the crash recovery service to complete, before other fencing methods are invoked. Note that `fence_kdump` isn't a replacement for traditional fence mechanisms, like Azure Fence Agent when using Azure VMs.
376377

377378
> [!IMPORTANT]
378379
> Be aware that when `fence_kdump` is configured as a first level fencing device, it will introduce delays in the fencing operations and respectively delays in the application resources failover.
@@ -386,8 +387,8 @@ The following Red Hat KBs contain important information about configuring `fence
386387

387388
* [How do I configure fence_kdump in a Red Hat Pacemaker cluster](https://access.redhat.com/solutions/2876971)
388389
* [How to configure/manage fencing levels in RHEL cluster with Pacemaker](https://access.redhat.com/solutions/891323)
389-
* [fence_kdump fails with "timeout after X seconds" in a RHEL 6 0r 7 HA cluster with kexec-tools older than 2.0.14](https://access.redhat.com/solutions/2388711)
390-
* For information how to change change the default timeout see [How do I configure kdump for use with the RHEL 6,7,8 HA Add-On](https://access.redhat.com/articles/67570)
390+
* [fence_kdump fails with "timeout after X seconds" in a RHEL 6 or 7 HA cluster with kexec-tools older than 2.0.14](https://access.redhat.com/solutions/2388711)
391+
* For information how to change the default timeout see [How do I configure kdump for use with the RHEL 6,7,8 HA Add-On](https://access.redhat.com/articles/67570)
391392
* For information on how to reduce failover delay, when using `fence_kdump` see [Can I reduce the expected delay of failover when adding fence_kdump configuration](https://access.redhat.com/solutions/5512331)
392393

393394
Execute the following optional steps to add `fence_kdump` as a first level fencing configuration, in addition to the Azure Fence Agent configuration.

0 commit comments

Comments
 (0)