An SAPHana resource fails almost immediately with rc=1 in a Pacemaker cluster
Issue
- An
SAPHanaresource probe or monitor operation fails as follows:
Mar 23 18:42:43 sappc3-phdb00 SAPHana(SAPHana_PC3_00)[212973]: INFO: RA ==== begin action monitor_clone (0.152.21) ====
Mar 23 18:42:45 sappc3-phdb00 SAPHana(SAPHana_PC3_00)[212973]: INFO: RA ==== end action monitor_clone with rc=1 (0.152.21) (3s)====
- An
SAPHanaresource start operation fails as follows:
Mar 23 18:43:44 sappc3-phdb00 SAPHana(SAPHana_PC3_00)[3125]: INFO: RA ==== begin action start_clone (0.152.21) ====
Mar 23 18:43:46 sappc3-phdb00 SAPHana(SAPHana_PC3_00)[3125]: INFO: DEC: saphana_primary - checking remoteStatus
Mar 23 18:43:46 sappc3-phdb00 SAPHana(SAPHana_PC3_00)[3125]: INFO: DEC: saphana_primary - remoteStatus is: 4:S:master1:master:worker:master:SFAIL
Mar 23 18:43:46 sappc3-phdb00 SAPHana(SAPHana_PC3_00)[3125]: ERROR: ACT: get_hana_landscape_status reports FATAL
Mar 23 18:43:46 sappc3-phdb00 SAPHana(SAPHana_PC3_00)[3125]: INFO: RA ==== end action start_clone with rc=1 (0.152.21) (2s)====
HDBSettings.sh landscapeHostConfiguration.pyreturns 0 even though it succeeds. It should return 4 (OK).
Environment
- Red Hat Enterprise Linux 7 for SAP Solutions
- Red Hat Enterprise Linux 8 for SAP Solutions
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.