Skip to content

Commit d7cbb04

Browse files
authored
Merge pull request #115649 from dcurwin/saphana-may19-2020
Updates to SAPHANA troubleshooting
2 parents 3a09d94 + 056b6e8 commit d7cbb04

File tree

3 files changed

+81
-30
lines changed

3 files changed

+81
-30
lines changed

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

Lines changed: 75 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,12 @@ Refer to the [prerequisites](tutorial-backup-sap-hana-db.md#prerequisites) and [
5757
| **Possible causes** | The log backup destination may have been updated from backint to file system or the backint executable may have been changed |
5858
| **Recommended action** | Trigger a full backup to resolve the issue |
5959

60-
### UserErrorIncomaptibleSrcTargetSystsemsForRestore
61-
62-
| Error Message | <span style="font-weight:normal">The source and target systems for restore are incompatible</span> |
63-
| ------------------ | ------------------------------------------------------------ |
64-
| **Possible causes** | The target system for restore is incompatible with the source |
65-
| **Recommended action** | Refer to the SAP Note [1642148](https://launchpad.support.sap.com/#/notes/1642148) to learn about the restore types supported today |
66-
6760
### UserErrorSDCtoMDCUpgradeDetected
6861

6962
| Error Message | <span style="font-weight:normal">SDC to MDC upgrade detected</span> |
7063
| ------------------ | ------------------------------------------------------------ |
7164
| **Possible causes** | The SAP HANA instance has been upgraded from SDC to MDC. Backups will fail after the update. |
72-
| **Recommended action** | Follow the steps listed in the [Upgrading from SAP HANA 1.0 to 2.0 section](https://docs.microsoft.com/azure/backup/backup-azure-sap-hana-database-troubleshoot#upgrading-from-sap-hana-10-to-20) to resolve the issue |
65+
| **Recommended action** | Follow the steps listed in the [SDC to MDC upgrade](https://docs.microsoft.com/azure/backup/backup-azure-sap-hana-database-troubleshoot#sdc-to-mdc-upgrade-with-a-change-in-sid) to resolve the issue |
7366

7467
### UserErrorInvalidBackintConfiguration
7568

@@ -83,7 +76,7 @@ Refer to the [prerequisites](tutorial-backup-sap-hana-db.md#prerequisites) and [
8376
|Error Message |The source and target systems for restore are incompatible |
8477
|---------|---------|
8578
|Possible causes | The source and target systems selected for restore are incompatible |
86-
|Recommended action | Ensure that your restore scenario is not in the following list of possible incompatible restores: <br><br> **Case 1:** SYSTEMDB cannot be renamed during restore. <br><br> **Case 2:** Source - SDC and target - MDC : The source database cannot be restored as SYSTEMDB or tenant DB on the target. <br><br> **Case 3:** Source - MDC and target - SDC : The source database (SYSTEMDB or tenant DB) cannot be restored to the target. <br><br> For more information, refer to the note 1642148 in the [SAP support launchpad](https://launchpad.support.sap.com). |
79+
|Recommended action | Ensure that your restore scenario isn't in the following list of possible incompatible restores: <br><br> **Case 1:** SYSTEMDB cannot be renamed during restore. <br><br> **Case 2:** Source - SDC and target - MDC: The source database cannot be restored as SYSTEMDB or tenant DB on the target. <br><br> **Case 3:** Source - MDC and target - SDC: The source database (SYSTEMDB or tenant DB) cannot be restored to the target. <br><br> For more information, see note **1642148** in the [SAP support launchpad](https://launchpad.support.sap.com). |
8780

8881
## Restore checks
8982

@@ -106,25 +99,83 @@ Note the following points:
10699

107100
In multiple container databases for HANA, the standard configuration is SYSTEMDB + 1 or more Tenant DBs. Restoring an entire SAP HANA instance means to restore 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.
108101

109-
## Upgrading from SAP HANA 1.0 to 2.0
102+
## Back up a replicated VM
103+
104+
### Scenario 1
105+
106+
The original VM was replicated using Azure Site Recovery or Azure VM backup. The new VM was built to simulate the old VM. That is, the settings are exactly the same. (This is because the original VM was deleted and the restore was done from VM backup or Azure Site Recovery).
107+
108+
This scenario could include two possible cases. Learn how to back up the replicated VM in both of these cases:
109+
110+
1. The new VM created has the same name, and is in the same resource group and subscription as the deleted VM.
111+
112+
- The extension is already present on the VM, but isn't visible to any of the services
113+
- Run the pre-registration script
114+
- Re-register the extension for the same machine in the Azure portal (**Backup** -> **View details** -> Select the relevant Azure VM -> Re-register)
115+
- The already existing backed up databases (from the deleted VM) should then start successfully being backed up
116+
117+
2. The new VM created has either:
118+
119+
- a different name than the deleted VM
120+
- the same name as the deleted VM but is in a different resource group or subscription (as compared to the deleted VM)
121+
122+
If this is the case, then do the following steps:
123+
124+
- The extension is already present on the VM, but isn't visible to any of the services
125+
- Run the pre-registration script
126+
- If you discover and protect the new databases, you'll 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.
127+
- Discover the databases to enable backup
128+
- Enable backups on these databases
129+
- The already existing backed up databases (from the deleted VM) will continue to be stored in the vault (with their backups being retained according to the policy)
130+
131+
### Scenario 2
132+
133+
The original VM was replicated using Azure Site Recovery or Azure VM backup. The new VM was built out of the content – to be used as a template. This is a new VM with a new SID.
134+
135+
Follow these steps to enable backups on the new VM:
136+
137+
- The extension is already present on the VM, but not visible to any of the services
138+
- Run the pre-registration script. Based on the SID of the new VM, two scenarios can arise:
139+
- The original VM and the new VM have the same SID. The pre-registration script will run successfully.
140+
- The original VM and the new VM have different SIDs. The pre-registration script will fail. Contact support to get help in this scenario.
141+
- Discover the databases that you want to back up
142+
- Enable backups on these databases
143+
144+
## SDC version upgrade or MDC version upgrade on the same VM
145+
146+
Upgrades to the OS, SDC version change, or MDC version change that don't cause a SID change can be handled as follows:
147+
148+
- Ensure that the new OS version, SDC, or MDC version are currently [supported by Azure Backup](sap-hana-backup-support-matrix.md#scenario-support)
149+
- [Stop protection with retain data](sap-hana-db-manage.md#stop-protection-for-an-sap-hana-database) for the database
150+
- Perform the upgrade or update
151+
- Rerun the pre-registration script. Usually, the upgrade process removes the necessary roles. Running the pre-registration script will help verify all the required roles
152+
- Resume protection for the database again
153+
154+
## SDC to MDC upgrade with no change in SID
110155

111-
If you're protecting SAP HANA 1.0 databases and wish to upgrade to 2.0, then perform the following steps:
156+
Upgrades from SDC to MDC that don't cause a SID change can be handled as follows:
112157

113-
- [Stop protection](sap-hana-db-manage.md#stop-protection-for-an-sap-hana-database) with retain data for old SDC database.
114-
- Perform the upgrade. After completion, the HANA is now MDC with a system DB and tenant DB(s)
115-
- Rerun [pre-registration script](https://aka.ms/scriptforpermsonhana) with correct details of (sid and mdc).
116-
- Re-register extension for the same machine in Azure portal (Backup -> view details -> Select the relevant Azure VM -> Re-register).
117-
- Click Rediscover DBs for the same VM. This action should show the new DBs in step 2 with correct details (SYSTEMDB and Tenant DB, not SDC).
118-
- Configure backup for these new databases.
158+
- Ensure that the new MDC version is currently [supported by Azure Backup](sap-hana-backup-support-matrix.md#scenario-support)
159+
- [Stop protection with retain data](sap-hana-db-manage.md#stop-protection-for-an-sap-hana-database) for the old SDC database
160+
- Perform the upgrade. After completion, the HANA system is now MDC with a system DB and tenant DBs
161+
- Rerun the [pre-registration script](https://aka.ms/scriptforpermsonhana)
162+
- Re-register the extension for the same machine in the Azure portal (**Backup** -> **View details** -> Select the relevant Azure VM -> Re-register)
163+
- Click **Rediscover DBs** for the same VM. This action should show the new DBs in step 3 as SYSTEMDB and Tenant DB, not SDC
164+
- The older SDC database will continue to exist in the vault and have old backed-up data retained according to the policy
165+
- Configure backup for these databases
119166

120-
## Upgrading without an SID change
167+
## SDC to MDC upgrade with a change in SID
121168

122-
Upgrades to OS or SAP HANA that don't cause a SID change can be handled as outlined below:
169+
Upgrades from SDC to MDC that cause a SID change can be handled as follows:
123170

124-
- [Stop protection](sap-hana-db-manage.md#stop-protection-for-an-sap-hana-database) with retain data for the database
125-
- Perform the upgrade.
126-
- 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.
127-
- [Resume protection](sap-hana-db-manage.md#resume-protection-for-an-sap-hana-database) for the database again
171+
- Ensure that the new MDC version is currently [supported by Azure Backup](sap-hana-backup-support-matrix.md#scenario-support)
172+
- **Stop protection with retain data** for the old SDC database
173+
- Perform the upgrade. After completion, the HANA system is now MDC with a system DB and tenant DBs
174+
- Rerun the [pre-registration script](https://aka.ms/scriptforpermsonhana) with correct details (new SID and MDC). Due to a change in SID, you may face issues with successfully running the script. Contact Azure Backup support if you face issues.
175+
- Re-register the extension for the same machine in the Azure portal (**Backup** -> **View details** -> Select the relevant Azure VM -> Re-register)
176+
- Click **Rediscover DBs** for the same VM. This action should show the new DBs in step 3 as SYSTEMDB and Tenant DB, not SDC
177+
- The older SDC database will continue to exist in the vault and have old backed up data retained according to the policy
178+
- Configure backup for these databases
128179

129180
## Re-registration failures
130181

@@ -134,7 +185,7 @@ Check for one or more of the following symptoms before you trigger the re-regist
134185
- 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:
135186

136187
- Lack of permission to perform backup-related operations on the VM
137-
- The VM is shutdown, so backups cannot take place
188+
- The VM is shut down, so backups can't take place
138189
- Network issues
139190

140191
These symptoms may arise for one or more of the following reasons:

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,13 @@ To resume protection for an SAP HANA database:
203203

204204
* On the **Backup policy** menu, select a policy, and then select **Save**.
205205

206-
### Upgrading from SAP HANA 1.0 to 2.0
206+
### Upgrading from SDC to MDC
207207

208-
Learn how to continue backup for an SAP HANA database [after upgrading from SAP HANA 1.0 to 2.0](backup-azure-sap-hana-database-troubleshoot.md#upgrading-from-sap-hana-10-to-20).
208+
Learn how to continue backup for an SAP HANA database [after upgrading from SDC to MDC](backup-azure-sap-hana-database-troubleshoot.md#sdc-to-mdc-upgrade-with-a-change-in-sid).
209209

210-
### Upgrading without a SID change
210+
### Upgrading from SDC to MDC without a SID change
211211

212-
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).
212+
Learn how to continue backup of an SAP HANA database whose [SID has not changed after upgrade from SDC to MDC](backup-azure-sap-hana-database-troubleshoot.md#sdc-to-mdc-upgrade-with-no-change-in-sid).
213213

214214
### Unregister an SAP HANA instance
215215

articles/backup/sap-hana-faq-backup-azure-vm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ Refer to the [prerequisites](tutorial-backup-sap-hana-db.md#prerequisites) and [
4444

4545
Running the pre-registration script sets the required permissions to allow Azure to back up SAP HANA databases. You can find more what the pre-registration script does [here](tutorial-backup-sap-hana-db.md#what-the-pre-registration-script-does).
4646

47-
### Will backups work after migrating SAP HANA from 1.0 to 2.0?
47+
### Will backups work after migrating SAP HANA from SDC to MDC?
4848

49-
Refer to [this section](https://docs.microsoft.com/azure/backup/backup-azure-sap-hana-database-troubleshoot#upgrading-from-sap-hana-10-to-20) of the troubleshooting guide.
49+
Refer to [this section](https://docs.microsoft.com/azure/backup/backup-azure-sap-hana-database-troubleshoot#sdc-to-mdc-upgrade-with-a-change-in-sid) of the troubleshooting guide.
5050

5151
### Can Azure HANA Backup be set up against a virtual IP (load balancer) and not a virtual machine?
5252

0 commit comments

Comments
 (0)