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
The article describes how to configure basic Pacemaker cluster on Red Hat Enterprise Server(RHEL). The instructions cover both RHEL 7and RHEL 8.
39
+
The article describes how to configure basic Pacemaker cluster on Red Hat Enterprise Server(RHEL). The instructions cover RHEL 7, RHEL 8 and RHEL 9.
40
40
41
41
## Prerequisites
42
42
Read the following SAP Notes and papers first:
@@ -78,11 +78,11 @@ Read the following SAP Notes and papers first:
78
78
> 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).
79
79
> The only supported fencing mechanism for Pacemaker Red Hat Enterprise Linux clusters on Azure, is Azure fence agent.
80
80
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 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 and above are marked in the document.
82
82
83
83
1.**[A]** Register - optional step. This step is not required, if using RHEL SAP HA-enabled images.
84
84
85
-
Register your virtual machines and attach it to a pool that contains repositories for RHEL 7.
85
+
For example, if deploying on RHEL 7, register your virtual machine and attach it to a pool that contains repositories for RHEL 7.
86
86
87
87
<pre><code>sudo subscription-manager register
88
88
# List the available pools
@@ -105,9 +105,9 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
> We recommend the following versions of Azure Fence agent (or later) for customers to benefit from a faster failover time, if a resource stop fails or the cluster nodes cannot communicate which each other anymore:
113
113
> RHEL 7.7 or higher use the latest available version of fence-agents package
@@ -123,6 +123,12 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
123
123
> RHEL 8.1: fence-agents-4.2.1-30.el8_1.4
124
124
> RHEL 7.9: fence-agents-4.2.1-41.el7_9.4.
125
125
126
+
> [!IMPORTANT]
127
+
> 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
131
+
126
132
Check the version of the Azure fence agent. If necessary, update it to a version equal to or later than the stated above.
127
133
128
134
<pre><code># Check the version of the Azure Fence Agent
@@ -132,6 +138,10 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
132
138
> [!IMPORTANT]
133
139
> 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).
134
140
141
+
1. If deploying on RHEL 9, install also the resource agents for cloud deployment:
142
+
```sudo yum install -y resource-agents-cloud
143
+
```
144
+
135
145
1.**[A]** Setup host name resolution
136
146
137
147
You can either use a DNS server or modify the /etc/hosts on all nodes. This example shows how to use the /etc/hosts file.
@@ -183,7 +193,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
183
193
sudo pcs cluster start --all
184
194
</code></pre>
185
195
186
-
If building a cluster on **RHEL 8.x**, use the following commands:
196
+
If building a cluster on **RHEL 8.x/RHEL 9.x**, use the following commands:
@@ -233,7 +243,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
233
243
The fencing device uses either a managed identity for Azure resource or service principal to authorize against Microsoft Azure.
234
244
235
245
### Using Managed Identity
236
-
To create a managed identity (MSI), [create a system-assigned](../../active-directory/managed-identities-azure-resources/qs-configure-portal-windows-vm.md#system-assigned-managed-identity) managed identity for each VM in the cluster. Should a system-assigned managed identity already exist, it will be used. User assigned managed identities should not be used with Pacemaker at this time. Fence device, based on managed identity is supported on RHEL 7.9 and RHEL 8.x.
246
+
To create a managed identity (MSI), [create a system-assigned](../../active-directory/managed-identities-azure-resources/qs-configure-portal-windows-vm.md#system-assigned-managed-identity) managed identity for each VM in the cluster. Should a system-assigned managed identity already exist, it will be used. User assigned managed identities should not be used with Pacemaker at this time. Fence device, based on managed identity is supported on RHEL 7.9 and RHEL 8.x/RHEL 9.
237
247
238
248
### Using Service Principal
239
249
Follow these steps to create a service principal, if not using managed identity.
0 commit comments