Skip to content

Commit d2e32c3

Browse files
author
David Curwin
committed
latest updates
1 parent 6eec90c commit d2e32c3

File tree

3 files changed

+16
-38
lines changed

3 files changed

+16
-38
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ In this article, you will learn how to:
2525
2626
## Prerequisites
2727

28-
Refer to the [prerequisites](tutorial-backup-sap-hana-db.md#prerequisites) and [setting up permissions](tutorial-backup-sap-hana-db.md#setting-up-permissions) sections to set up the database for backup.
28+
Refer to the [prerequisites](tutorial-backup-sap-hana-db.md#prerequisites) and the [What the pre-registration script does](tutorial-backup-sap-hana-db.md#what-the-pre-registration-script-does) sections to set up the database for backup.
2929

3030
### Set up network connectivity
3131

articles/backup/sap-hana-backup-support-matrix.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Azure Backup supports the backup of SAP HANA databases to Azure. This article su
1717
| **Scenario** | **Supported configurations** | **Unsupported configurations** |
1818
| -------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
1919
| **Topology** | SAP HANA running in Azure Linux VMs only | HANA Large Instances (HLI) |
20-
| **Geos** | **GA:**<br />**Europe**West Europe, North Europe, France Central, UK South, UK West, Germany North, Germany West Central, Switzerland North, Switzerland West<br />**Asia Pacific** – Australia Central, Australia Central 2, Australia East, Australia Southeast, Japan East, Japan West, Korea Central, Korea South<br /><br>**Preview:**<br />**Americas**Central US, East US 2, East US, North Central US, South Central US, West US 2, West Central US, West US, Canada Central, Canada East <br />**Asia Pacific** – East Asia, Southeast Asia, Central India, South India | China East, China North, China East2, China North 2, West India, Central Switzerland North, South Africa North, South Africa West, UAE North, UAE Central, Azure Government regions, France South, Brazil South |
21-
| **OS versions** | SLES 12 with SP2, SP3, or SP4 | SLES 15, RHEL |
22-
| **HANA versions** | SDC on HANA 1.x, MDC on HANA 2.x <= SPS04 Rev 44 | - |
20+
| **Geos** | **GA:**<br> **Americas**Central US, East US 2, East US, North Central US, South Central US, West US 2, West Central US, West US, Canada Central, Canada East, Brazil South <br> **Asia Pacific** – Australia Central, Australia Central 2, Australia East, Australia Southeast, Japan East, Japan West, Korea Central, Korea South, East Asia, Southeast Asia, Central India, South India, West India <br> **Europe**West Europe, North Europe, France Central, UK South, UK West, Germany North, Germany West Central, Switzerland North, Switzerland West <br> **Azure Government regions** | China East, China North, China East2, China North 2, Central Switzerland North, South Africa North, South Africa West, UAE North, UAE Central, France South |
21+
| **OS versions** | SLES 12 with SP2, SP3, or SP4; SLES 15 | RHEL |
22+
| **HANA versions** | SDC on HANA 1.x, MDC on HANA 2.x <= SPS04 Rev 45 | - |
2323
| **HANA deployments** | SAP HANA on a single Azure VM - Scale up only | Scale-out |
2424
| **HANA Instances** | A single SAP HANA instance on a single Azure VM – scale up only | Multiple SAP HANA instances on a single VM |
2525
| **HANA database types** | Single Database Container (SDC) ON 1.x, Multi-Database Container (MDC) on 2.x | MDC in HANA 1.x |

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

Lines changed: 12 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Tutorial - Back up SAP HANA databases in Azure VMs
33
description: In this tutorial, learn how to back up SAP HANA databases running on Azure VM to an Azure Backup Recovery Services vault.
44
ms.topic: tutorial
5-
ms.date: 11/12/2019
5+
ms.date: 02/24/2020
66
---
77

88
# Tutorial: Back up SAP HANA databases in an Azure VM
@@ -33,20 +33,12 @@ Onboard to the public preview as follows:
3333
3434
Make sure you do the following before configuring backups:
3535
36-
1. On the VM running the SAP HANA database, install and enable ODBC driver packages from the official SLES package/media using zypper, as follows:
37-
38-
```bash
39-
sudo zypper update
40-
sudo zypper install unixODBC
41-
```
42-
43-
>[!NOTE]
44-
> If you are not updating the repositories, make sure the version of unixODBC is minimum 2.3.4. To know the version of uniXODBC, run `odbcinst -j` as root
45-
>
46-
47-
2. Allow connectivity from the VM to the internet, so that it can reach Azure, as described in the [procedure below](#set-up-network-connectivity).
48-
49-
3. Run the pre-registration script in the virtual machine where HANA is installed as a root user. [This script](https://aka.ms/scriptforpermsonhana) will set the [right permissions](#setting-up-permissions).
36+
* Allow connectivity from the VM to the internet, so that it can reach Azure, as described in the [set up network connectivity](#set-up-network-connectivity) procedure below.
37+
* A key should exist in the **hdbuserstore** that fulfills the following criteria:
38+
* It should be present in the default **hdbuserstore**
39+
* For MDC, the key should point to the SQL port of **NAMESERVER**. In the case of SDC it should point to the SQL port of **INDEXSERVER**
40+
* It should have credentials to add and delete users
41+
* Run the SAP HANA backup configuration script (pre-registration script) in the virtual machine where HANA is installed, as the root user. [This script](https://aka.ms/scriptforpermsonhana) gets the HANA system ready for backup. Refer to the [What the pre-registration script does](#what-the-pre-registration-script-does) section to understand more about the pre-registration script.
5042
5143
## Set up network connectivity
5244
@@ -105,27 +97,13 @@ Use NSG service tags | Easier to manage as range changes are automatically merge
10597
Use Azure Firewall FQDN tags | Easier to manage as the required FQDNs are automatically managed | Can be used with Azure Firewall only
10698
Use an HTTP proxy | Granular control in the proxy over the storage URLs is allowed <br/><br/> Single point of internet access to VMs <br/><br/> Not subject to Azure IP address changes | Additional costs to run a VM with the proxy software
10799
108-
## Setting up permissions
100+
## What the pre-registration script does
109101
110-
The pre-registration script performs the following actions:
102+
Running the pre-registration script performs the following functions:
111103
112-
1. Creates AZUREWLBACKUPHANAUSER in the HANA system and adds these required roles and permissions:
113-
* DATABASE ADMIN: to create new DBs during restore.
114-
* CATALOG READ: to read the backup catalog.
115-
* SAP_INTERNAL_HANA_SUPPORT: to access a few private tables.
116-
2. Adds a key to Hdbuserstore for the HANA plug-in to handle all operations (database queries, restore operations, configuring and running backup).
117-
118-
To confirm the key creation, run the HDBSQL command on the HANA machine with SIDADM credentials:
119-
120-
```hdbsql
121-
hdbuserstore list
122-
```
123-
124-
The command output should display the {SID}{DBNAME} key, with the user shown as AZUREWLBACKUPHANAUSER.
125-
126-
>[!NOTE]
127-
> Make sure you have a unique set of SSFS files under /usr/sap/{SID}/home/.hdb/. There should be only one folder in this path.
128-
>
104+
* It installs or updates any necessary packages required by the Azure Backup agent on your distribution.
105+
* It performs outbound network connectivity checks with Azure Backup servers and dependent services like Azure Active Directory and Azure Storage.
106+
* It logs into your HANA system using the SYSTEM user key from your **hdbuserstore**, and creates a backup user and a key. This user will allow the backup agent to discover, backup and restore databases in your HANA system.
129107
130108
## Create a Recovery Service vault
131109

0 commit comments

Comments
 (0)