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