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
# GlusterFS on Azure VMs on Red Hat Enterprise Linux for SAP NetWeaver
19
19
20
-
[dbms-guide]:dbms-guide-general.md
21
-
[deployment-guide]:deployment-guide.md
22
-
[planning-guide]:planning-guide.md
20
+
This article describes how to deploy the virtual machines (VMs), configure the VMs, and install a GlusterFS cluster. The GlusterFS cluster is used to store the shared data of a highly available SAP system. This guide describes how to set up GlusterFS that is used by two SAP systems, NW1 and NW2. The names of the resources (for example VMs, virtual networks) in the example, assumes that you used the [SAP file server template][template-file-server] with resource prefix `glust`.
As documented in [Red Hat Gluster Storage Life Cycle](https://access.redhat.com/support/policy/updates/rhs), Red Hat Gluster Storage reaches end of life at the end of 2024. The configuration is supported for SAP on Azure until it reaches end of life stage. GlusterFS shouldn't be used for new deployments. We recommend deploying the SAP shared directories on an NFS on Azure Files, or Azure NetApp Files volumes as documented in [HA for SAP NW on RHEL with NFS on Azure Files](./high-availability-guide-rhel-nfs-azure-files.md). See also [HA for SAP NW on RHEL with Azure NetApp Files](./high-availability-guide-rhel-netapp-files.md).
This article describes how to deploy the virtual machines, configure the virtual machines, and install a GlusterFS cluster that can be used to store the shared data of a highly available SAP system.
38
-
This guide describes how to set up GlusterFS that is used by two SAP systems, NW1 and NW2. The names of the resources (for example virtual machines, virtual networks) in the example assume that you have used the [SAP file server template][template-file-server] with resource prefix **glust**.
39
-
40
-
Be aware that as documented in [Red Hat Gluster Storage Life Cycle](https://access.redhat.com/support/policy/updates/rhs) Red Hat Gluster Storage will reach end of life at the end of 2024. The configuration will be supported for SAP on Azure until it reaches end of life stage. GlusterFS should not be used for new deployments. We recommend to deploy the SAP shared directories on NFS on Azure Files or Azure NetApp Files volumes as documented in [HA for SAP NW on RHEL with NFS on Azure Files](./high-availability-guide-rhel-nfs-azure-files.md) or [HA for SAP NW on RHEL with Azure NetApp Files](./high-availability-guide-rhel-netapp-files.md).
41
-
42
-
Read the following SAP Notes and papers first
24
+
Read the following SAP Notes and papers first:
43
25
44
26
* SAP Note [1928533], which has:
45
27
* List of Azure VM sizes that are supported for the deployment of SAP software
46
28
* Important capacity information for Azure VM sizes
47
29
* Supported SAP software, and operating system (OS) and database combinations
48
30
* Required SAP kernel version for Windows and Linux on Microsoft Azure
49
31
50
-
* SAP Note [2015553]lists prerequisites for SAP-supported SAP software deployments in Azure.
51
-
* SAP Note [2002167] has recommended OS settings for Red Hat Enterprise Linux
32
+
* SAP Note [2015553]has prerequisites for SAP-supported SAP software deployments in Azure.
33
+
* SAP Note [2002167] has the recommended OS settings for Red Hat Enterprise Linux
52
34
* SAP Note [2009879] has SAP HANA Guidelines for Red Hat Enterprise Linux
53
35
* SAP Note [2178632] has detailed information about all monitoring metrics reported for SAP in Azure.
54
36
* SAP Note [2191498] has the required SAP Host Agent version for Linux in Azure.
55
37
* SAP Note [2243692] has information about SAP licensing on Linux in Azure.
56
-
* SAP Note [1999351] has additional troubleshooting information for the Azure Enhanced Monitoring Extension for SAP.
38
+
* SAP Note [1999351] has extra troubleshooting information for the Azure Enhanced Monitoring Extension for SAP.
57
39
*[SAP Community WIKI](https://wiki.scn.sap.com/wiki/display/HOME/SAPonLinuxNotes) has all required SAP Notes for Linux.
58
40
*[Azure Virtual Machines planning and implementation for SAP on Linux][planning-guide]
59
41
*[Azure Virtual Machines deployment for SAP on Linux (this article)][deployment-guide]
@@ -70,36 +52,36 @@ Read the following SAP Notes and papers first
70
52
71
53
## Overview
72
54
73
-
To achieve high availability, SAP NetWeaver requires shared storage. GlusterFS is configured in a separate cluster and can be used by multiple SAP systems.
55
+
To achieve high availability, SAP NetWeaver requires shared storage. GlusterFS runs in a separate cluster and supports access by multiple SAP systems.
74
56
75
-

57
+

76
58
77
-
## Set up GlusterFS
59
+
## Prerequisites
78
60
79
61
In this example, the resources were deployed manually via the [Azure portal](https://portal.azure.com/#home).
80
62
81
-
### Deploy Linux manually via Azure portal
63
+
This document assumes that you deployed:
82
64
83
-
This document assumes that you've already deployed a resource group, [Azure Virtual Network](../../virtual-network/virtual-networks-overview.md), and subnet.
65
+
* A resource group previously.
66
+
* An [Azure Virtual Network](../../virtual-network/virtual-networks-overview.md) and subnet.
84
67
85
-
Deploy virtual machines for GlusterFS. Choose a suitable RHEL image that is supported for Gluster storage. You can deploy VM in any one of the availability options - scale set, availability zone or availability set.
68
+
When you deploy VMs for GlusterFS, choose a suitable RHEL image that supports Gluster storage. You can deploy VM in any one of the availability options - scale set, availability zone, or availability set.
86
69
87
70
### Configure GlusterFS
88
71
89
72
The following items are prefixed with either **[A]** - applicable to all nodes, **[1]** - only applicable to node 1, **[2]** - only applicable to node 2, **[3]** - only applicable to node 3.
90
73
91
74
1.**[A]** Setup host name resolution
92
75
93
-
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.
94
-
Replace the IP address and the hostname in the following commands
76
+
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. Replace the IP address and the hostname in the following commands:
95
77
96
78
```bash
97
79
sudo vi /etc/hosts
98
80
```
99
81
100
-
Insert the following lines to /etc/hosts. Change the IP address and hostname to match your environment
82
+
Insert the following lines to `/etc/hosts`. Change the IP address and hostname to match your environment:
101
83
102
-
```text
84
+
```
103
85
# IP addresses of the Gluster nodes
104
86
10.0.0.40 glust-0
105
87
10.0.0.41 glust-1
@@ -108,7 +90,7 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
108
90
109
91
1.**[A]** Register
110
92
111
-
Register your virtual machines and attach it to a pool that contains repositories for RHEL 7 and GlusterFS
93
+
Register your VMs and attach it to a pool that contains repositories for RHEL 7 and GlusterFS:
112
94
113
95
```bash
114
96
sudo subscription-manager register
@@ -117,39 +99,39 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
117
99
118
100
1.**[A]** Enable GlusterFS repos
119
101
120
-
In order to install the required packages, enable the following repositories.
102
+
In order to install the required packages, enable the following repositories:
@@ -158,32 +140,40 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
158
140
159
141
1.**[1]** Create GluserFS
160
142
161
-
Run the following commands to create the GlusterFS cluster
143
+
Create the GlusterFS cluster by running the following commands:
162
144
163
145
```bash
164
146
sudo gluster peer probe glust-1
165
147
sudo gluster peer probe glust-2
166
-
167
-
# Check gluster peer status
148
+
```
149
+
150
+
Check the GlusterFS peer status:
151
+
152
+
```bash
168
153
sudo gluster peer status
169
-
154
+
```
155
+
156
+
```output
170
157
# Number of Peers: 2
171
-
#
158
+
#
172
159
# Hostname: glust-1
173
160
# Uuid: 10d43840-fee4-4120-bf5a-de9c393964cd
174
161
# State: Accepted peer request (Connected)
175
-
#
162
+
#
176
163
# Hostname: glust-2
177
164
# Uuid: 9e340385-12fe-495e-ab0f-4f851b588cba
178
165
# State: Accepted peer request (Connected)
179
166
```
180
167
181
168
1.**[2]** Test peer status
182
169
183
-
Test the peer status on the second node
170
+
Test the peer status on the second node:
184
171
185
172
```bash
186
173
sudo gluster peer status
174
+
```
175
+
176
+
```output
187
177
# Number of Peers: 2
188
178
#
189
179
# Hostname: glust-0
@@ -197,10 +187,13 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
197
187
198
188
1.**[3]** Test peer status
199
189
200
-
Test the peer status on the third node
190
+
Test the peer status on the third node:
201
191
202
192
```bash
203
193
sudo gluster peer status
194
+
```
195
+
196
+
```output
204
197
# Number of Peers: 2
205
198
#
206
199
# Hostname: glust-0
@@ -214,9 +207,9 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
214
207
215
208
1.**[A]** Create LVM
216
209
217
-
In this example, the GlusterFS is used for two SAP systems, NW1 and NW2. Use the following commands to create LVM configurations for these SAP systems.
210
+
In this example, the GlusterFS is used for two SAP systems, **NW1** and **NW2**. Use the following commands to create LVM configurations for these SAP systems.
@@ -340,3 +333,20 @@ The following items are prefixed with either **[A]** - applicable to all nodes,
340
333
*[Azure Virtual Machines DBMS deployment for SAP][dbms-guide]
341
334
* To learn how to establish high availability and plan for disaster recovery of SAP HANA on Azure (large instances), see [SAP HANA (large instances) high availability and disaster recovery on Azure](/azure/virtual-machines/workloads/sap/hana-overview-high-availability-disaster-recovery).
342
335
* To learn how to establish high availability and plan for disaster recovery of SAP HANA on Azure VMs, see [High Availability of SAP HANA on Azure Virtual Machines (VMs)][sap-hana-ha]
0 commit comments