73 lines
4.2 KiB
Diff
73 lines
4.2 KiB
Diff
diff -up sap-hana-ha-87a5781/ra/SAPHanaController.patch101 sap-hana-ha-87a5781/ra/SAPHanaController
|
|
--- sap-hana-ha-87a5781/ra/SAPHanaController.patch101 2024-07-08 14:39:04.000000000 +0200
|
|
+++ sap-hana-ha-87a5781/ra/SAPHanaController 2024-08-19 12:30:40.033351892 +0200
|
|
@@ -47,11 +47,11 @@ OCF_FUNCTIONS_DIR="${OCF_FUNCTIONS_DIR:-
|
|
source "${OCF_FUNCTIONS_DIR}/ocf-shellfuncs"
|
|
# TODO PRIO1: NG - adjust the correct path and file name for the library to be sourced for first testing use current directory
|
|
# shellcheck source=./ra/saphana-common-lib
|
|
-source /usr/lib/SAPHanaSR-angi/saphana-common-lib
|
|
+source /usr/lib/sap-hana-ha/saphana-common-lib
|
|
# shellcheck source=./ra/saphana-controller-common-lib
|
|
-source /usr/lib/SAPHanaSR-angi/saphana-controller-common-lib
|
|
+source /usr/lib/sap-hana-ha/saphana-controller-common-lib
|
|
# shellcheck source=./ra/saphana-controller-lib
|
|
-source /usr/lib/SAPHanaSR-angi/saphana-controller-lib
|
|
+source /usr/lib/sap-hana-ha/saphana-controller-lib
|
|
|
|
#
|
|
#######################################################################
|
|
diff -up sap-hana-ha-87a5781/ra/saphana-filesystem-lib.patch101 sap-hana-ha-87a5781/ra/saphana-filesystem-lib
|
|
--- sap-hana-ha-87a5781/ra/saphana-filesystem-lib.patch101 2024-07-08 14:39:04.000000000 +0200
|
|
+++ sap-hana-ha-87a5781/ra/saphana-filesystem-lib 2024-08-19 12:30:40.034351894 +0200
|
|
@@ -109,7 +109,7 @@ until it gains success or migration-thre
|
|
</parameter>
|
|
<parameter name="DIRECTORY" unique="0" required="0">
|
|
<longdesc lang="en">The directory to be checked. Default is "/hana/shared/\$SID".
|
|
-The RA creates data in an own subdirectory .suse_SAPHanaFilesystem. Do not touch this hidden subdirectory.</longdesc>
|
|
+The RA creates data in an own subdirectory .heartbeat_SAPHanaFilesystem. Do not touch this hidden subdirectory.</longdesc>
|
|
<shortdesc lang="en">The directory to be checked. Default is "/hana/shared/\$SID"</shortdesc>
|
|
<content type="string" default="" />
|
|
</parameter>
|
|
@@ -186,7 +186,7 @@ function shfs_init() {
|
|
fs_hana_shared="${OCF_RESKEY_DIRECTORY:-/hana/shared/$SID}"
|
|
HANA_CALL_TIMEOUT="${OCF_RESKEY_HANA_CALL_TIMEOUT:-90}"
|
|
ON_FAIL_ACTION="${OCF_RESKEY_ON_FAIL_ACTION:-fail}"
|
|
- td_hana_shared="$fs_hana_shared/.suse_SAPHanaFilesystem/${NODENAME}"
|
|
+ td_hana_shared="$fs_hana_shared/.heartbeat_SAPHanaFilesystem/${NODENAME}"
|
|
pp_hana_shared="/run/SAPHanaFileSystem_poison_pill_${SID}"
|
|
sid="${SID,,}"
|
|
export sidadm="${sid}adm"
|
|
diff -up sap-hana-ha-87a5781/ra/SAPHanaFilesystem.patch101 sap-hana-ha-87a5781/ra/SAPHanaFilesystem
|
|
--- sap-hana-ha-87a5781/ra/SAPHanaFilesystem.patch101 2024-07-08 14:39:04.000000000 +0200
|
|
+++ sap-hana-ha-87a5781/ra/SAPHanaFilesystem 2024-08-19 12:30:40.033351892 +0200
|
|
@@ -31,11 +31,11 @@ OCF_FUNCTIONS_DIR="${OCF_FUNCTIONS_DIR:-
|
|
# shellcheck source=/dev/null
|
|
source "${OCF_FUNCTIONS_DIR}/ocf-shellfuncs"
|
|
# shellcheck source=./ra/saphana-common-lib
|
|
-source /usr/lib/SAPHanaSR-angi/saphana-common-lib
|
|
+source /usr/lib/sap-hana-ha/saphana-common-lib
|
|
# shellcheck source=./ra/saphana-controller-common-lib
|
|
-source /usr/lib/SAPHanaSR-angi/saphana-controller-common-lib
|
|
+source /usr/lib/sap-hana-ha/saphana-controller-common-lib
|
|
# shellcheck source=./ra/saphana-filesystem-lib
|
|
-source /usr/lib/SAPHanaSR-angi/saphana-filesystem-lib
|
|
+source /usr/lib/sap-hana-ha/saphana-filesystem-lib
|
|
|
|
#
|
|
#######################################################################
|
|
diff -up sap-hana-ha-87a5781/ra/SAPHanaTopology.patch101 sap-hana-ha-87a5781/ra/SAPHanaTopology
|
|
--- sap-hana-ha-87a5781/ra/SAPHanaTopology.patch101 2024-07-08 14:39:04.000000000 +0200
|
|
+++ sap-hana-ha-87a5781/ra/SAPHanaTopology 2024-08-19 12:30:40.034351894 +0200
|
|
@@ -43,9 +43,9 @@ OCF_FUNCTIONS_DIR="${OCF_FUNCTIONS_DIR:-
|
|
source "${OCF_FUNCTIONS_DIR}/ocf-shellfuncs"
|
|
# TODO PRIO1: NG - adjust the correct path and file name for the library to be sourced for first testing use current directory
|
|
# shellcheck source=./ra/saphana-common-lib
|
|
-source /usr/lib/SAPHanaSR-angi/saphana-common-lib
|
|
+source /usr/lib/sap-hana-ha/saphana-common-lib
|
|
# shellcheck source=./ra/saphana-topology-lib
|
|
-source /usr/lib/SAPHanaSR-angi/saphana-topology-lib
|
|
+source /usr/lib/sap-hana-ha/saphana-topology-lib
|
|
|
|
#
|
|
#######################################################################
|