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
Copy file name to clipboardExpand all lines: articles/backup/tutorial-backup-sap-hana-db.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,9 @@
2
2
title: Tutorial - Back up SAP HANA databases in Azure VMs
3
3
description: In this tutorial, learn how to back up SAP HANA databases running on Azure VM to an Azure Backup Recovery Services vault.
4
4
ms.topic: tutorial
5
-
ms.date: 05/16/2022
5
+
ms.date: 01/24/2024
6
6
ms.service: backup
7
+
ms.custom: engagement-fy24
7
8
author: AbhishekMallick-MS
8
9
ms.author: v-abhmallick
9
10
---
@@ -41,13 +42,13 @@ Make sure you do the following before configuring backups:
41
42
42
43
## Understanding backup and restore throughput performance
43
44
44
-
The backups (log and non-log) in SAP HANA Azure VMs provided via Backint are streams to Azure Recovery Services vaults (which internally use Azure Storage Blob) and so it is important to understand this streaming methodology.
45
+
The backups (log and non-log) in SAP HANA Azure VMs provided via Backint are streams to Azure Recovery Services vaults (which internally use Azure Storage Blob) and so it's important to understand this streaming methodology.
45
46
46
47
The Backint component of HANA provides the 'pipes' (a pipe to read from and a pipe to write into), connected to underlying disks where database files reside, which are then read by the Azure Backup service and transported to Azure Recovery Services vault, which is a remote Azure Storage Account. The Azure Backup service also performs a checksum to validate the streams, in addition to the Backint native validation checks. These validations will make sure that the data present in Azure Recovery Services vault is indeed reliable and recoverable.
47
48
48
49
Since the streams primarily deal with disks, you need to understand the disk performance for read and network performance to transfer backup data to gauge the backup and restore performance. Refer to [this article](../virtual-machines/disks-performance.md) for an in-depth understanding of disk/network throughput and performance in Azure VMs. These are also applicable to backup and restore performance.
49
50
50
-
**The Azure Backup service attempts to achieve upto ~420 MBps for non-log backups (such as full, differential and incremental) and upto 100 MBps for log backups for HANA**. As mentioned above, these are not guaranteed speeds and depend on following factors:
51
+
**The Azure Backup service attempts to achieve upto ~420 MBps for non-log backups (such as full, differential and incremental) and upto 100 MBps for log backups for HANA**. As mentioned above, these aren't guaranteed speeds and depend on following factors:
51
52
52
53
- Maximum Uncached disk throughput of the VM – read from data or log area.
53
54
- Underlying disk type and its throughput – read from data or log area.
@@ -63,24 +64,27 @@ Since the streams primarily deal with disks, you need to understand the disk per
63
64
If you want to throttle backup service disk IOPS consumption to a maximum value, then perform the following steps.
64
65
65
66
1. Go to the "opt/msawb/bin" folder
66
-
2. Create a new JSON file named "ExtensionSettingOverrides.JSON"
67
+
2. Create a new JSON file named "ExtensionSettingsOverrides.JSON"
67
68
3. Add a key-value pair to the JSON file as follows:
68
69
69
70
```json
70
71
{
71
-
"MaxUsableVMThroughputInMBPS": 200
72
+
"MaxUsableVMThroughputInMBPS": 120
72
73
}
73
74
```
74
75
75
76
4. Change the permissions and ownership of the file as follows:
76
77
77
78
```bash
78
-
chmod 750 ExtensionSettingOverrides.json
79
-
chown root:msawb ExtensionSettingOverrides.json
79
+
chmod 750 ExtensionSettingsOverrides.json
80
+
chown root:msawb ExtensionSettingsOverrides.json
80
81
```
81
82
82
83
5. No restart of any service is required. The Azure Backup service will attempt to limit the throughput performance as mentioned in this file.
83
84
85
+
>[!Note]
86
+
> If the changes aren't applied, restart the databases.
87
+
84
88
## What the pre-registration script does
85
89
86
90
Running the pre-registration script performs the following functions:
@@ -93,7 +97,7 @@ Running the pre-registration script performs the following functions:
93
97
* For MDC: DATABASE ADMIN and BACKUP ADMIN (from HANA 2.0 SPS05 onwards): to create new databases during restore.
94
98
* For SDC: BACKUP ADMIN: to create new databases during restore.
95
99
* CATALOG READ: to read the backup catalog.
96
-
* SAP_INTERNAL_HANA_SUPPORT: to access a few private tables. Only required for SDC and MDC versions below HANA 2.0 SPS04 Rev 46. This is not required for HANA 2.0 SPS04 Rev 46 and above since we are getting the required information from public tables now with the fix from HANA team.
100
+
* SAP_INTERNAL_HANA_SUPPORT: to access a few private tables. Only required for SDC and MDC versions below HANA 2.0 SPS04 Rev 46. This isn't required for HANA 2.0 SPS04 Rev 46 and above since we're getting the required information from public tables now with the fix from HANA team.
97
101
* The script adds a key to **hdbuserstore** for AZUREWLBACKUPHANAUSER for the HANA backup plug-in to handle all operations (database queries, restore operations, configuring and running backup).
98
102
* Alternatively, you could choose to create your own custom Backup user. Ensure that this user is assigned the following required roles and permissions:
99
103
* For MDC: DATABASE ADMIN and BACKUP ADMIN (from HANA 2.0 SPS05 onwards): to create new databases during restore.
0 commit comments