The following example is of an SAP Web Dispatcher that is connected to two instances of a system - a central instance with the message server on the same machine and a dialog instance.
Here the Web Dispatcher is the RI client, the message server and the two instances are RI servers.
RI Configuration with Web Dispatcher
The Web Dispatcher has opened external port 1080. Here it receives HTTP requests, which it forwards to the two instances. The Web Dispatcher uses port 7010 as the RI port on which the RI servers can register. To run, the Web Dispatcher also needs data from the message server. This data is also transferred by HTTP. RI connections should be opened between the Web Dispatcher and the message server as well as between the Web Dispatcher and the two instances.
The table below shows the IP addresses of the participating servers and the ports used for the RI 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.
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.
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.
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.
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