Skip to content

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

@akx-github

Description

@akx-github

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions