Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with the new format of /usr/sap/services records and pre-freeze and post-thaw HANA scripts #13

Open
akx-github opened this issue Apr 19, 2024 · 0 comments

Comments

@akx-github
Copy link

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_LIBRARY_PATH; /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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant