Planning for Implementing SAP Solutions on Azure (part 3 of 5)
Azure VM Storage Considerations
- The number of data files
- The number of disks that contain the files
- The IOPS quotas of a single disk
- The data throughput per disk
- The number of additional data disks possible per VM size
- The number of storage throughput a VM can provide
- The latency difference an Azure Storage type can provide
- VM SLAs
Paging/Swap Files
- Windows operating system pagefile should reside on the D: drive (i.e. non-persistent disk)
- Linux swapfile should reside under/mnt/resource and can be configured in the configuration file of the Linux Agent/etc/waagent.conf; you can also add or change the following settings-
- ResourceDisk.EnableSwap=y
- ResourceDisk.SwapSizeMB= <size_in_MBs>
- To activate the changes, you need to restart the Linux Agent by running sudo service waagent restart.
Managed Disks
Premium Storage
Standard storage is only certified for unmanaged disks and since application servers don't host any data, you can also use the smaller P4 aand P6 Premium Storage disks to help minimize the cost.
Multi-Disk Volumes
Since the operations like writing savepoints or loading data in-memory after cash recovery can also be critical making it essential to leverage Azure Premium Disks for /hana/data and /hana/log volumes. To achieve the minimum throughput of /hana/data and /hana/log, you can build a RAID 0 volume by using MDADM or LVM over multiple Azure premium Storage disks and for RAID 0 stripe sizes recommended are- 64 KB or 128 KB for /hana/data and 32 KB for /hana/log.
Caching
- I/O consists mostly of a read workload against the data files of a database who are performance critical for DBMS systems.
- Writing against the data files occurs in bursts based on checkpoints or a constant stream and on an average there are fewer rights than reads per day that are asynchronous as well as doesn't hold up any user transactions.
- There are hardly any reads from the transaction log or redo files except for large I/Os when you perform transaction log backups.
- The main load against transaction or redo log files is writes and depending on the nature of the workload, you can also have the I/Os as small as 4 KB, or in other cases, I/O sizes of 1 MB or more.
- All writes must be persisted on disk in a reliable fashion.
- 16 VHDs for an M128xx and M416xx VM
- 8 VHDs for an M64xx and M208xx VM
- 4 VHDs for an M32xx VM
Comments
Post a Comment