Blame SOURCES/bz1827107-sap-hana-scaleout-3-fixes.patch

8bc804
From 600160015e965ea67f716e1a332fbd92b855807c Mon Sep 17 00:00:00 2001
8bc804
From: AngelaBriel <abriel@suse.com>
8bc804
Date: Tue, 12 Nov 2019 18:05:14 +0100
8bc804
Subject: [PATCH] Use a fall-back scoring for the master nameserver nodes, if
8bc804
 the current roles of the node(s) got lost. (bsc#1156067) version bump to
8bc804
 0.164.0 remove old version(11SP3 from Dez. 2014) of
8bc804
 SAPHana/doc/SAPHanaSR-Setup-Guide.pdf. Add a Link to
8bc804
 https://www.suse.com/products/sles-for-sap/resource-library/sap-best-practices.html
8bc804
 instead.
8bc804
8bc804
---
8bc804
 SAPHanaSR-ScaleOut-a77e8c6/SAPHana/SAPHanaSR-ScaleOut.changes    |  11 +++++++++++
8bc804
 SAPHanaSR-ScaleOut-a77e8c6/SAPHana/SAPHanaSR-ScaleOut.spec       |   3 ++-
8bc804
 SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaController          |   4 +++-
8bc804
 SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaTopology            |   3 ++-
8bc804
 4 files changed, 19 insertions(+), 3 deletions(-)
8bc804
 create mode 100644 .gitignore
8bc804
8bc804
diff --git a/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/SAPHanaSR-ScaleOut.changes b/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/SAPHanaSR-ScaleOut.changes
8bc804
index fea4c46..9749d8b 100644
8bc804
--- a/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/SAPHanaSR-ScaleOut.changes
8bc804
+++ b/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/SAPHanaSR-ScaleOut.changes
8bc804
@@ -1,3 +1,14 @@
8bc804
+-------------------------------------------------------------------
8bc804
+Mon Nov 11 10:44:44 UTC 2019 - abriel@suse.com
8bc804
+
8bc804
+- change version to 0.164.0
8bc804
+- restart sapstartsrv service on master nameserver node
8bc804
+  (bsc#1156150)
8bc804
+- Use a fall-back scoring for the master nameserver nodes, if the
8bc804
+  current roles of the node(s) got lost.
8bc804
+  (bsc#1156067)
8bc804
+- clean up package, add checks, correct typos
8bc804
+
8bc804
 -------------------------------------------------------------------
8bc804
 Wed Sep 12 12:19:06 UTC 2018 - clanig@suse.de
8bc804
 
8bc804
diff --git a/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/SAPHanaSR-ScaleOut.spec b/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/SAPHanaSR-ScaleOut.spec
8bc804
index 4dc7093..4790be6 100644
8bc804
--- a/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/SAPHanaSR-ScaleOut.spec
8bc804
+++ b/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/SAPHanaSR-ScaleOut.spec
8bc804
@@ -2,6 +2,7 @@
8bc804
 # spec file for package SAPHanaSR-ScaleOut
8bc804
 #
8bc804
 # Copyright (c) 2016      SUSE LINUX GmbH, Nuernberg, Germany.
8bc804
+# Copyright (c) 2017-2019 SUSE LLC
8bc804
 #
8bc804
 # All modifications and additions to the file contributed by third parties
8bc804
 # remain the property of their copyright owners, unless otherwise agreed
8bc804
@@ -20,7 +21,7 @@ License:        GPL-2.0
8bc804
 Group:          Productivity/Clustering/HA
8bc804
 AutoReqProv:    on
8bc804
 Summary:        Resource agents to control the HANA database in system replication setup
8bc804
-Version:        0.163.2
8bc804
+Version:        0.164.0
8bc804
 Release:        0
8bc804
 Url:            http://scn.sap.com/community/hana-in-memory/blog/2014/04/04/fail-safe-operation-of-sap-hana-suse-extends-its-high-availability-solution
8bc804
 Source0:        SAPHanaSR-ScaleOut-%{version}.tar.bz2
8bc804
diff --git a/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaController b/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaController
8bc804
index 5b24513..1781b99 100755
8bc804
--- a/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaController
8bc804
+++ b/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaController
8bc804
@@ -12,6 +12,7 @@
8bc804
 # License:      GNU General Public License (GPL)
8bc804
 # Copyright:    (c) 2013,2014 SUSE Linux Products GmbH
8bc804
 # Copyright:    (c) 2015-2016 SUSE Linux GmbH
8bc804
+# Copyright:    (c) 2017-2019 SUSE LLC
8bc804
 #
8bc804
 # An example usage:
8bc804
 #      See usage() function below for more details...
8bc804
@@ -33,7 +34,7 @@
8bc804
 #     systemReplicationStatus.py (>= SPS090)
8bc804
 #
8bc804
 #######################################################################
8bc804
-SAPHanaControllerVersion="0.163.2"
8bc804
+SAPHanaControllerVersion="0.164.0"
8bc804
 #
8bc804
 # Initialization:
8bc804
 timeB=$(date '+%s')
8bc804
@@ -702,6 +703,7 @@ function saphana_init() {
8bc804
     #
8bc804
     SCORING_TABLE_PREFERRED_SITE_TAKEOVER=(
8bc804
        "[234]:P:master[123]:master     .*          150"
8bc804
+       "[234]:P:master[123]            .*          140"
8bc804
        "[234]:P:master[123]:slave:.*:standby      .*          115"
8bc804
        "[234]:P:master[123]:slave      .*          110"
8bc804
        "[015]:P:master[123]:           .*           70"
8bc804
diff --git a/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaTopology b/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaTopology
8bc804
index 2e3b065..1e9a5c6 100755
8bc804
--- a/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaTopology
8bc804
+++ b/SAPHanaSR-ScaleOut-a77e8c6/SAPHana/ra/SAPHanaTopology
8bc804
@@ -14,6 +14,7 @@
8bc804
 # License:      GNU General Public License (GPL)
8bc804
 # Copyright:    (c) 2014 SUSE Linux Products GmbH
8bc804
 #               (c) 2015-2016 SUSE Linux GmbH
8bc804
+#               (c) 2017-2019 SUSE LLC
8bc804
 #
8bc804
 # An example usage:
8bc804
 #      See usage() function below for more details...
8bc804
@@ -25,7 +26,7 @@
8bc804
 #
8bc804
 #######################################################################
8bc804
 # DONE PRIO 1: AFTER(!) SAP HANA SPS12 is available we could use hdbnsutil --sr_stateConfiguration
8bc804
-SAPHanaTopologyVersion="0.163.2"
8bc804
+SAPHanaTopologyVersion="0.164.0"
8bc804
 #
8bc804
 # Initialization:
8bc804
 timeB=$(date '+%s')