An SAPHana or SAPHanaTopology resource fails when su - sidadm fails in a Pacemaker cluster

Solution Verified - Updated -

Issue

  • An ocf:heartbeat:SAPHana or ocf:heartbeat:SAPHanaTopology resource fails over after failed attempts to su to the ${sid}adm user account.
2020-12-29 21:15:13 -06:00 node1 [daemon.info] SAPHana(hana_inst)[413944]: INFO: RA ==== begin action monitor_clone (0.154.0) ====
2020-12-29 21:15:13 -06:00 node1 [daemon.info] SAPHana(hana_inst)[413944]: INFO: RA: SRHOOK1=
2020-12-29 21:15:13 -06:00 node1 [daemon.info] SAPHana(hana_inst)[413944]: INFO: RA: SRHOOK2=PRIM
2020-12-29 21:15:13 -06:00 node1 [daemon.info] SAPHana(hana_inst)[413944]: INFO: RA: SRHOOK3=PRIM
2020-12-29 21:15:13 -06:00 node1 [auth.notice] su: (to peaadm) root on none
2020-12-29 21:15:16 -06:00 node1 [auth.notice] su: FAILED SU (to peaadm) root on none
2020-12-29 21:15:17 -06:00 node1 [daemon.info] SAPHana(hana_inst)[413944]: INFO: RA: SRHOOK1=
2020-12-29 21:15:17 -06:00 node1 [daemon.info] SAPHana(hana_inst)[413944]: INFO: RA: SRHOOK2=SOK
2020-12-29 21:15:17 -06:00 node1 [daemon.info] SAPHana(hana_inst)[413944]: INFO: RA: SRHOOK3=SOK
2020-12-29 21:15:17 -06:00 node1 [daemon.info] SAPHana(hana_inst)[413944]: INFO: DEC: PreferSiteTakeover selected so decrease promotion score here (and reset lpa)
2020-12-29 21:15:17 -06:00 node1 [daemon.info] SAPHana(hana_inst)[413944]: INFO: RA ==== end action monitor_clone with rc=9 (0.154.0) (5s)====
  • There's an SAP HANA takeover after a failed su to the ${sid}adm user in a Pacemaker cluster managing HANA system replication.

Environment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content