OpenSolaris

Printable Version Enter a New Search
Bug ID 6513663
Synopsis ha enq agent is not deriving the correct port number
State 10-Fix Delivered (Fix available in build)
Category:Subcategory suncluster:ha-sapenq
Keywords
Responsible Engineer Hemachandran Namachivayam
Reported Against
Duplicate Of
Introduced In
Commit to Fix 3.2_patch_02
Fixed In 3.2_patch_02
Release Fixed 3.2_patch(3.2_patch_02)
Related Bugs
Submit Date 16-January-2007
Last Update Date 14-February-2007
Description
This is a 2 node SC3.2 on S10u3 X64 cluster with SAP 7.0.  Before configuring Enqueue server under Sun Cluster, I was able to start it using SAP commands.  And I was able to connect to it using ensmon successfully.  After configuring the SAP Enqueue server under Sun Cluster, enabling the enqueue resource was failing with Connect failed and Connection refuse.  Here are some of the error messages:

NiHsLGetHostName: found address 127.0.0.1 in cache
NiIGetHostName: addr 127.0.0.1 = hostname 'localhost'
***LOG Q0I=> NiPConnect: connect (146: Connection refused) [nixxi.cpp 2454]
*** ERROR => NiPConnect: SiConnect failed for hdl 0 / sock 6
        (SI_ECONN_REFUSE; I4; ST; 127.0.0.1:35340) [nixxi.cpp    2454]
NiICloseHandle: closing initial hdl 0
*** ERROR => EncNiConnect: unable to connect (NIECONN_REFUSED) [encomi.c     445
]

Here, the enq resource creation is using instance 10, with the SAP convention, the port number should be 3210:

pbulge1# clresource create -d -g enq-rg -t SUNW.sapenq \
-p enqueue_profile=/sapmnt/QT2/profile/QT2_SCS10_qt2enq \
-p enqueue_server=/usr/sap/QT2/SYS/exe/run/enserver \
-p sap_user=qt2adm \
-p enqueue_instance_number=10 \
-p resource_dependencies=hasp4enq-rs,oracle-rs enq-rs


From "ps -ef", the ha-enq agent is using port 35340 and NOT 3210.  
  root  2348  2347   0 10:57:52 ?           0:00 /bin/sh -c /usr/sap/ QT2/SYS/exe/run/ensmon -Hlocalhost -S35340 2 > /export/home
Work Around
N/A
Comments
N/A