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