Skip to content

Commit 6fbcb39

Browse files
Merge pull request #288379 from msjuergent/storageth
note on Mv3 IOPS with cached disks
2 parents 6d8f463 + 92b8014 commit 6fbcb39

File tree

5 files changed

+44
-21
lines changed

5 files changed

+44
-21
lines changed

articles/sap/workloads/dbms-guide-general.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: msjuergent
55
ms.service: sap-on-azure
66
ms.subservice: sap-vm-workloads
77
ms.topic: article
8-
ms.date: 09/22/2020
8+
ms.date: 10/14/2024
99
ms.author: juergent
1010
ms.reviewer: juergent
1111

@@ -172,6 +172,9 @@ For Azure premium storage v1, the following caching options exist:
172172

173173
For premium storage v1, we recommend that you use **Read caching for data files** of the SAP database and choose **No caching for the disks of log file(s)**.
174174

175+
> [!NOTE]
176+
> With some of the new M(b)v3 VM types, the usage of read cached Premium SSD v1 storage could result in lower read and write IOPS rates and throughput than you would get if you don't use read cache.
177+
175178
For M-Series deployments, we recommend that you use Azure Write Accelerator only for the disks of your log files. For details, restrictions, and deployment of Azure Write Accelerator, see [Enable Write Accelerator](/azure/virtual-machines/how-to-enable-write-accelerator).
176179

177180
For premium storage v2, Ultra disk and Azure NetApp Files, no caching options are offered.

articles/sap/workloads/dbms-guide-oracle.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords: 'SAP, Azure, Oracle, Data Guard'
77
ms.service: sap-on-azure
88
ms.subservice: sap-vm-workloads
99
ms.topic: article
10-
ms.date: 04/20/2024
10+
ms.date: 10/14/2024
1111
ms.author: juergent
1212
ms.custom: H1Hack27Feb2017, linux-related-content
1313
---
@@ -79,7 +79,9 @@ There are two recommended storage deployment patterns for SAP on Oracle on Azure
7979

8080
Customers currently running Oracle databases on EXT4 or XFS file systems with Logical Volume Manager (LVM) are encouraged to move to ASM. There are considerable performance, administration, and reliability advantages to running on ASM compared to LVM. ASM reduces complexity, improves supportability, and makes administration tasks simpler. This documentation contains links for Oracle Database Administrators (DBAs) to learn how to install and manage ASM.
8181

82-
Azure provides [multiple storage solutions](/azure/virtual-machines/disks-types). The table below details the support status
82+
Azure provides [multiple storage solutions](/azure/virtual-machines/disks-types).
83+
84+
The table below details the support status
8385

8486
| Storage type | Oracle support | Sector Size | Oracle Linux 8.x or higher | Windows Server 2019 |
8587
|--------|------------|--------| ------| -----|
@@ -214,7 +216,8 @@ Usually customers are using RMAN, Azure Backup for Oracle and/or disk snap techn
214216

215217

216218
> [!NOTE]
217-
> Azure Host Disk Cache for the DATA ASM Disk Group can be set to either Read Only or None. All other ASM Disk Groups should be set to None. On BW or SCM a separate ASM Disk Group for TEMP can be considered for large or busy systems.
219+
> Azure Host Disk Cache for the DATA ASM Disk Group can be set to either Read Only or None. Consider that with some of the new M(b)v3 VM types, the usage of read cached Premium SSD v1 storage could result in lower read and write IOPS rates and throughput than you would get if you don't use read cache. All other ASM Disk Groups should be set to None. On BW or SCM a separate ASM Disk Group for TEMP can be considered for large or busy systems.
220+
218221

219222
### Adding Space to ASM + Azure Disks
220223

@@ -381,8 +384,6 @@ Oracle Data Guard is supported for high availability and disaster recovery purpo
381384

382385
Disaster Recovery aspects for Oracle databases in Azure are presented in the article [<u>Disaster recovery for an Oracle Database 12c database in an Azure environment</u>](/azure/virtual-machines/workloads/oracle/oracle-disaster-recovery).
383386

384-
Another good Oracle whitepaper [Setting up Oracle 12c Data Guard for SAP Customers](https://www.sap.com/documents/2016/12/a67bac51-9a7c-0010-82c7-eda71af511fa.html)
385-
386387
## Huge Pages & Large Oracle SGA Configurations
387388

388389
VLDB SAP on Oracle on Azure deployments apply SGA sizes in excess of 3TB. Modern versions of Oracle handle large SGA sizes well and significantly reduce IO. Review the AWR report and increase the SGA size to reduce read IO. 

articles/sap/workloads/dbms-guide-sapase.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ manager: patfilot
66
ms.service: sap-on-azure
77
ms.subservice: sap-vm-workloads
88
ms.topic: article
9-
ms.date: 11/30/2022
9+
ms.date: 10/14/2024
1010
ms.author: juergent
1111
ms.custom: H1Hack27Feb2017, linux-related-content
1212
---
1313
# SAP ASE Azure Virtual Machines DBMS deployment for SAP workload
1414

15-
In this document, covers several different areas to consider when deploying SAP ASE in Azure IaaS. As a precondition to this document, you should have read the document [Considerations for Azure Virtual Machines DBMS deployment for SAP workload](dbms-guide-general.md) and other guides in the [SAP workload on Azure documentation](./get-started.md). This document covers SAP ASE running on Linux and on Windows Operating Systems. The minimum supported release on Azure is SAP ASE 16.0.02 (Release 16 Support Pack 2). It's recommended to deploy the latest version of SAP and the latest Patch Level. As a minimum SAP ASE 16.0.03.07 (Release 16 Support Pack 3 Patch Level 7) is recommended. The most recent version of SAP can be found in [Targeted ASE 16.0 Release Schedule and CR list Information](https://wiki.scn.sap.com/wiki/display/SYBASE/Targeted+ASE+16.0+Release+Schedule+and+CR+list+Information).
15+
In this document, covers several different areas to consider when deploying SAP ASE in Azure IaaS. As a precondition to this document, you read the document [Considerations for Azure Virtual Machines DBMS deployment for SAP workload](dbms-guide-general.md) and other guides in the [SAP workload on Azure documentation](./get-started.md). This document covers SAP ASE running on Linux and on Windows Operating Systems. The minimum supported release on Azure is SAP ASE 16.0.02 (Release 16 Support Pack 2). It's recommended to deploy the latest version of SAP with the most recent Patch Level. As a minimum SAP ASE 16.0.03.07 (Release 16 Support Pack 3 Patch Level 7) is recommended. The most recent version of SAP can be found in [Targeted ASE 16.0 Release Schedule and CR list Information](https://wiki.scn.sap.com/wiki/display/SYBASE/Targeted+ASE+16.0+Release+Schedule+and+CR+list+Information).
1616

1717
Additional information about release support with SAP applications or installation media location are found, besides in the SAP Product Availability Matrix in these locations:
1818

@@ -24,17 +24,17 @@ Additional information about release support with SAP applications or installati
2424
Remark: Throughout documentation within and outside the SAP world, the name of the product is referenced as Sybase ASE or SAP ASE or in some cases both. In order to stay consistent, we use the name **SAP ASE** in this documentation.
2525

2626
## Operating system support
27-
The SAP Product Availability Matrix contains the supported Operating System and SAP Kernel combinations for each SAP application. Linux distributions SLES 12.x, SLES 15.x, RHEL 7.x and RHEL 8.x are fully supported. Oracle Linux as operating system for SAP ASE isn't supported. It's recommended to use the most recent Linux releases available. Windows customers should use Windows Server 2016 or Windows Server 2019 releases. Older releases of Windows such as Windows 2012 are technically supported but the latest Windows version is always recommended.
27+
The SAP Product Availability Matrix contains the supported Operating System and SAP Kernel combinations for each SAP application. Linux distributions SLES 12.x, SLES 15.x, RHEL 7.x, and RHEL 8.x are fully supported. Oracle Linux as operating system for SAP ASE isn't supported. It's recommended to use the most recent Linux releases available. Windows customers should use Windows Server 2016 or Windows Server 2019 releases. Older releases of Windows such as Windows 2012 are technically supported but the latest Windows version is always recommended.
2828

2929

3030
## Specifics to SAP ASE on Windows
3131
Starting with Microsoft Azure, you can migrate your existing SAP ASE applications to Azure Virtual Machines. SAP ASE in an Azure Virtual Machine enables you to reduce the total cost of ownership of deployment, management, and maintenance of enterprise breadth applications by easily migrating these applications to Microsoft Azure. With SAP ASE in an Azure Virtual Machine, administrators and developers can still use the same development and administration tools that are available on-premises.
3232

33-
Microsoft Azure offers numerous different virtual machine types that allow you to run smallest SAP systems and landscapes up to large SAP systems and landscapes with thousands of users. SAP sizing SAPS numbers of the different SAP certified VM SKUs is provided in [SAP support note #1928533](https://launchpad.support.sap.com/#/notes/1928533).
33+
Microsoft Azure offers numerous different virtual machine types that allow you to run smallest SAP systems and landscapes up to large SAP systems and landscapes with thousands of users. SAP sizing SAPS numbers of the different SAP certified Virtual Machine (VM) SKUs is provided in [SAP support note #1928533](https://launchpad.support.sap.com/#/notes/1928533).
3434

3535
Documentation to install SAP ASE on Windows can be found in the [SAP ASE Installation Guide for Windows](https://help.sap.com/viewer/36031975851a4f82b1022a9df877280b/16.0.3.7/en-US/a660d3f1bc2b101487cbdbf10069c3ac.html)
3636

37-
Lock Pages in Memory is a setting that will prevent the SAP ASE database buffer from being paged out. This setting is useful for large busy systems with a high memory demand. Contact BC-DB-SYB for more information.
37+
Lock Pages in Memory is a setting that is preventing the SAP ASE database buffer from being paged out. This setting is useful for large busy systems with a high memory demand. Contact BC-DB-SYB for more information.
3838

3939

4040
## Linux operating system specific settings
@@ -43,7 +43,7 @@ Linux Huge Pages should be enabled by default and can be verified with command
4343

4444
`cat /proc/meminfo`
4545

46-
The page size is typically 2048 KB. For details see the article [Huge Pages on Linux](https://help.sap.com/viewer/ecbccd52e7024feaa12f4e780b43bc3b/16.0.3.7/en-US/a703d580bc2b10149695f7d838203fad.html)
46+
The page size is typically 2,048 KB. For details see the article [Huge Pages on Linux](https://help.sap.com/viewer/ecbccd52e7024feaa12f4e780b43bc3b/16.0.3.7/en-US/a703d580bc2b10149695f7d838203fad.html)
4747

4848

4949
## Recommendations on VM and disk structure for SAP ASE deployments
@@ -54,22 +54,25 @@ Typical VM types used for medium size SAP ASE database servers include Esv3. La
5454
The SAP ASE transaction log disk write performance may be improved by enabling the M-series Write Accelerator. Write Accelerator should be tested carefully with SAP ASE due to the way that SAP ASE performs Log Writes. Review [SAP support note #2816580](/azure/virtual-machines/how-to-enable-write-accelerator) and consider running a performance test.
5555
Write Accelerator is designed for transaction log disk only. The disk level cache should be set to NONE. Don't be surprised if Azure Write Accelerator doesn't show similar improvements as with other DBMS. Based on the way, SAP ASE writes into the transaction log, it could be that there's little to no acceleration by Azure Write Accelerator.
5656

57+
> [!NOTE]
58+
> With some of the new M(b)v3 VM types, the usage of read cached Premium SSD v1 storage could result in lower read and write IOPS rates and throughput than you would get if you don't use read cache.
59+
5760
Separate disks are recommended for Data devices and Log Devices. The system databases sybsecurity and `saptools` don't require dedicated disks and can be placed on the disks containing the SAP database data and log devices
5861

5962
![Storage configuration for SAP ASE](./media/dbms-guide-sap-ase/sap-ase-disk-structure.png)
6063

6164
### File systems, stripe size & IO balancing
62-
SAP ASE writes data sequentially into disk storage devices unless configured otherwise. This means an empty SAP ASE database with four devices will write data into the first device only. The other disk devices will only be written to when the first device is full. The amount of READ and WRITE IO to each SAP ASE device is likely to be different. To balance disk IO across all available Azure disks, either Windows Storage Spaces or Linux LVM2 needs to be used. On Linux, it's recommended to use XFS file system to format the disks. The LVM stripe size should be tested with a performance test. 128 KB stripe size is a good starting point. On Windows, the NTFS Allocation Unit Size (AUS) should be tested. 64 KB can be used as a starting value.
65+
SAP ASE writes data sequentially into disk storage devices unless configured otherwise. This means an empty SAP ASE database with four devices wwrites data into the first device only. The other disk devices are only written into when the first device is full. The amount of READ and WRITE IO to each SAP ASE device is likely to be different. To balance disk IO across all available Azure disks, either Windows Storage Spaces or Linux LVM2 needs to be used. On Linux, it's recommended to use XFS file system to format the disks. The LVM stripe size should be tested with a performance test. 128 KB stripe size is a good starting point. On Windows, the NTFS Allocation Unit Size (AUS) should be tested. 64 KB can be used as a starting value.
6366

6467
It's recommended to configure Automatic Database Expansion as described in the article [Configuring Automatic Database Space Expansion in SAP Adaptive Server Enterprise](https://blogs.sap.com/2014/07/09/configuring-automatic-database-space-expansion-in-sap-adaptive-server-enterprise/) and [SAP support note #1815695](https://launchpad.support.sap.com/#/notes/1815695).
6568

66-
### Sample SAP ASE on Azure virtual machine, disk and file system configurations
69+
### Sample SAP ASE on Azure virtual machine, disk, and file system configurations
6770
The templates below show sample configurations for both Linux and Windows. Before confirming the virtual machine and disk configuration, ensure that the network and storage bandwidth quotas of the individual VM are sufficient to meet the business requirement. Also keep in mind that different Azure VM types have different maximum numbers of disks that can be attached to the VM. For example, a E4s_v3 VM has a limit 48 MB/sec storage IO throughput. If the storage throughput required by database backup activity demands more than 48 MB/sec then a larger VM type with more storage bandwidth throughput is unavoidable. When configuring Azure storage, you also need to keep in mind that especially with [Azure Premium storage](/azure/virtual-machines/premium-storage-performance) the throughput, and IOPS per GB of capacity do change. See more on this topic in the article [What disk types are available in Azure?](/azure/virtual-machines/disks-types). The quotas for specific Azure VM types are documented in the article [Memory optimized virtual machine sizes](/azure/virtual-machines/sizes-memory) and articles linked to it.
6871

6972
> [!NOTE]
7073
> If a DBMS system is being moved from on-premises to Azure, it's recommended to perform monitoring on the VM and assess the CPU, memory, IOPS and storage throughput. Compare the peak values observed with the VM quota limits documented in the articles mentioned above
7174
72-
The examples given below are for illustrative purposes and can be modified based on individual needs. Due to the design of SAP ASE, the number of data devices isn't as critical as with other databases. The number of data devices detailed in this document is a guide only. The configurations suggested should be treated as what they're. They are starting points for you. But they are configurations that are going to need some fine-tuning to your workload and cost efficiencies.
75+
The examples given below are for illustrative purposes and can be modified based on individual needs. Due to the design of SAP ASE, the number of data devices isn't as critical as with other databases. The number of data devices detailed in this document is a guide only. The configurations suggested should be treated as what they're. They're starting points for you. But they're configurations that are going to need some fine-tuning to your workload and cost efficiencies.
7376

7477
An example of a configuration for a little SAP ASE DB Server with a database size between 50 GB – 250 GB could look like
7578

@@ -207,7 +210,7 @@ The HADR Users Guide details the setup and configuration of a two-node SAP ASE
207210
There are two supported High Availability configurations for SAP ASE on Azure:
208211

209212
- HA Aware with Fault Manager - The SAP Kernel is an “HA Aware” application and knows about the primary and secondary SAP ASE servers. There are no close integrations between the SAP ASE “HA Aware“ solution and Azure, the Azure Internal load balancer isn't used. The solution is documented in the [SAP ASE HADR Users Guide](https://help.sap.com/viewer/efe56ad3cad0467d837c8ff1ac6ba75c/16.0.3.7/en-US/a6645e28bc2b1014b54b8815a64b87ba.html)
210-
- Floating IP with Fault Manager – This solution can be used for SAP Business Suite and non-SAP Business Suite applications. This solution utilizes the Azure ILB and the SAP ASE database engine provides a Probe Port. The Fault Manager will call SAPHostAgent to start or stop a secondary Floating IP on the ASE hosts. This solution is documented in [SAP note #3086679 - SYB: Fault Manager: floating IP address on Microsoft Azure](https://launchpad.support.sap.com/#/notes/3086679)
213+
- Floating IP with Fault Manager – This solution can be used for SAP Business Suite and non-SAP Business Suite applications. This solution utilizes the Azure ILB and the SAP ASE database engine provides a Probe Port. The Fault Manager calls the SAPHostAgent to start or stop a secondary Floating IP on the ASE hosts. This solution is documented in [SAP note #3086679 - SYB: Fault Manager: floating IP address on Microsoft Azure](https://launchpad.support.sap.com/#/notes/3086679)
211214

212215

213216
> [!NOTE]
@@ -225,13 +228,13 @@ SAP Software provisioning Manager (SWPM) is giving an option to encrypt the data
225228
- [SAP support note #2593925](https://launchpad.support.sap.com/#/notes/2593925)
226229

227230
> [!NOTE]
228-
> If a SAP ASE database is encrypted then Backup Dump Compression will not work. See also [SAP support note #2680905](https://launchpad.support.sap.com/#/notes/2680905)
231+
> If a SAP ASE database is encrypted then Backup Dump Compression is not working. See also [SAP support note #2680905](https://launchpad.support.sap.com/#/notes/2680905)
229232
230233
## SAP ASE on Azure deployment checklist
231234

232235
- Deploy SAP ASE 16.0.03.07 or higher
233236
- Update to latest version and patches of FaultManager and SAPHostAgent
234-
- Deploy on latest certified OS available such as Windows 2019, SLES 15 or RHEL 8
237+
- Deploy on latest certified OS available such as Windows 2019, SLES 15, or RHEL 8
235238
- Use SAP Certified VMs – high memory Azure VM SKUs such as Es_v3 or for x-large systems M-Series VM SKUs are recommended
236239
- Match the disk IOPS and total VM aggregate throughput quota of the VM with the disk design. Deploy sufficient number of disks
237240
- Aggregate disks using Windows Storage Spaces or Linux LVM2 with correct stripe size and file system
@@ -255,7 +258,7 @@ As with on-premises systems several steps are required to enable all SAP NetWeav
255258
>
256259
>
257260
258-
and the links generated in transaction DBACockpit look similar to:
261+
And the links generated in transaction DBACockpit look similar to:
259262

260263
> https:\//\<fullyqualifiedhostname>:44300/sap/bc/webdynpro/sap/dba_cockpit
261264
>
@@ -307,7 +310,7 @@ The starting page for [SAP ASE 16.0.03.07 Documentation](https://help.sap.com/vi
307310
- SAP ASE Learning Journey - Administration & Monitoring
308311
- SAP ASE Learning Journey - Installation & Upgrade
309312

310-
are helpful. Another useful document is [SAP Applications on SAP Adaptive Server Enterprise Best Practices for Migration and Runtime](https://assets.cdn.sap.com/sapcom/docs/2016/06/26450353-767c-0010-82c7-eda71af511fa.pdf).
313+
Are helpful. Another useful document is [SAP Applications on SAP Adaptive Server Enterprise Best Practices for Migration and Runtime](https://assets.cdn.sap.com/sapcom/docs/2016/06/26450353-767c-0010-82c7-eda71af511fa.pdf).
311314

312315
Other helpful SAP support notes are:
313316

0 commit comments

Comments
 (0)