cancel
Showing results for 
Search instead for 
Did you mean: 

Enqueue replication problems with HA polling

Former Member
0 Kudos

Hi All,

I am running SAP NW04s in a cluster (say node1 and node2) in Active-Passive mode (ABAP+Java Installation, installed with HA option in sapinst). When I run the Enqueue replication on node2 with the following instance profile and HA polling script

SAPSYSTEM = 10

SAPSYSTEMNAME = HAT

INSTANCE_NAME = ERS10

#----


  1. Special settings for this manually set up instance

#----


DIR_EXECUTABLE = $(DIR_INSTANCE)/exe

DIR_PROFILE = $(DIR_INSTANCE)/profile

DIR_CT_RUN = /usr/sap/HAT/SYS/exe/run

#----


  1. Settings for enqueue monitoring tools (enqt, ensmon)

#----


enque/process_location = REMOTESA

rdisp/enqname = $(rdisp/myname)

#----


  1. standalone enqueue details from (A)SCS instance

#----


SCSID = 00

SCSHOST = hacmp-sap-01

enque/serverinst = $(SCSID)

enque/serverhost = $(SCSHOST)

#----


  1. HA polling

#----


enque/enrep/hafunc_implementation = script

enque/enrep/poll_interval = 10000

#enque/enrep/hafunc_init =

enque/enrep/hafunc_check = /home/hatadm/enqtest.sh

HA Polling script:

hacmp-42:hatadm 128> cat /home/hatadm/enqtest.sh

#! /bin/sh

case `hostname -s` in

hacmp-sap-03)

exit 5

;;

hacmp-42)

exit 0

;;

*)

exit -1

;;

esac

(hacmp-42 is my node2)

I am getting the following error in /usr/sap/HAT/ERS10/work/dev_enrepha

[Thr 515] Sun Jan 20 16:59:20 2008

[Thr 515] *** ERROR => EnHaExecuteProgram: pclose failed [ensrepha.cpp 204]

[Thr 515] *** WARNING => EnRepPollThread:Loop: failed to poll HA software (rc=-1): don't replicate [ensrepha.cpp 857]

This is what I made sure,

1) I have checked the file /home/hatadm/enqtest.sh exists and has 755 permissions

2) I have mannually copied the above file to /sapmnt/HAT/exe

Any idea what is wrong happening?

(Without the HA Polling parameters in the instance profile of ERS10, everything seem to be fine, I can see SCS running on node1 is replicated to ERS10 running on node2)

Thank you in advance,

Srini

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Please check the kernel level of the standalone enqueue server. See the details in Note 1146004 - HA polling on the enqueue replication server on UNIX.

Former Member
0 Kudos

For all those still struggling out there, the creation of a script is dependent on operative system and SAP does not provide it; in my case, the script posted above doesn't work, as it doesn't contemplate "hold status", and the transition from active do deactivate of replication server doesn't keep the table long enough for Enqueue process to attach it on time.

Answers (0)