Skip to content

Commit 25845ee

Browse files
authored
Merge pull request #97690 from msftphleiten/main
updating /etc/sysctl.d/netapp-hana.conf
2 parents e6395e1 + 8f1a6bb commit 25845ee

7 files changed

+48
-12
lines changed

articles/virtual-machines/workloads/sap/hana-vm-operations-netapp.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ When considering Azure NetApp Files for the SAP Netweaver and SAP HANA, be aware
3636
- Azure NetApp Files offers [export policy](../../../azure-netapp-files/azure-netapp-files-configure-export-policy.md): you can control the allowed clients, the access type (Read&Write, Read Only, etc.).
3737
- Azure NetApp Files feature isn't zone aware yet. Currently Azure NetApp Files feature isn't deployed in all Availability zones in an Azure region. Be aware of the potential latency implications in some Azure regions. Though to achieve proximity, the functionality of [Application Volume Groups](../../../azure-netapp-files/application-volume-group-introduction.md) is in public preview. See also later in this article
3838
- The User ID for <b>sid</b>adm and the Group ID for `sapsys` on the virtual machines must match the configuration in Azure NetApp Files.
39+
- Implement Linux OS parameters mentioned in SAP note [3024346](https://launchpad.support.sap.com/#/notes/3024346)
3940

4041
> [!IMPORTANT]
4142
> For SAP HANA workloads, low latency is critical. Work with your Microsoft representative to ensure that the virtual machines and the Azure NetApp Files volumes are deployed in close proximity.
@@ -115,6 +116,41 @@ Therefore you could consider to deploy similar throughput for the ANF volumes as
115116
116117
Documentation on how to deploy an SAP HANA scale-out configuration with standby node using NFS v4.1 volumes that are hosted in ANF is published in [SAP HANA scale-out with standby node on Azure VMs with Azure NetApp Files on SUSE Linux Enterprise Server](./sap-hana-scale-out-standby-netapp-files-suse.md).
117118

119+
## Linux Kernel Settings
120+
To successfully deploy SAP HANA on ANF Linux kernel settings need to be implemented according to SAP note [3024346](https://launchpad.support.sap.com/#/notes/3024346).
121+
122+
For systems using High Availability (HA) using pacemaker and Azure Load Balancer following settings need to be implemeneted in file /etc/sysctl.d/91-NetApp-HANA.conf
123+
124+
```
125+
net.core.rmem_max = 16777216
126+
net.core.wmem_max = 16777216
127+
net.ipv4.tcp_rmem = 4096 131072 16777216
128+
net.ipv4.tcp_wmem = 4096 16384 16777216
129+
net.core.netdev_max_backlog = 300000
130+
net.ipv4.tcp_slow_start_after_idle=0
131+
net.ipv4.tcp_no_metrics_save = 1
132+
net.ipv4.tcp_moderate_rcvbuf = 1
133+
net.ipv4.tcp_window_scaling = 1
134+
net.ipv4.tcp_timestamps = 0
135+
net.ipv4.tcp_sack = 1
136+
```
137+
138+
Systems running with no pacemaker and Azure Load Balancer should implemented these settings in /etc/sysctl.d/91-NetApp-HANA.conf
139+
140+
```
141+
net.core.rmem_max = 16777216
142+
net.core.wmem_max = 16777216
143+
net.ipv4.tcp_rmem = 4096 131072 16777216
144+
net.ipv4.tcp_wmem = 4096 16384 16777216
145+
net.core.netdev_max_backlog = 300000
146+
net.ipv4.tcp_slow_start_after_idle=0
147+
net.ipv4.tcp_no_metrics_save = 1
148+
net.ipv4.tcp_moderate_rcvbuf = 1
149+
net.ipv4.tcp_window_scaling = 1
150+
net.ipv4.tcp_timestamps = 1
151+
net.ipv4.tcp_sack = 1
152+
```
153+
118154
## Deployment through Azure NetApp Files application volume group for SAP HANA (AVG)
119155
To deploy ANF volumes with proximity to your VM, a new functionality called Azure NetApp Files application volume group for SAP HANA (AVG) got developed. **The functionality is currently in public preview**. There's a series of articles that document the functionality. Best is to start with the article [Understand Azure NetApp Files application volume group for SAP HANA](../../../azure-netapp-files/application-volume-group-introduction.md). As you read the articles, it becomes clear that the usage of AVGs involves the usage of Azure proximity placement groups as well. Proximity placement groups are used by the new functionality to tie into with the volumes that are getting created. To ensure that over the lifetime of the HANA system, the VM’s aren't going to be moved away from the ANF volumes, we recommend using a combination of Avset/ PPG for each of the zones you deploy into.
120156
The order of deployment would look like:

articles/virtual-machines/workloads/sap/sap-hana-high-availability-netapp-files-red-hat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,10 @@ For more information about the required ports for SAP HANA, read the chapter [Co
388388
10.32.0.5 hanadb2
389389
```
390390
391-
3. **[A]** Prepare the OS for running SAP HANA on Azure NetApp with NFS, as described in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/netapp-hana.conf* for the NetApp configuration settings.
391+
3. **[A]** Prepare the OS for running SAP HANA on Azure NetApp with NFS, as described in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/91-NetApp-HANA.conf* for the NetApp configuration settings.
392392
393393
<pre><code>
394-
vi /etc/sysctl.d/netapp-hana.conf
394+
vi /etc/sysctl.d/91-NetApp-HANA.conf
395395
# Add the following entries in the configuration file
396396
net.core.rmem_max = 16777216
397397
net.core.wmem_max = 16777216

articles/virtual-machines/workloads/sap/sap-hana-high-availability-netapp-files-suse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,10 @@ For more information about the required ports for SAP HANA, read the chapter [Co
367367
10.3.0.5 hanadb2
368368
```
369369

370-
2.**[A]** Prepare the OS for running SAP HANA on Azure NetApp with NFS, as described in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/netapp-hana.conf* for the NetApp configuration settings.
370+
2.**[A]** Prepare the OS for running SAP HANA on Azure NetApp with NFS, as described in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/91-NetApp-HANA.conf* for the NetApp configuration settings.
371371

372372
```
373-
vi /etc/sysctl.d/netapp-hana.conf
373+
vi /etc/sysctl.d/91-NetApp-HANA.conf
374374
# Add the following entries in the configuration file
375375
net.core.rmem_max = 16777216
376376
net.core.wmem_max = 16777216

articles/virtual-machines/workloads/sap/sap-hana-high-availability-scale-out-hsr-rhel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,10 @@ Configure and prepare your operating system by doing the following:
267267
10.23.1.207 hana-s2-db3-hsr
268268
```
269269
270-
1. **[A]** Prepare the operating system for running SAP HANA. For more information, see SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/netapp-hana.conf* for the Azure NetApp Files configuration settings.
270+
1. **[A]** Prepare the operating system for running SAP HANA. For more information, see SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/91-NetApp-HANA.conf* for the Azure NetApp Files configuration settings.
271271
272272
<pre><code>
273-
vi /etc/sysctl.d/netapp-hana.conf
273+
vi /etc/sysctl.d/91-NetApp-HANA.conf
274274
# Add the following entries in the configuration file
275275
net.core.rmem_max = 16777216
276276
net.core.wmem_max = 16777216

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ Configure and prepare your OS by doing the following steps:
265265
10.23.1.201 hana-s2-db3-hsr
266266
```
267267
268-
3. **[A]** Prepare the OS for running SAP HANA on NetApp Systems with NFS, as described in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/netapp-hana.conf* for the NetApp configuration settings.
268+
3. **[A]** Prepare the OS for running SAP HANA on NetApp Systems with NFS, as described in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/91-NetApp-HANA.conf* for the NetApp configuration settings.
269269
270270
<pre><code>
271-
vi /etc/sysctl.d/netapp-hana.conf
271+
vi /etc/sysctl.d/91-NetApp-HANA.conf
272272
# Add the following entries in the configuration file
273273
net.core.rmem_max = 16777216
274274
net.core.wmem_max = 16777216

articles/virtual-machines/workloads/sap/sap-hana-scale-out-standby-netapp-files-rhel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,10 @@ Configure and prepare your OS by doing the following steps:
326326
yum install nfs-utils
327327
</code></pre>
328328

329-
3. **[A]** Prepare the OS for running SAP HANA on Azure NetApp with NFS, as described in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/netapp-hana.conf* for the NetApp configuration settings.
329+
3. **[A]** Prepare the OS for running SAP HANA on Azure NetApp with NFS, as described in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/91-NetApp-HANA.conf* for the NetApp configuration settings.
330330

331331
<pre><code>
332-
vi /etc/sysctl.d/netapp-hana.conf
332+
vi /etc/sysctl.d/91-NetApp-HANA.conf
333333
# Add the following entries in the configuration file
334334
net.core.rmem_max = 16777216
335335
net.core.wmem_max = 16777216

articles/virtual-machines/workloads/sap/sap-hana-scale-out-standby-netapp-files-suse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,10 @@ Configure and prepare your OS by doing the following steps:
318318

319319
Reboot the VM to activate the changes.
320320

321-
3. **[A]** Prepare the OS for running SAP HANA on NetApp Systems with NFS, as described in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/netapp-hana.conf* for the NetApp configuration settings.
321+
3. **[A]** Prepare the OS for running SAP HANA on NetApp Systems with NFS, as described in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346). Create configuration file */etc/sysctl.d/91-NetApp-HANA.conf* for the NetApp configuration settings.
322322

323323
<pre><code>
324-
vi /etc/sysctl.d/netapp-hana.conf
324+
vi /etc/sysctl.d/91-NetApp-HANA.conf
325325
# Add the following entries in the configuration file
326326
net.core.rmem_max = 16777216
327327
net.core.wmem_max = 16777216

0 commit comments

Comments
 (0)