SUSE Support

Here When You Need Us

Updated fuser binary causing wrong processes to be terminated in SAP Netweaver application cluster.

This document (000019952) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server for SAP Applications 15 SP2
SUSE Linux Enterprise Server for SAP Applications 12 SP5

Situation

While performing failover tests in a  SAP NetWeaver or S/4Hana application cluster, it was noticed that when one of the NFS filesystems managed by the cluster was being unmounted that all the SAP processes (ASCS and ERS ) were being wrongfully terminated. 

Looking at the /var/log/messages from a cluster node, the following might be seen where the ERS filesystem was being unmounted and wrongfully terminates the ms.sap, wd.sap,and sapstartsrv processes.   This causes the cluster monitor of the ASCS SAPInstance to fail and force a restart of it. 
sap-nwha2 Filesystem(rsc_fs_NW1_ERS10)[26186]: ERROR: Couldn't unmount /usr/sap/NW1/ERS10; trying cleanup with TERM
sap-nwha2 Filesystem(rsc_fs_NW1_ERS10)[26186]: INFO: sending signal TERM to: nw1adm   11626     1  0 17:33 ?        Ssl    0:00 /usr/sap/NW1/ASCS00/exe/sapstartsrv pf=/sapmnt/NW1/profile/NW1_ASCS00_nw1-ascs -D -u nw1adm
sap-nwha2 SAPNW1_00[11626]: sapstartsrv stopped
sap-nwha2 Filesystem(rsc_fs_NW1_ERS10)[26186]: INFO: sending signal TERM to: nw1adm   12001     1  0 17:33 ?        Ss     0:00 sapstart pf=/sapmnt/NW1/profile/NW1_ASCS00_nw1-ascs
sap-nwha2 Filesystem(rsc_fs_NW1_ERS10)[26186]: INFO: sending signal TERM to: nw1adm   12014 12001  0 17:33 ?        Ssl    0:00 ms.sapNW1_ASCS00 pf=/usr/sap/NW1/SYS/profile/NW1_ASCS00_nw1-ascs
sap-nwha2 Filesystem(rsc_fs_NW1_ERS10)[26186]: INFO: sending signal TERM to: nw1adm   12015 12001  0 17:33 ?        Ssl    0:01 enq.sapNW1_ASCS00 pf=/usr/sap/NW1/SYS/profile/NW1_ASCS00_nw1-ascs
sap-nwha2 Filesystem(rsc_fs_NW1_ERS10)[26186]: INFO: sending signal TERM to: nw1adm   12016 12001  0 17:33 ?        Ssl    0:01 wd.sapNW1_ASCS00 pf=/usr/sap/NW1/SYS/profile/NW1_ASCS00_nw1-ascs
sap-nwha2 Filesystem(rsc_fs_NW1_ERS10)[26186]: INFO: sending signal TERM to: nw1adm   20118     1  0 17:38 ?        Ssl    0:00 /usr/sap/NW1/ERS10/exe/sapstartsrv pf=/sapmnt/NW1/profile/NW1_ERS10_nw1-aers -D -u nw1adm

 

Resolution

There was an update to the fuser binary found in package psmisc which is causing this regression. 
Problem packages: 
SUSE Linux Enterprise Module for Basesystem 15-SP2 (src):    psmisc-23.0-6.13.1
SUSE Linux Enterprise Server 12-SP5 (src):    psmisc-22.21-6.16.1

At this time a work-around can be done to install older version of this package. 
SLES15SP2 - # zypper in --oldpackage psmisc-23.0-6.10.1.x86_64
SLES12SP5 - # zypper in --oldpackage psmisc-22.21-6.13.1.x86_64

Update: psmisc has been released to public update channels. 
Fixed and released versions: 
SUSE Linux Enterprise Server 12-SP5 : psmisc-22.21-6.19.1
SUSE Linux Enterprise Module for Basesystem 15-SP3 : psmisc-23.0-6.16.1
SUSE Linux Enterprise Module for Basesystem 15-SP2 : psmisc-23.0-6.16.1
 

Cause

The cluster filesystem resource agent uses the fuser command to find any processes that might have files open on the filesystem mount point and if it returns a list of processes,  which it will send a TERM signal to this list of processes so that it may finish unmounting the filesystem so that it can be available to mount on another cluster node.     

Status

Reported to Engineering

Additional Information

SUSE Best Practices Guides for setting up SAP Application Clusters
   SAP Netweaver 7.40 - 7.50 - Enqueue replication 1 (ENSA1)
   S4Hana Enqueue replication 2 (ENSA2)

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019952
  • Creation Date: 09-Jul-2021
  • Modified Date:09-Jul-2021
    • SUSE Linux Enterprise High Availability Extension
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.