Skip to content

Commit d36ce93

Browse files
Merge pull request #286453 from AbhishekMallick-MS/Sep-10-2024-EEE
Addressed EEE ask #14777090
2 parents 6e2d935 + 7564c6b commit d36ce93

File tree

1 file changed

+28
-15
lines changed

1 file changed

+28
-15
lines changed

articles/backup/backup-azure-sap-hana-database-troubleshoot.md

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
title: Troubleshoot SAP HANA databases back up errors
33
description: Describes how to troubleshoot common errors that might occur when you use Azure Backup to back up SAP HANA databases.
44
ms.topic: troubleshooting
5-
ms.date: 07/30/2024
5+
ms.date: 09/10/2024
66
ms.service: azure-backup
77
author: AbhishekMallick-MS
88
ms.author: v-abhmallick
9-
ms.custom: engagement-fy24
109
---
1110

1211
# Troubleshoot backup of SAP HANA databases on Azure
@@ -44,8 +43,8 @@ See the [prerequisites](tutorial-backup-sap-hana-db.md#prerequisites) and [What
4443

4544
| **Error message** | `Backup log chain is broken` |
4645
| ------------------ | ------------------------------------------------------------ |
47-
| **Possible causes** | HANA LSN Log chain break can be triggered for various reasons, including:<ul><li>Azure Storage call failure to commit backup.</li><li>The Tenant DB is offline.</li><li>Extension upgrade terminates an in-progress Backup job.</li><li>Unable to connect to Azure Storage during backup.</li><li>SAP HANA has rolled back a transaction in the backup process.</li><li>A backup is complete, but catalog isn't yet updated with success in HANA system.</li><li>Backup failed from Azure Backup perspective, but success from the perspective of HANA — the log backup/catalog destination might have been updated from Backint-to-file system, or the Backint executable might have been changed.</li></ul> |
48-
| **Recommended action** | To resolve this issue, Azure Backup triggers an auto-heal Full backup. While this auto-heal backup is in progress, all log backups are triggered by HANA fail with **OperationCancelledBecauseConflictingAutohealOperationRunningUserError**. Once the auto-heal Full backup is complete, logs and all other backups start working as expected.<br>If you don't see an auto-heal full backup triggered or any successful backup (Full/Differential/ Incremental) in 24 hours, contact Microsoft support.</br> |
46+
| **Possible causes** | HANA LSN Log chain break can be triggered for various reasons, including:<ul><li>Azure Storage call failure to commit backup.</li><li>The Tenant DB is offline.</li><li>Extension upgrade has terminated an in-progress Backup job.</li><li>Unable to connect to Azure Storage during backup.</li><li>SAP HANA has rolled back a transaction in the backup process.</li><li>A backup is complete, but catalog isn't yet updated with success in HANA system.</li><li>Backup failed from Azure Backup perspective, but success from the perspective of HANA — the log backup/catalog destination might have been updated from Backint-to-file system, or the Backint executable might have been changed.</li></ul> |
47+
| **Recommended action** | To resolve this issue, Azure Backup triggers an autoheal Full backup. While this auto-heal backup is in progress, all log backups are triggered by HANA fail with **OperationCancelledBecauseConflictingAutohealOperationRunningUserError**. Once the autoheal Full backup is complete, logs and all other backups start working as expected.<br>If you don't see an autoheal full backup triggered or any successful backup (Full/Differential/ Incremental) in 24 hours, contact Microsoft support.</br> |
4948

5049
### UserErrorSDCtoMDCUpgradeDetected
5150

@@ -66,7 +65,7 @@ See the [prerequisites](tutorial-backup-sap-hana-db.md#prerequisites) and [What
6665
|**Error message** | `The source and target systems for restore are incompatible.` |
6766
|---------|---------|
6867
|**Possible causes** | The restore flow fails with this error when the source and target HANA databases, and systems are incompatible. |
69-
|Recommended action | Ensure that your restore scenario isn't in the following list of possible incompatible restores:<br> **Case 1:** SYSTEMDB can't be renamed during restore.<br>**Case 2:** Source SDC and target MDC: The source database can't be restored as SYSTEMDB or tenant DB on the target. <br> **Case 3:** Source — MDC and target — SDC: The source database (SYSTEMDB or tenant DB) can't be restored to the target.<br>To learn more, see the note **1642148** in the [SAP support launchpad](https://launchpad.support.sap.com). |
68+
|Recommended action | Ensure that your restore scenario isn't in the following list of possible incompatible restores:<br> **Case 1:** SYSTEMDB can't be renamed during restore.<br>**Case 2:** Source - SDC and target - MDC: The source database can't be restored as SYSTEMDB or tenant DB on the target. <br> **Case 3:** Source — MDC and target — SDC: The source database (SYSTEMDB or tenant DB) can't be restored to the target.<br>To learn more, see the note **1642148** in the [SAP support launchpad](https://launchpad.support.sap.com). |
7069

7170
### UserErrorHANAPODoesNotExist
7271

@@ -79,14 +78,14 @@ See the [prerequisites](tutorial-backup-sap-hana-db.md#prerequisites) and [What
7978

8079
**Error message** | `Azure Backup does not have enough privileges to carry out Backup and Restore operations.`
8180
---------- | ---------
82-
**Possible causes** | Backup user (AZUREWLBACKUPHANAUSER) created by the preregistration script doesn't have one or more of the following roles assigned:<ul><li>For MDC, DATABASE ADMIN and BACKUP ADMIN (for HANA 2.0 SPS05 and later) create new databases during restore.</li><li>For SDC, BACKUP ADMIN creates new databases during restore.</li><li>CATALOG READ to read the backup catalog.</li><li>SAP_INTERNAL_HANA_SUPPORT to access a few private tables. Only required for SDC and MDC versions prior to HANA 2.0 SPS04 Rev 46. It's not required for HANA 2.0 SPS04 Rev 46 and later. This is because we're getting the required information from public tables now with the fix from HANA team.</li></ul>
81+
**Possible causes** | Backup user (AZUREWLBACKUPHANAUSER) created by the pre-registration script doesn't have one or more of the following roles assigned:<ul><li>For MDC, DATABASE ADMIN and BACKUP ADMIN (for HANA 2.0 SPS05 and later) create new databases during restore.</li><li>For SDC, BACKUP ADMIN creates new databases during restore.</li><li>CATALOG READ to read the backup catalog.</li><li>SAP_INTERNAL_HANA_SUPPORT to access a few private tables. Only required for SDC and MDC versions prior to HANA 2.0 SPS04 Rev 46. It's not required for HANA 2.0 SPS04 Rev 46 and later. This is because we're getting the required information from public tables now with the fix from HANA team.</li></ul>
8382
**Recommended action** | To resolve the issue, add the required roles and permissions manually to the Backup user (AZUREWLBACKUPHANAUSER). Or, you can download and run the preregistration script on the [SAP HANA instance](https://aka.ms/scriptforpermsonhana).
8483

8584
### UserErrorDatabaseUserPasswordExpired
8685

8786
**Error message** | `Database/Backup user's password expired.`
8887
----------- | -----------
89-
**Possible causes** | The Database/Backup user created by the preregistration script doesn't set expiry for the password. However, if it was altered, you may see this error.
88+
**Possible causes** | The Database/Backup user created by the pre-registration script doesn't set expiry for the password. However, if it was altered, you may see this error.
9089
**Recommended action** | Download and run the [pre-registration script](https://aka.ms/scriptforpermsonhana) on the SAP HANA instance to resolve the issue.
9190

9291
### UserErrorInconsistentSSFS
@@ -139,7 +138,7 @@ See the [prerequisites](tutorial-backup-sap-hana-db.md#prerequisites) and [What
139138

140139
**Error message** | `Pre-registration script not run.`
141140
--------- | --------
142-
**Possible causes** | The SAP HANA preregistration script to set up the environment hasn't been run.
141+
**Possible causes** | The SAP HANA pre-registration script to set up the environment hasn't been run.
143142
**Recommended action** | Download and run the [pre-registration script](https://aka.ms/scriptforpermsonhana) on the SAP HANA instance.
144143

145144

@@ -196,7 +195,7 @@ See the [prerequisites](tutorial-backup-sap-hana-db.md#prerequisites) and [What
196195

197196
**Error message** | `Operation is blocked as the vault has reached its maximum limit for such operations permitted in a span of 24 hours.`
198197
------ | -----------
199-
**Possible causes** | When you've reached the maximum permissible limit for an operation in a span of 24 hours, this error appears. This error usually appears when there are at-scale operations such as modify policy or auto-protection. Unlike the case of CloudDosAbsoluteLimitReached, there isn't much you can do to resolve this state. In fact, Azure Backup service will retry the operations internally for all the items in question.<br><br> For example, if you have a large number of datasources protected with a policy and you try to modify that policy, it'll trigger the configure protection jobs for each of the protected items and sometimes may hit the maximum limit permissible for such operations per day.
198+
**Possible causes** | When you've reached the maximum permissible limit for an operation in a span of 24 hours, this error appears. This error usually appears when there are at-scale operations such as modify policy or auto-protection. Unlike the case of CloudDosAbsoluteLimitReached, there isn't much you can do to resolve this state. In fact, Azure Backup service will retry the operations internally for all the items in question.<br><br> For example, if you have a large number of datasources protected with a policy and you try to modify that policy, it will trigger the configure protection jobs for each of the protected items and sometimes may hit the maximum limit permissible for such operations per day.
200199
**Recommended action** | Azure Backup service will automatically retry this operation after 24 hours.
201200

202201
### UserErrorInvalidBackint
@@ -232,7 +231,7 @@ Note the following points:
232231

233232
### Multiple Container Database (MDC) restore
234233

235-
In multiple container databases for HANA, the standard configuration is SYSTEMDB + 1 or more Tenant DBs. Restore of an entire SAP HANA instance restores both SYSTEMDB and Tenant DBs. One restores SYSTEMDB first and then proceeds for Tenant DB. System DB essentially means to override the system information on the selected target. This restore also overrides the BackInt related information in the target instance. So after the system DB is restored to a target instance, run the preregistration script again. Only then the subsequent tenant DB restores will succeed.
234+
In multiple container databases for HANA, the standard configuration is SYSTEMDB + 1 or more Tenant DBs. Restore of an entire SAP HANA instance restores both SYSTEMDB and Tenant DBs. One restores SYSTEMDB first and then proceeds for Tenant DB. System DB essentially means to override the system information on the selected target. This restore also overrides the BackInt related information in the target instance. So after the system DB is restored to a target instance, run the pre-registration script again. Only then the subsequent tenant DB restores will succeed.
236235

237236
## Back up a replicated VM
238237

@@ -245,7 +244,7 @@ This scenario could include two possible cases. Learn how to back up the replica
245244
1. The new VM created has the same name, and is in the same resource group and subscription as the deleted VM.
246245

247246
- The extension is already present on the VM, but isn't visible to any of the services
248-
- Run the preregistration script
247+
- Run the pre-registration script
249248
- Re-register the extension for the same machine in the Azure portal (**Backup** -> **View details** -> Select the relevant Azure VM -> Re-register)
250249
- The already existing backed up databases (from the deleted VM) should then start successfully being backed up
251250

@@ -257,7 +256,7 @@ This scenario could include two possible cases. Learn how to back up the replica
257256
If so, then follow these steps:
258257

259258
- The extension is already present on the VM, but isn't visible to any of the services
260-
- Run the preregistration script
259+
- Run the pre-registration script
261260
- If you discover and protect the new databases, you start seeing duplicate active databases in the portal. To avoid this, [Stop protection with retain data](sap-hana-db-manage.md#stop-protection-for-an-sap-hana-database) for the old databases. Then continue with the remaining steps.
262261
- Discover the databases
263262
- Enable backups on these databases
@@ -270,9 +269,9 @@ The original VM was replicated using Azure Site Recovery or Azure VM backup. The
270269
Follow these steps to enable backups on the new VM:
271270

272271
- The extension is already present on the VM, but not visible to any of the services
273-
- Run the preregistration script. Based on the SID of the new VM, two scenarios can arise:
274-
- The original VM and the new VM have the same SID. The preregistration script runs successfully.
275-
- The original VM and the new VM have different SIDs. The preregistration script fails. Contact support to get help in this scenario.
272+
- Run the pre-registration script. Based on the SID of the new VM, two scenarios can arise:
273+
- The original VM and the new VM have the same SID. The pre-registration script runs successfully.
274+
- The original VM and the new VM have different SIDs. The pre-registration script fails. Contact Microsoft support to get help in this scenario.
276275
- Discover the databases that you want to back up
277276
- Enable backups on these databases
278277

@@ -333,6 +332,20 @@ These symptoms might arise for one or more of the following reasons:
333332

334333
In the preceding scenarios, we recommend that you trigger a re-register operation on the VM.
335334

335+
## Back up SAP HANA database logs
336+
337+
### Log backup isn't triggered despite the full backup's success.
338+
339+
**Possible cause**: The values for SAP HANA database are incorrect to trigger log backup.
340+
341+
**Recommended action**: Ensure that the following values for SAP HANA configuration are set correctly:
342+
343+
- `enable_auto_log_backup`: Yes
344+
- `log_backup_using_backint`: True
345+
- `catalog_backup_using_backint`: True
346+
- `log_mode`: normal
347+
- `log_backup_timeout_s`: Same as Azure portal's log backup policy (frequency is in seconds).
348+
336349
## Next step
337350

338351
- Review the [frequently asked questions](./sap-hana-faq-backup-azure-vm.yml) about the backup of SAP HANA databases on Azure VMs.

0 commit comments

Comments
 (0)