An SAPHana resource promotes successfully and then immediately demotes

Solution Verified - Updated -

Issue

  • During a failover, an SAPHana resource promotes successfully on the secondary node. Then it immediately demotes and attempts to fail back.
Jul 12 08:43:02 node2 crmd[22050]:   notice: Initiating demote operation SAPHanaR2P_demote_0 on node1 | action 37

Jul 12 08:43:03 node1 SAPHana(SAPHanaR2P)[111093]: INFO: RA ==== begin action demote_clone (0.152.17) ====
Jul 12 08:43:04 node1 SAPHana(SAPHanaR2P)[111093]: INFO: RA ==== end action demote_clone with rc=0 (0.152.17) (2s)====

Jul 12 08:43:04 node2 crmd[22050]:   notice: Initiating promote operation SAPHanaR2P_promote_0 locally on node2 | action 30
Jul 12 08:43:05 node2 SAPHana(SAPHanaR2P)[19629]: INFO: RA ==== begin action promote_clone (0.152.17) ====

Jul 12 08:44:21 node2 SAPHanaTopology(TopologyR2P)[21139]: INFO: DEC: site=NBG, mode=syncmem, MAPPING=node1, hanaRemoteHost=node1
Jul 12 08:44:21 node2 SAPHanaTopology(TopologyR2P)[21139]: INFO: RA ==== begin action monitor_clone (0.152.17) ====
Jul 12 08:44:22 node2 attrd[22048]:   notice: Sent update 58: hana_r2p_roles=2:S:master1:master:worker:master
Jul 12 08:44:23 node2 SAPHanaTopology(TopologyR2P)[21139]: INFO: RA ==== end action monitor_clone with rc=0 (0.152.17) (8s)====

Jul 12 08:44:58 node2 SAPHana(SAPHanaR2P)[19629]: INFO: RA ==== end action promote_clone with rc=0 (0.152.17) (114s)====
Jul 12 08:44:58 node2 crmd[22050]:   notice: Result of promote operation for SAPHanaR2P on node2: 0 (ok) | call=45 key=SAPHanaR2P_promote_0 confirmed=true cib-update=63826
Jul 12 08:44:59 node2 SAPHana(SAPHanaR2P)[22304]: INFO: RA ==== begin action monitor_clone (0.152.17) ====
Jul 12 08:45:04 node2 attrd[22048]:   notice: Sent update 60: hana_r2p_sync_state=PRIM
Jul 12 08:45:04 node2 attrd[22048]:   notice: Sent update 62: master-SAPHanaR2P=-1
Jul 12 08:45:04 node2 SAPHana(SAPHanaR2P)[22304]: INFO: RA ==== end action monitor_clone with rc=8 (0.152.17) (5s)====
Jul 12 08:45:04 node2 crmd[22050]:   notice: node2-SAPHanaR2P_monitor_59000:47 [ 2:S:master1:master:worker:master\n2:S:master1:master:worker:master\n2:S:master1:master:worker:master\n2:S:master1:master:worker:master\nPRIM\n ]
Jul 12 08:45:04 node2 crmd[22050]:   notice: Initiating demote operation SAPHanaR2P_demote_0 locally on node2 | action 33

Environment

  • Red Hat Enterprise Linux 6 or 7 (with the High Availability Add-on)
  • SAP HANA System Replication in Scale-Up with Pacemaker
  • resource-agents-sap-hana-3.9.5-82.el7_3.13 or earlier

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In