Skip to content

Commit c4cfaca

Browse files
author
rdeltcheva
committed
HANA on ANF - adjust parameters per SAP note 3024346
1 parent a53ed7f commit c4cfaca

File tree

3 files changed

+16
-29
lines changed

3 files changed

+16
-29
lines changed

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: virtual-machines-sap
1010
ms.topic: tutorial
1111
ms.tgt_pltfrm: vm-linux
1212
ms.workload: infrastructure-services
13-
ms.date: 03/24/2021
13+
ms.date: 05/10/2022
1414
ms.author: ampatel
1515

1616
---
@@ -367,18 +367,15 @@ 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 [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files](https://www.netapp.com/pdf.html?item=/media/17152-tr4746pdf.pdf). 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/netapp-hana.conf* for the NetApp configuration settings.
371371

372372
```
373373
vi /etc/sysctl.d/netapp-hana.conf
374374
# Add the following entries in the configuration file
375375
net.core.rmem_max = 16777216
376376
net.core.wmem_max = 16777216
377-
net.core.rmem_default = 16777216
378-
net.core.wmem_default = 16777216
379-
net.core.optmem_max = 16777216
380-
net.ipv4.tcp_rmem = 65536 16777216 16777216
381-
net.ipv4.tcp_wmem = 65536 16777216 16777216
377+
net.ipv4.tcp_rmem = 4096 131072 16777216
378+
net.ipv4.tcp_wmem = 4096 16384 16777216
382379
net.core.netdev_max_backlog = 300000
383380
net.ipv4.tcp_slow_start_after_idle=0
384381
net.ipv4.tcp_no_metrics_save = 1
@@ -402,7 +399,7 @@ For more information about the required ports for SAP HANA, read the chapter [Co
402399
> [!TIP]
403400
> Avoid setting net.ipv4.ip_local_port_range and net.ipv4.ip_local_reserved_ports explicitly in the sysctl configuration files to allow SAP Host Agent to manage the port ranges. For more information, see SAP note [2382421](https://launchpad.support.sap.com/#/notes/2382421).
404401
405-
4.**[A]** Adjust the sunrpc settings, as recommended in the [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files](https://www.netapp.com/pdf.html?item=/media/17152-tr4746pdf.pdf).
402+
4.**[A]** Adjust the sunrpc settings, as recommended in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346).
406403

407404
```
408405
vi /etc/modprobe.d/sunrpc.conf

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

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: virtual-machines-sap
99
ms.topic: article
1010
ms.tgt_pltfrm: vm-windows
1111
ms.workload: infrastructure-services
12-
ms.date: 02/11/2022
12+
ms.date: 05/10/2022
1313
ms.author: radeltch
1414

1515
---
@@ -22,7 +22,6 @@ ms.author: radeltch
2222

2323
[anf-azure-doc]:../../../azure-netapp-files/index.yml
2424
[anf-avail-matrix]:https://azure.microsoft.com/global-infrastructure/services/?products=netapp&regions=all
25-
[anf-sap-applications-azure]:https://www.netapp.com/us/media/tr-4746.pdf
2625

2726
[2205917]:https://launchpad.support.sap.com/#/notes/2205917
2827
[1944799]:https://launchpad.support.sap.com/#/notes/1944799
@@ -74,7 +73,6 @@ Before you begin, refer to the following SAP notes and papers:
7473
* [SUSE SAP HA Best Practice Guides][suse-ha-guide]: Contains all required information to set up NetWeaver High Availability and SAP HANA System Replication on-premises (to be used as a general baseline; they provide much more detailed information)
7574
* [SUSE High Availability Extension 12 SP5 Release Notes](https://www.suse.com/releasenotes/x86_64/SLE-HA/12-SP5/)
7675
* [Handling failed NFS share in SUSE HA cluster for HANA system replication](https://www.suse.com/support/kb/doc/?id=000019904)
77-
* [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files][anf-sap-applications-azure]
7876
* [NFS v4.1 volumes on Azure NetApp Files for SAP HANA](./hana-vm-operations-netapp.md)
7977

8078
## Overview
@@ -267,18 +265,15 @@ Configure and prepare your OS by doing the following steps:
267265
10.23.1.201 hana-s2-db3-hsr
268266
```
269267
270-
3. **[A]** Prepare the OS for running SAP HANA on NetApp Systems with NFS, as described in [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files][anf-sap-applications-azure]. 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/netapp-hana.conf* for the NetApp configuration settings.
271269
272270
<pre><code>
273271
vi /etc/sysctl.d/netapp-hana.conf
274272
# Add the following entries in the configuration file
275273
net.core.rmem_max = 16777216
276274
net.core.wmem_max = 16777216
277-
net.core.rmem_default = 16777216
278-
net.core.wmem_default = 16777216
279-
net.core.optmem_max = 16777216
280-
net.ipv4.tcp_rmem = 65536 16777216 16777216
281-
net.ipv4.tcp_wmem = 65536 16777216 16777216
275+
net.ipv4.tcp_rmem = 4096 131072 16777216
276+
net.ipv4.tcp_wmem = 4096 16384 16777216
282277
net.core.netdev_max_backlog = 300000
283278
net.ipv4.tcp_slow_start_after_idle=0
284279
net.ipv4.tcp_no_metrics_save = 1
@@ -302,7 +297,7 @@ Configure and prepare your OS by doing the following steps:
302297
> [!TIP]
303298
> Avoid setting net.ipv4.ip_local_port_range and net.ipv4.ip_local_reserved_ports explicitly in the sysctl configuration files to allow SAP Host Agent to manage the port ranges. For more details see SAP note [2382421](https://launchpad.support.sap.com/#/notes/2382421).
304299
305-
4. **[A]** Adjust the sunrpc settings, as recommended in the [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files][anf-sap-applications-azure].
300+
4. **[A]** Adjust the sunrpc settings, as recommended in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346).
306301
307302
<pre><code>
308303
vi /etc/modprobe.d/sunrpc.conf

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

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: virtual-machines-sap
99
ms.topic: article
1010
ms.tgt_pltfrm: vm-windows
1111
ms.workload: infrastructure-services
12-
ms.date: 02/11/2022
12+
ms.date: 05/10/2022
1313
ms.author: radeltch
1414

1515
---
@@ -22,7 +22,6 @@ ms.author: radeltch
2222

2323
[anf-azure-doc]:/azure/azure-netapp-files/
2424
[anf-avail-matrix]:https://azure.microsoft.com/global-infrastructure/services/?products=netapp&regions=all
25-
[anf-sap-applications-azure]:https://www.netapp.com/us/media/tr-4746.pdf
2625

2726
[2205917]:https://launchpad.support.sap.com/#/notes/2205917
2827
[1944799]:https://launchpad.support.sap.com/#/notes/1944799
@@ -73,7 +72,6 @@ Before you begin, refer to the following SAP notes and papers:
7372
* [Azure Virtual Machines DBMS deployment for SAP on Linux][dbms-guide]
7473
* [SUSE SAP HA Best Practice Guides][suse-ha-guide]: Contains all required information to set up NetWeaver High Availability and SAP HANA System Replication on-premises (to be used as a general baseline; they provide much more detailed information)
7574
* [SUSE High Availability Extension 12 SP3 Release Notes][suse-ha-12sp3-relnotes]
76-
* [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files][anf-sap-applications-azure]
7775
* [NFS v4.1 volumes on Azure NetApp Files for SAP HANA](./hana-vm-operations-netapp.md)
7876

7977
## Overview
@@ -320,18 +318,15 @@ Configure and prepare your OS by doing the following steps:
320318

321319
Reboot the VM to activate the changes.
322320

323-
3. **[A]** Prepare the OS for running SAP HANA on NetApp Systems with NFS, as described in [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files][anf-sap-applications-azure]. 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/netapp-hana.conf* for the NetApp configuration settings.
324322

325323
<pre><code>
326324
vi /etc/sysctl.d/netapp-hana.conf
327325
# Add the following entries in the configuration file
328326
net.core.rmem_max = 16777216
329327
net.core.wmem_max = 16777216
330-
net.core.rmem_default = 16777216
331-
net.core.wmem_default = 16777216
332-
net.core.optmem_max = 16777216
333-
net.ipv4.tcp_rmem = 65536 16777216 16777216
334-
net.ipv4.tcp_wmem = 65536 16777216 16777216
328+
net.ipv4.tcp_rmem = 4096 131072 16777216
329+
net.ipv4.tcp_wmem = 4096 16384 16777216
335330
net.core.netdev_max_backlog = 300000
336331
net.ipv4.tcp_slow_start_after_idle=0
337332
net.ipv4.tcp_no_metrics_save = 1
@@ -356,7 +351,7 @@ Configure and prepare your OS by doing the following steps:
356351
> [!TIP]
357352
> Avoid setting net.ipv4.ip_local_port_range and net.ipv4.ip_local_reserved_ports explicitly in the sysctl configuration files to allow SAP Host Agent to manage the port ranges. For more details see SAP note [2382421](https://launchpad.support.sap.com/#/notes/2382421).
358353
359-
4. **[A]** Adjust the sunrpc settings, as recommended in the [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files][anf-sap-applications-azure].
354+
4. **[A]** Adjust the sunrpc settings, as recommended in SAP note [3024346 - Linux Kernel Settings for NetApp NFS](https://launchpad.support.sap.com/#/notes/3024346).
360355

361356
<pre><code>
362357
vi /etc/modprobe.d/sunrpc.conf
@@ -628,7 +623,7 @@ In this example for deploying SAP HANA in scale-out configuration with standby n
628623
- `async_write_submit_active` **on**
629624
- `async_write_submit_blocks` **all**
630625

631-
For more information, see [NetApp SAP Applications on Microsoft Azure using Azure NetApp Files][anf-sap-applications-azure].
626+
For more information, see [I/O stack configuration for SAP HANA](https://docs.netapp.com/us-en/netapp-solutions-sap/bp/saphana_aff_nfs_i_o_stack_configuration_for_sap_hana.html).
632627

633628
Starting with SAP HANA 2.0 systems, you can set the parameters in `global.ini`. For more information, see SAP Note [1999930](https://launchpad.support.sap.com/#/notes/1999930).
634629

0 commit comments

Comments
 (0)