You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/sap/workloads/disaster-recovery-sap-hana.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ Requirements for additional HSR sites are different for HANA scale-up and HANA s
41
41
-**Both scale-up and scale-out**: Maximum of one SAP HANA system replication connected from outside the Linux cluster.
42
42
-**HANA scale-out only**: SLES 15 SP1 or higher.
43
43
-**HANA scale-out only**: Operating system (OS) package SAPHanaSR-ScaleOut version 0.180 or higher.
44
-
-**HANA scale-out only**: SAP HANA high-availability (HA) hook [SAPHanaSrMultiTarget](./sap-hana-high-availability-scale-out-hsr-suse.md#implement-hana-ha-hooks-saphanasrmultitarget-and-suschksrv) in use. Preview HANA HA hook `SAPHanaSR` isn't multitarget aware for scale-out.
44
+
-**HANA scale-out only**: SAP HANA high-availability (HA) hooks [susHanaSR or SAPHanaSrMultiTarget](./sap-hana-high-availability-scale-out-hsr-suse.md#implement-hana-resource-agents) in use. Older HANA HA hook `SAPHanaSR` isn't multitarget aware for scale-out.
45
45
46
46
## Prerequisites for RHEL
47
47
@@ -120,7 +120,7 @@ The following example shows a multitarget system replication system. For more in
120
120
121
121
## HANA scale-out: Add HANA multitarget system replication for DR purposes
122
122
123
-
With the SAP HANA HA provider [SAPHanaSrMultiTarget](./sap-hana-high-availability-scale-out-hsr-suse.md#implement-hana-ha-hooks-saphanasrmultitarget-and-suschksrv), you can add a third HANA scale-out site. This third site is often used for DR in another Azure region. The Pacemaker environment is aware of a HANA multitarget DR setup. This section applies to systems running Pacemaker on SUSE only. See the "Prerequisites" section in this document for details.
123
+
With the SAP HANA HA providers [susHanaSR or SAPHanaSrMultiTarget](./sap-hana-high-availability-scale-out-hsr-suse.md#implement-hana-resource-agents), you can add a third HANA scale-out site. This third site is often used for DR in another Azure region. The Pacemaker environment is aware of a HANA multitarget DR setup. This section applies to systems running Pacemaker on SUSE only. See the "Prerequisites" section in this document for details.
124
124
125
125
Failure of the third node doesn't trigger any cluster action. The cluster detects the replication status of connected sites and the monitored attribute for the third site can change between the `SOK` and `SFAIL` states. Any takeover tests to the third/DR site or executing your DR exercise process should first place the cluster resources into maintenance mode to prevent any undesired cluster action.
> The timeouts in the above configuration are just examples and may need to be adapted to the specific HANA setup. For instance, you may need to increase the start timeout, if it takes longer to start the SAP HANA database.
1211
1211
1212
-
1213
-
1214
-
1215
-
1216
-
1217
-
1218
-
1219
-
1220
-
## Create SAP HANA cluster resources
1221
-
1222
-
1. **[1]** Create the HANA cluster resources. Execute the following commands as `root`.
1223
-
1224
-
1. Make sure the cluster is already maintenance mode.
meta clone-node-max="1" target-role="Started" interleave="true"
1237
-
```
1238
-
1239
-
3. Next, create the HANA instance resource.
1240
-
1241
-
> [!NOTE]
1242
-
> This article contains references to terms that Microsoft no longer uses. When these terms are removed from the software, we'll remove them from this article.
sudo crm configure ms msl_SAPHana_HN1_HDB03 rsc_SAPHana_HN1_HDB03 \
1255
-
meta clone-node-max="1" master-max="1" interleave="true"
1256
-
```
1257
-
1258
-
> [!IMPORTANT]
1259
-
> We recommend as a best practice that you only set AUTOMATED_REGISTER to **no**, while performing thorough fail-over tests, to prevent failed primary instance to automatically register as secondary. Once the fail-over tests have completed successfully, set AUTOMATED_REGISTER to **yes**, so that after takeover system replication can resume automatically.
4. **[1]** Verify the communication between the HANA HA hook and the cluster, showing status SOK for SID and both replication sites with status P(rimary) or S(econdary).
1310
-
1311
-
```bash
1312
-
sudo /usr/sbin/SAPHanaSR-showAttr
1313
-
# Expected result
1314
-
# Global cib-time maintenance prim sec sync_state upd
# HN1 Fri Jan 27 10:38:46 2023 false HANA_S1 - SOK ok
1317
-
#
1318
-
# Sites lpt lss mns srHook srr
1319
-
# -----------------------------------------------
1320
-
# HANA_S1 1674815869 4 hana-s1-db1 PRIM P
1321
-
# HANA_S2 30 4 hana-s2-db1 SWAIT S
1322
-
```
1323
-
1324
-
> [!NOTE]
1325
-
> The timeouts in the above configuration are just examples and may need to be adapted to the specific HANA setup. For instance, you may need to increase the start timeout, if it takes longer to start the SAP HANA database.
0 commit comments