Today I’d like to share with you some troubleshooting hints that I learnt from developers the other day. They can be very helpful in case you need to troubleshoot a sporadic problem or the problem that happens on a particular node (server process) only in the system with several nodes (server processes).
Imagine you have an issue that occurs sporadically or only on some particular server node. To replicate it and troubleshoot you want to send the request to this particular node only. So, to direct the request to the specific server node you need to configure ICM with property:
icm/HTTP/ASJava/enable_sap_nodeid = TRUE
You should put this property at the end of instance profile file: \usr\sap\<SID>\SYS\profile\<SID_InstanceN_host>
To apply the new property, it is enough to restart ICM only.
And then when you create the request URL you need to add the parameter ?sap-nodeid=<nodeid> where node id is the server node id. You can find the node id in instance.properties files for example when looking for something like that:
IDXXXXXXX.Name=server1. The <nodeid> is only the numeric part XXXXXXX
Here is a sample how such request looks like in SOAP UI tool:
You should be able to do the same with Netweaver’s WEB dispatcher, but these steps can help even if it is not installed.
Hope you find it useful. As always, your comments, ratings and likes are appreciated.