cancel
Showing results for 
Search instead for 
Did you mean: 

Detect server node processing a http request

Former Member
0 Kudos

Is there any way to detect which server node is answering a http request? For debug purposes I would like to add the cluster element to the output of a jsp. Maybe it is also possible to force a jsp being processed by a given node?

Thanks in advance for your answers!

Best regards,

Frank

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Frank,

Yes you can trace session cookies in order to understand which server node is answering.

If you want to force a jsp being processed by a given node you may add before parameters the following:

saplb_*=(<instance-id>)<server-id>

More about J2EE Engine cookies you can see here:

http://help.sap.com/saphelp_nw04/helpdata/en/5b/ac1a0a8b8d6b4da3b79a7fe0aeabd8/content.htm

Former Member
0 Kudos

Hi Violeta,

Thanks for your answer! This has been very helpful indeed.

However, I´m still a bit puzzled. Replacing the saplb cookie forces the load balancer to use the given server, but the JSESSIONID does not change. Looking at the application data I know that I´m talking to a different server, but I still don´t seem to have a way to tell which server ansered - except my expectation that the saplb cookie might have been taken into account by the server.

Isn´t there a more sophisticated way to access this kind of information? Escpecially, getting a list of all available servers would be great, as this would allow to choose the server having a look at.

Best regards,

Frank