Skip to content

Commit 12156f8

Browse files
authored
Merge pull request #107492 from dcurwin/saphana-march12-2020
changes to saphana docs
2 parents 4697ae9 + b4af122 commit 12156f8

10 files changed

+72
-6
lines changed

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

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,26 @@ Upgrades to OS or SAP HANA that don't cause a SID change can be handled as outli
119119
- Rerun the [pre-registration script](https://aka.ms/scriptforpermsonhana). Usually, we have seen upgrade process removes the necessary roles. Running the pre-registration script will help verify all the required roles.
120120
- [Resume protection](sap-hana-db-manage.md#resume-protection-for-an-sap-hana-database) for the database again
121121

122+
## Re-registration failures
123+
124+
Check for one or more of the following symptoms before you trigger the re-register operation:
125+
126+
- All operations (such as backup, restore, and configure backup) are failing on the VM with one of the following error codes: **WorkloadExtensionNotReachable, UserErrorWorkloadExtensionNotInstalled, WorkloadExtensionNotPresent, WorkloadExtensionDidntDequeueMsg**.
127+
- If the **Backup Status** area for the backup item is showing **Not reachable**, rule out all the other causes that might result in the same status:
128+
129+
- Lack of permission to perform backup-related operations on the VM
130+
- The VM is shutdown, so backups cannot take place
131+
- Network issues
132+
133+
These symptoms may arise for one or more of the following reasons:
134+
135+
- An extension was deleted or uninstalled from the portal.
136+
- The VM was restored back in time through in-place disk restore.
137+
- The VM was shut down for an extended period, so the extension configuration on it expired.
138+
- The VM was deleted, and another VM was created with the same name and in the same resource group as the deleted VM.
139+
140+
In the preceding scenarios, we recommend that you trigger a re-register operation on the VM.
141+
122142
## Next steps
123143

124-
- Review the [frequently asked questions](https://docs.microsoft.com/azure/backup/sap-hana-faq-backup-azure-vm)
125-
about backing up SAP HANA databases on Azure VMs]
144+
- Review the [frequently asked questions](https://docs.microsoft.com/azure/backup/sap-hana-faq-backup-azure-vm) about backing up SAP HANA databases on Azure VMs.
44.7 KB
Loading
64.4 KB
Loading
56.1 KB
Loading
43.6 KB
Loading
70.6 KB
Loading
69.2 KB
Loading
106 KB
Loading

articles/backup/sap-hana-db-manage.md

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ToTo learn more about monitoring, go to [Monitoring in the Azure portal](https:/
5252

5353
Azure Backup makes management of a backed-up SAP HANA database easy with an abundance of management operations that it supports. These operations are discussed in more detail in the following sections.
5454

55-
### Run an ad-hoc backup
55+
### Run an on-demand backup
5656

5757
Backups run in accordance with the policy schedule. You can run a backup on-demand as follows:
5858

@@ -61,6 +61,16 @@ Backups run in accordance with the policy schedule. You can run a backup on-dema
6161
3. In **Backup Now**, use the calendar control to select the last day that the recovery point should be retained. Then click **OK**.
6262
4. Monitor the portal notifications. You can monitor the job progress in the vault dashboard > **Backup Jobs** > **In progress**. Depending on the size of your database, creating the initial backup may take a while.
6363

64+
### HANA native client integration
65+
66+
Now on-demand full backups triggered from any of the HANA native clients will show up as a full backup on the **Backup Items** page.
67+
68+
![Last backups run](./media/sap-hana-db-manage/last-backups.png)
69+
70+
These ad-hoc full backups will also show up in the list of restore points for restore.
71+
72+
![List of restore points](./media/sap-hana-db-manage/list-restore-points.png)
73+
6474
### Run SAP HANA native client backup on a database with Azure backup enabled
6575

6676
If you want to take a local backup (using HANA Studio / Cockpit) of a database that's being backed up with Azure Backup, do the following:
@@ -108,6 +118,37 @@ You can change the underlying policy for an SAP HANA backup item.
108118
>
109119
> Incremental backup policies cannot be used for SAP HANA databases. Incremental backup is not currently supported for these databases.
110120
121+
### Modify Policy
122+
123+
Modify policy to change backup types, frequencies and retention range.
124+
125+
>[!NOTE]
126+
>Any change in the retention period will be applied retroactively to all the older recovery points, in addition to the new ones.
127+
128+
1. In the vault dashboard, go to **Manage > Backup Policies** and choose the policy you want to edit.
129+
130+
![Choose the policy to edit](./media/sap-hana-db-manage/manage-backup-policies.png)
131+
132+
1. Select **Modify**.
133+
134+
![Select Modify](./media/sap-hana-db-manage/modify-policy.png)
135+
136+
1. Choose the frequency for the backup types.
137+
138+
![Choose backup frequency](./media/sap-hana-db-manage/choose-frequency.png)
139+
140+
Policy modification will impact all the associated backup items and trigger corresponding **configure protection** jobs.
141+
142+
### Inconsistent policy
143+
144+
Occasionally a modify policy operation can lead to an **inconsistent** policy version for some backup items. This happens when the corresponding **configure protection** job fails for the backup item after a modify policy operation is triggered. It appears as follows in the backup item view:
145+
146+
![Inconsistent policy](./media/sap-hana-db-manage/inconsistent-policy.png)
147+
148+
You can fix the policy version for all the impacted items in one click:
149+
150+
![Fix policy version](./media/sap-hana-db-manage/fix-policy-version.png)
151+
111152
### Stop protection for an SAP HANA database
112153

113154
You can stop protecting an SAP HANA database in a couple of ways:
@@ -162,7 +203,7 @@ Learn how to continue backup for an SAP HANA database [after upgrading from SAP
162203

163204
Learn how to continue backup of an SAP HANA database whose [SID has not changed after upgrade](backup-azure-sap-hana-database-troubleshoot.md#upgrading-without-an-sid-change).
164205

165-
### Unregister an SAP HANA database
206+
### Unregister an SAP HANA instance
166207

167208
Unregister an SAP HANA instance after you disable protection but before you delete the vault:
168209

@@ -180,6 +221,12 @@ Unregister an SAP HANA instance after you disable protection but before you dele
180221

181222
![Select unregister](./media/sap-hana-db-manage/unregister.png)
182223

224+
### Re-register extension on the SAP HANA server VM
225+
226+
Sometimes the workload extension on the VM may get impacted for one reason or another. In such cases, all the operations triggered on the VM will begin to fail. You may then need to re-register the extension on the VM. Re-register operation reinstalls the workload backup extension on the VM for operations to continue.
227+
228+
Use this option with caution: when triggered on a VM with an already healthy extension, this operation will cause the extension to get restarted. This may cause all the in-progress jobs to fail. Check for one or more of the [symptoms](backup-azure-sap-hana-database-troubleshoot.md#re-registration-failures) before triggering the re-register operation.
229+
183230
## Next steps
184231

185232
* Learn how to [troubleshoot common issues when backing up SAP HANA databases.](https://docs.microsoft.com/azure/backup/backup-azure-sap-hana-database-troubleshoot)

articles/backup/tutorial-backup-sap-hana-db.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ Running the pre-registration script performs the following functions:
9393
* It performs outbound network connectivity checks with Azure Backup servers and dependent services like Azure Active Directory and Azure Storage.
9494
* It logs into your HANA system using the user key listed as part of the [prerequisites](#prerequisites). The user key is used to create a backup user (AZUREWLBACKUPHANAUSER) in the HANA system and the user key can be deleted after the pre-registration script runs successfully.
9595
* AZUREWLBACKUPHANAUSER is assigned these required roles and permissions:
96-
* DATABASE ADMIN: to create new databases during restore.
96+
* DATABASE ADMIN (in case of MDC) and BACKUP ADMIN (in case of SDC): to create new databases during restore.
9797
* CATALOG READ: to read the backup catalog.
9898
* SAP_INTERNAL_HANA_SUPPORT: to access a few private tables.
99-
* The script adds a key to **hdbuserstore** for AZUREWLBACKUPHANAUSER for the HANA plug-in to handle all operations (database queries, restore operations, configuring and running backup).
99+
* 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).
100100

101101
To confirm the key creation, run the HDBSQL command on the HANA machine with SIDADM credentials:
102102

0 commit comments

Comments
 (0)