Skip to content

Commit b7b76b9

Browse files
authored
Merge pull request #244853 from AbhishekMallick-MS/Jul-13-2023-HSR
HSR updates
2 parents 3866932 + e9c4ff9 commit b7b76b9

File tree

2 files changed

+32
-14
lines changed

2 files changed

+32
-14
lines changed
Loading

articles/backup/sap-hana-database-with-hana-system-replication-backup.md

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
title: Back up SAP HANA System Replication databases on Azure VMs
33
description: In this article, discover how to back up SAP HANA databases with HANA System Replication enabled.
44
ms.topic: how-to
5-
ms.date: 07/11/2023
5+
ms.date: 07/14/2023
66
ms.service: backup
77
ms.custom: ignite-2022
88
author: AbhishekMallick-MS
99
ms.author: v-abhmallick
1010
---
1111

12-
# Back up SAP HANA System Replication databases on Azure VMs (preview)
12+
# Back up SAP HANA System Replication databases on Azure VMs
1313

1414
SAP HANA databases are critical workloads that require a low recovery-point objective (RPO) and long-term retention. This article describes how you can back up SAP HANA databases that are running on Azure virtual machines (VMs) to an Azure Backup Recovery Services vault by using [Azure Backup](backup-overview.md).
1515

16-
You can also switch the protection of SAP HANA database on Azure VM (standalone) on Azure Backup to HSR. [Learn more](#switch-database-protection-from-standalone-to-hsr-on-azure-backup).
16+
You can also switch the protection of SAP HANA database on Azure VM (standalone) on Azure Backup to HSR. [Learn more](#possible-scenarios-to-protect-hsr-nodes-on-azure-backup).
1717

1818
>[!Note]
1919
>- The support for **HSR + DR** scenario is currently not available because there is a restriction to have VM and Vault in the same region.
@@ -59,6 +59,8 @@ When a failover occurs, the users are replicated to the new primary, but *hdbuse
5959
hdbuserstore set SYSTEMKEY <load balancer host/ip>:30013@SYSTEMDB <custom-user> '<some-password>'
6060
```
6161

62+
:::image type="content" source="./media/sap-hana-database-with-hana-system-replication-backup/pass-custom-backup-user-key-to-script-as-parameter-architecture.png" alt-text="Diagram explains the flow to pass the custom backup user key to the script as a parameter." lightbox="./media/sap-hana-database-with-hana-system-replication-backup/pass-custom-backup-user-key-to-script-as-parameter-architecture.png":::
63+
6264
>[!Note]
6365
>You can create a custom backup key using the load balancer host/IP instead of local host to use Virtual IP (VIP).
6466
@@ -230,29 +232,45 @@ Backups run in accordance with the policy schedule. Learn how to [run an on-dema
230232

231233
You can run an on-demand backup using SAP HANA native clients to local file-system instead of Backint. Learn more how to [manage operations using SAP native clients](sap-hana-database-manage.md#manage-operations-using-sap-hana-native-clients).
232234

233-
## Switch database protection from standalone to HSR on Azure Backup
235+
236+
## Possible scenarios to protect HSR nodes on Azure Backup
234237

235238
You can now switch the protection of SAP HANA database on Azure VM (standalone) on Azure Backup to HSR. If you’ve already configured HSR and protecting only the primary node using Azure Backup, you can modify the configuration to protect both primary and secondary nodes.
236239

237-
Follow these steps:
240+
### Two standalone/HSR nodes never protected using SAP HANA Database backup on Azure VM
241+
242+
1. (Mandatory) [Run the latest preregistration script on both primary and secondary VM nodes](#run-the-preregistration-script).
238243

239-
1. On standalone VM, Primary node, or Secondary node (once protected using Azure Backup), go to *vault* > **Backup Items** > **SAP HANA in Azure VM** > **View Details** > **Stop backup**, and then select **Retain backup data** > **Stop backup** to stop backup and retain data.
244+
>[!Note]
245+
>HSR-based attributes are added to the latest preregistration script - //link here )
246+
247+
1. Configure HSR manually or using any clustering tools, such as **pacemaker**,
240248

241-
2. (Mandatory) [Run the latest preregistration script](sap-hana-database-with-hana-system-replication-backup.md#run-the-preregistration-script) on both primary and condary VM nodes
249+
Skip to the next step if HSR configuration is already complete.
242250

243-
The preregistration script contains the HSR attributes.
251+
1. Discover and configure backup for those VMs.
244252

245-
3. [Configure HSR manually](sap-hana-database-with-hana-system-replication-backup.md#configure-backup).
246-
You can also configure the backup with clustering tools, such as **Pacemaker**.
253+
>[!Note]
254+
>For HSR deployments, Protected Instance cost is charged to HSR logical container (two nodes - primary and secondary) will form a single HSR logical container.
255+
256+
1. Before a planned failover, [ensure that both VMs/Nodes are registered to the vault (physical and logical registration)](sap-hana-database-manage.md#verify-the-registration-status-of-vms-or-nodes-to-the-vault).
257+
258+
### Two standalone VMs/ One standalone VM already protected using SAP HANA Database backup on Azure VM
259+
260+
1. To stop backup and retain data, go to the *vault* > **Backup Items** > **SAP HANA in Azure VM**, and then select **View Details** > **Stop backup** > **Retain backup data** > **Stop backup**.
261+
1. (Mandatory) [Run the latest preregistration script on both primary and secondary VM nodes](#run-the-preregistration-script).
262+
263+
>[!Note]
264+
>HSR-based attributes are added to the latest preregistration script - //link here )
247265
248-
Skip this step if HSR configuration is complete.
266+
1. Configure HSR manually or using any clustering tools like pacemaker.
249267

250-
4. Add the Primary and secondary nodes to Azure Backup, [rediscover the databases](sap-hana-database-with-hana-system-replication-backup.md#discover-the-databases), and [resume protection](sap-hana-database-manage.md#resume-protection-for-an-sap-hana-database-or-hana-instance).
268+
1. Discover the VMs and configure backup on HSR logical instance.
251269

252270
>[!Note]
253-
>For HSR deployments, Protected Instance cost is charged to HSR container. Two nodes (primary and secondary) will form a single HSR logical container and storage cost is charged as applicable.
271+
>For HSR deployments, Protected Instance cost will be charged to HSR logical container (two nodes - primary and / secondary) will form a single HSR logical container.
254272
255-
5. Before a planned failover, [ensure that both VMs/Nodes are registered to the vault (physical and logical registration)](sap-hana-database-manage.md#verify-the-registration-status-of-vms-or-nodes-to-the-vault).
273+
1. Before a planned failover, [ensure that both VMs/Nodes are registered to the vault (physical and logical registration)](sap-hana-database-manage.md#verify-the-registration-status-of-vms-or-nodes-to-the-vault).
256274

257275
## Next steps
258276

0 commit comments

Comments
 (0)