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

Integrate systemd-enabled SAP instances and SAP HostAgent #831

Open
scmschmidt opened this issue Mar 17, 2022 · 6 comments
Open

Integrate systemd-enabled SAP instances and SAP HostAgent #831

scmschmidt opened this issue Mar 17, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request needinfo

Comments

@scmschmidt
Copy link

Starting end of March 2022 SAP starts to ship systemd support for SAP instances and the HostAgent. The schedule might still change, but the plan is:

  • SAP Kernel 788 end of March (SAP NetWeaver, S/4HANA)
  • SAP HostAgent mid April
  • SAP HANA around June/July

The terraform deployment should be able to handle both type of instances and HostAgent implementations: the "classic" one and the one with systemd support.
It is allowed and can be expected them to be mixed on a system, meaning some instances are system-enabled and others are not.

Details can be found in some SAP Notes (Not all of them are public available yet, so a C User might be needed.

@lpinne
Copy link

lpinne commented Mar 17, 2022

SUSE HA related aspects are explained in
https://www.suse.com/c/handover-for-the-next-round-sap-on-suse-cluster-and-systemd-native-integration/
and man page SAPStartSrv_basic_cluster(7).
Basically the saphostagent.service needs to be enabled and running, but for all cluster controlled instances the SAP_.service needs to be disabled and stopped. Of course instances need to be registered.

@yeoldegrove yeoldegrove self-assigned this Mar 17, 2022
@yeoldegrove yeoldegrove added the enhancement New feature or request label Mar 17, 2022
@yeoldegrove
Copy link
Collaborator

@scmschmidt None of the "support package patch levels" mentioned in this note are available to download for me https://launchpad.support.sap.com/#/notes/3115048

I cannot find 788 at all and e.g. latest patch level for 758 is 1000 which is below the advertised 1011 ...
Is this simply not out yet?

@scmschmidt
Copy link
Author

@yeoldegrove I have to check. SAP told me, that everything should be available by now.

@scmschmidt
Copy link
Author

@yeoldegrove Sorry for the late reply.
The SAP Kernel Release 788 is for Clouds and therefore not available as download.
A SAP Kernel SAR file (SAPEXE*.SAR) will be released only in major steps. In between the additional files contain the patches.
In case of 785 you have to download SAPEXE_100-80005374.SAR and also dw_124-80005374.sar which contains the Patch 124.

In "Content Info" (button in the last column called "Related Info") you can see what is in the file:

dw_124-80005374.sar
...
disp+work information

    kernel release                785
...
...
  [  ]  Sapstartsrv: Linux systemd support | 3115048 | 115 |  
...

@yeoldegrove
Copy link
Collaborator

@scmschmidt SAPEXE_100-80005374.SAR does not containt any systemd patch in its "content info" and also does not automatically create systemd units for me. Also trying to manually re-register the instance does not create systemd units (e.g. LD_LIBRARY_PATH=/usr/sap/HA1/ERS10/exe:$LD_LIBRARY_PATH;export LD_LIBRARY_PATH;/usr/sap/HA1/ERS10/exe/sapstartsrv pf=/usr/sap/HA1/SYS/profile/HA1_ERS10_sapha1er -systemd -reg).

Could it be that SAPEXE_100-80005374.SAR really does not include the patches yet https://launchpad.support.sap.com/#/softwarecenter/object/0020000000249732022 ?
Where would I get an updated version. They still do not seem to be available in the launchpad yet.

@scmschmidt
Copy link
Author

@yeoldegrove SAPEXE_100-80005374.SAR does not contain systemd support, yes. They are in the patches with patch level listed in the SAP Note. From "Content Info" list (button on the right), the ones with systemd support are: dw_utils_117-80005374.sar, sapwebgui_126-80005374.sar and dw_126-80005374.sar.
Until SAP releases the next stack kernel, the current kernel (SAPEXE_100-80005374.SAR) has to be used and all subsequent patches need to be installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needinfo
Projects
None yet
Development

No branches or pull requests

4 participants