Skip to content

Commit 8c137aa

Browse files
committed
Update links
1 parent 96cb2f5 commit 8c137aa

File tree

2 files changed

+2
-117
lines changed

2 files changed

+2
-117
lines changed

articles/sap/workloads/disaster-recovery-sap-hana.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Requirements for additional HSR sites are different for HANA scale-up and HANA s
4141
- **Both scale-up and scale-out**: Maximum of one SAP HANA system replication connected from outside the Linux cluster.
4242
- **HANA scale-out only**: SLES 15 SP1 or higher.
4343
- **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.
4545

4646
## Prerequisites for RHEL
4747

@@ -120,7 +120,7 @@ The following example shows a multitarget system replication system. For more in
120120
121121
## HANA scale-out: Add HANA multitarget system replication for DR purposes
122122
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.
124124
125125
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.
126126

articles/sap/workloads/sap-hana-high-availability-scale-out-hsr-suse.md

Lines changed: 0 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,121 +1209,6 @@ sudo /usr/sbin/SAPHanaSR-showAttr
12091209
> [!NOTE]
12101210
> 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.
12111211
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.
1225-
1226-
2. Next, create the HANA Topology resource.
1227-
1228-
```bash
1229-
sudo crm configure primitive rsc_SAPHanaTopology_HN1_HDB03 ocf:suse:SAPHanaTopology \
1230-
op monitor interval="10" timeout="600" \
1231-
op start interval="0" timeout="600" \
1232-
op stop interval="0" timeout="300" \
1233-
params SID="HN1" InstanceNumber="03"
1234-
1235-
sudo crm configure clone cln_SAPHanaTopology_HN1_HDB03 rsc_SAPHanaTopology_HN1_HDB03 \
1236-
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.
1243-
1244-
```bash
1245-
sudo crm configure primitive rsc_SAPHana_HN1_HDB03 ocf:suse:SAPHanaController \
1246-
op start interval="0" timeout="3600" \
1247-
op stop interval="0" timeout="3600" \
1248-
op promote interval="0" timeout="3600" \
1249-
op monitor interval="60" role="Master" timeout="700" \
1250-
op monitor interval="61" role="Slave" timeout="700" \
1251-
params SID="HN1" InstanceNumber="03" PREFER_SITE_TAKEOVER="true" \
1252-
DUPLICATE_PRIMARY_TIMEOUT="7200" AUTOMATED_REGISTER="false"
1253-
1254-
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.
1260-
1261-
4. Create Virtual IP and associated resources.
1262-
1263-
```bash
1264-
sudo crm configure primitive rsc_ip_HN1_HDB03 ocf:heartbeat:IPaddr2 \
1265-
op start timeout=60s on-fail=fence \
1266-
op monitor interval="10s" timeout="20s" \
1267-
params ip="10.23.0.27"
1268-
1269-
sudo crm configure primitive rsc_nc_HN1_HDB03 azure-lb port=62503 \
1270-
op monitor timeout=20s interval=10 \
1271-
meta resource-stickiness=0
1272-
1273-
sudo crm configure group g_ip_HN1_HDB03 rsc_ip_HN1_HDB03 rsc_nc_HN1_HDB03
1274-
```
1275-
1276-
5. Create the cluster constraints
1277-
1278-
```bash
1279-
# Colocate the IP with HANA master
1280-
sudo crm configure colocation col_saphana_ip_HN1_HDB03 4000: g_ip_HN1_HDB03:Started \
1281-
msl_SAPHana_HN1_HDB03:Master
1282-
1283-
# Start HANA Topology before HANA instance
1284-
sudo crm configure order ord_SAPHana_HN1_HDB03 Optional: cln_SAPHanaTopology_HN1_HDB03 \
1285-
msl_SAPHana_HN1_HDB03
1286-
1287-
# HANA resources don't run on the majority maker node
1288-
sudo crm configure location loc_SAPHanaCon_not_on_majority_maker msl_SAPHana_HN1_HDB03 -inf: hana-s-mm
1289-
sudo crm configure location loc_SAPHanaTop_not_on_majority_maker cln_SAPHanaTopology_HN1_HDB03 -inf: hana-s-mm
1290-
```
1291-
1292-
2. **[1]** Configure additional cluster properties
1293-
1294-
```bash
1295-
sudo crm configure rsc_defaults resource-stickiness=1000
1296-
sudo crm configure rsc_defaults migration-threshold=50
1297-
```
1298-
1299-
3. **[1]** Place the cluster out of maintenance mode. Make sure that the cluster status is ok and that all of the resources are started.
1300-
1301-
```bash
1302-
# Cleanup any failed resources - the following command is example
1303-
crm resource cleanup rsc_SAPHana_HN1_HDB03
1304-
1305-
# Place the cluster out of maintenance mode
1306-
sudo crm configure property maintenance-mode=false
1307-
```
1308-
1309-
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
1315-
# ---------------------------------------------------------------------
1316-
# 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.
1326-
13271212
## Test SAP HANA failover
13281213
13291214
> [!NOTE]

0 commit comments

Comments
 (0)