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

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