Example: RI Configuration of a System with Web Dispatcher
The following example shows an SAP Web Dispatcher connected to two instances in a system: an SCS/ASCS instance and an application server instance.
Here the SAP Web Dispatcher is the reverse invoke client. The message server and two instances are reverse invoke servers.
The SAP Web Dispatcher has opened external port 1080. Here it receives HTTP requests, which it forwards to the two connected instances. The Web Dispatcher uses port 7010 as the reverse invoke port on which the reverse invoke servers can register. To run, the SAP Web Dispatcher also needs data from the message server. This data is also transferred by HTTP. Reverse invoke connections should be opened between the SAP Web Dispatcher and the message server as well as between the SAP Web Dispatcher and the two instances.
The table below shows the IP addresses of the participating servers and the ports used for the reverse invoke connections.
|
Component |
IP Address |
RI Port |
|---|---|---|
|
SAP Web Dispatcher (RI client) |
10.18.0.1 |
7010 |
|
Message server (RI server) |
10.18.0.2 |
7001 |
|
ICM of CI (RI server) |
10.18.0.2 |
7002 |
|
ICM of DI (RI server) |
10.18.0.3 |
7003 |
The following describes how the participating servers have to be configured. Only the parameters that are additionally required for the reverse invoke, and which you have to add to the existing configuration are described here.
SAP Web Dispatcher
You have to set the following parameters in the profile of the SAP Web Dispatcher:
rdisp/mshost = 10.18.0.2
ms/http_port = 7001
This specifies the IP address and the RI port of the message server (in conventional configurations the http port of the message server is specified here).
wdisp/reverse_invoke = TRUE
wdisp/ri/client_serv = 7010
wdisp/ri/acl_0 = P 10.18.0.2
wdisp/ri/acl_1 = P 10.18.0.3
With these parameters you are activating the reverse invoke, setting the port where the servers must register, and defining the servers permitted to connect to the Web Dispatcher.
Message Server
In the message server profile you only have to change one parameter:
ms/server_port_0 = PROT=HTTP, PORT=7001, RIHOST=10.18.0.1, RISERV=7010
With this parameter you declare the IP address and the Web Dispatcher port to the message server, which then opens the connection to this port.
ICM of the CI
In the profile of the central instance you also only have to change one parameter:
icm/server_port_0 = PROT=HTTP,PORT=7002, RIHOST=10.18.0.1, RISERV=7010
With this parameter you declare the IP address and the Web Dispatcher port to the ICM of the CI, which then opens the connection.
ICM of the DI
As with the ICM of the CI in the instance profile you set:
icm/server_port_0 = PROT=HTTP,PORT=7003, RIHOST=10.18.0.1, RISERV=7010