Blame SOURCES/bz1827107-sap-hana-scaleout-4-sapstartsrv-fix.patch

8bc804
From 60eb13d27b8be8f38ab037432de9a8a14181f207 Mon Sep 17 00:00:00 2001
8bc804
From: Fabian Herschel <fabian.herschel@suse.com>
8bc804
Date: Thu, 7 Nov 2019 15:52:42 +0100
8bc804
Subject: [PATCH] bsc#1156150: SAPHanaSR: sapstartsrv service on
8bc804
 master_nameserver node not restarted when being forcefully killed
8bc804
8bc804
---
8bc804
 SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaController | 2 ++
8bc804
 1 file changed, 2 insertions(+)
8bc804
8bc804
diff --git a/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaController b/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaController
8bc804
index e139053..5b24513 100755
8bc804
--- a/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaController
8bc804
+++ b/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaController
8bc804
@@ -2569,8 +2569,10 @@ function saphana_monitor_clone() {
8bc804
         #
8bc804
         check_for_primary; primary_status=$?
8bc804
         if [ $primary_status -eq $HANA_STATE_PRIMARY ]; then
8bc804
+            saphana_check_local_instance
8bc804
             saphana_monitor_primary; rc=$?
8bc804
         elif [ $primary_status -eq $HANA_STATE_SECONDARY  ]; then
8bc804
+            saphana_check_local_instance
8bc804
             saphana_monitor_secondary; rc=$?
8bc804
         else
8bc804
             #