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/sap-hana-high-availability.md
+51-1Lines changed: 51 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.service: sap-on-azure
9
9
ms.subservice: sap-vm-workloads
10
10
ms.topic: article
11
11
ms.workload: infrastructure
12
-
ms.date: 09/15/2023
12
+
ms.date: 10/03/2023
13
13
ms.author: radeltch
14
14
15
15
---
@@ -1375,6 +1375,56 @@ In the following test descriptions, we assume `PREFER_SITE_TAKEOVER="true"` and
1375
1375
rsc_nc_HN1_HDB03 (ocf::heartbeat:azure-lb): Started hn1-db-0
1376
1376
```
1377
1377
1378
+
1. Test 10: Crash primary database indexserver
1379
+
1380
+
This test is relevant only when you have set up the susChkSrv hook as outlined in [Implement HANA hooks SAPHanaSR and susChkSrv](./sap-hana-high-availability.md#implement-hana-hooks-saphanasr-and-suschksrv).
rsc_ip_HN1_HDB03 (ocf::heartbeat:IPaddr2): Started hn1-db-0
1392
+
rsc_nc_HN1_HDB03 (ocf::heartbeat:azure-lb): Started hn1-db-0
1393
+
```
1394
+
1395
+
Run the following commands as root on the `hn1-db-0` node:
1396
+
1397
+
```bash
1398
+
hn1-db-0:~ # killall -9 hdbindexserver
1399
+
```
1400
+
1401
+
When the indexserver is terminated, the susChkSrv hook detects the event and trigger an action to fence 'hn1-db-0' node and initiate a takeover process.
1402
+
1403
+
Run the following commands to register `hn1-db-0` node as secondary and clean up the failed resource:
rsc_ip_HN1_HDB03 (ocf::heartbeat:IPaddr2): Started hn1-db-1
1423
+
rsc_nc_HN1_HDB03 (ocf::heartbeat:azure-lb): Started hn1-db-1
1424
+
```
1425
+
1426
+
You can execute a comparable test case by causing the indexserver on the secondary node to crash. In the event of indexserver crash, the susChkSrv hook will recognize the occurrence and initiate an action to fence the secondary node.
1427
+
1378
1428
## Next steps
1379
1429
1380
1430
- [Azure Virtual Machines planning and implementation for SAP][planning-guide]
0 commit comments