Is your feature request related to a problem? Please describe.
SAP have implemented integration of the HANA Instance records into systemd / systemctl and activates this feature with all newer implementations of HANA starting with SLES15 and HANA 2 SPS7 and changed the records of HANA Instances
from the known 'classic format':
LD_LIBRARY_PATH=/usr/sap//...; export LD_LIBRARYPATH; /usr/sap//.../sapstartsrv pf=/usr/sap//... -D -u adm
to 'systemd format':
systemctl --no-ask-password start SAP # sapstartsrv pf=/usr/sap//...
The hana-pre-freeze.sh und hana-post-thaw.sh can not understand the nwe foramt and unable to detect HANA instances.
Describe the solution you'd like
The scripts should understand both formats the newer and the old ones.
Additional context
SAP Note https://me.sap.com/notes/3139184
3139184 - Linux: systemd integration for sapstartsrv and SAP Host Agent
Is your feature request related to a problem? Please describe.
SAP have implemented integration of the HANA Instance records into systemd / systemctl and activates this feature with all newer implementations of HANA starting with SLES15 and HANA 2 SPS7 and changed the records of HANA Instances
from the known 'classic format': LD_LIBRARY_PATH=/usr/sap//...; export LD_LIBRARYPATH; /usr/sap//.../sapstartsrv pf=/usr/sap//... -D -u adm
to 'systemd format':
systemctl --no-ask-password start SAP # sapstartsrv pf=/usr/sap//...
The hana-pre-freeze.sh und hana-post-thaw.sh can not understand the nwe foramt and unable to detect HANA instances.
Describe the solution you'd like The scripts should understand both formats the newer and the old ones.
Additional context SAP Note https://me.sap.com/notes/3139184 3139184 - Linux: systemd integration for sapstartsrv and SAP Host Agent