skip to main content

SAP NetWeaver Newbie

How to Fix Uneven HTTP Load Balancing in SAP PI


Starting from SAP NetWeaver 7.1, the Java stack does not have a dispatcher node as it was the case with earlier release. The job of the dispatcher--load balancing the incoming HTTP requests to J2EE server nodes--is now taken over by ICM. The ICM is designed to load balance http sessions (stateful http calls), which is not optimal for applications like PI which primarily uses stateless calls. The result is decreased message throughput.

In order to optimize load balancing on SAP PI (7.1 to 7.3) add the parameters below in the SAP instance profile:

j2ee/HTTP/request_strategy = STATELESS
j2ee/HTTP/request_STATELESS_0=0,7,2,0,1,0
j2ee/HTTP/request_STATELESS_1=0,3,3,0.9,0.01,1
j2ee/HTTP/request_STATELESS_2=0,2,6,1,1,0.01
j2ee/HTTP/request_STATELESS_3=0,5,2,0,0.01,1
j2ee/HTTP/request_STATELESS_4=1,1,0,0,2,0.5
j2ee/HTTP/request_STATELESS_5=1,3,1,0,1,0.01
j2ee/HTTP/request_STATELESS_6=1,6,1,0,20,0.5
j2ee/HTTP/request_STATELESS_7=1,4,3,0,0.0001,0.0001

Restart ABAP+Java instances to activate these changes.

1 comment:

  1. Hi,


    please can you share the document for web dispatcher configuration for PI 7.3 systems. we have installed web dispatcher and configured it for PI AEX system but still only CI is hit with more load.

    THnaks,
    Ranjith

    ReplyDelete

Email Subscription

Get every new post into your inbox by subscribing us.

Want a reason to subscribe?
1. This sitemap might convince you to subscribe.
2. We do not misuse email IDs. We respect privacy.

© 2008 - 2017 sapnwnewbie. All rights reserved.