cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Connection to SAP with SAP Web Dispatcher

Former Member
0 Kudos

Dear Experts,

i have installed a SAP Router + SAP ECC 6.0 IDES + SAP Portal 7.0 + SAP Solution Manager 7.0. The remote connection works.

SAP Router is in a DMZ

SAP ECC 6.0 IDES + SAP Portal 7.0 + SAP Solution Manager 7.0 are in another network only for SAP Systems

Fo security reason, i would like to install a SAP Webdispatcher with the SAP Router's Server.

I already:

have extracted the icmadmin.sar file

have executed the sapwebdisp -bootstrap command

have started the web dispatcher with sapwebdisp pf=sapwebdisp.pfl

have activated /sap/public/icman and /sap/public/icf_info/* services inthe SAP Solution Manager

As the saprouttab file for the saprouter, i would like to establish the connection to SAP withe the SAP WebDispatcher.

My questions are:

What are the parameters i have to put in the sapwebdisp.pfl file?

Do i have to create the PERMFILE and the AUTHFILE?

Any example of profil file? (another than the SAP Library example)

Thank you very much for your help in advance.

Best regards.

Pascal Tran.

PS: Here is the sapwebdisp.pfl file

  1. Profile generated by sapwebdisp bootstrap

  1. unique instance number

SAPSYSTEM = 50

  1. add default directory settings

DIR_EXECUTABLE = .

DIR_INSTANCE = .

  1. Accessibility of Message Servers

rdisp/mshost = <Solution_Manager_hostanme>

rdisp/msserv = sapms<Solution_Manager_SID>

ms/http_port = 81<Solution_Manager_Instance_Number>

  1. SAP Web Dispatcher Parameter

wdisp/auto_refresh = 120

wdisp/max_servers = 100

wdisp/shm_attach_mode = 6

  1. configuration for default scenario (medium size)

icm/max_conn = 500

icm/max_sockets = 1024

icm/req_queue_len = 500

icm/min_threads = 10

icm/max_threads = 50

mpi/total_size_MB = 80

#maximum number of concurrent connections to one server

wdisp/HTTP/max_pooled_con = 500

wdisp/HTTPS/max_pooled_con = 500

  1. SAP Web Dispatcher Ports

icm/server_port_0 = PROT=HTTP,PORT=8050

  1. SAP Web Dispatcher Web Administration

icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=./admin,AUTHFILE=icmauth.txt

  1. Hostname per default

icm/host_name_full = <SAP_Router_Hostname>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

The two important paramters are covered in your profile.

Accessibility of Message Servers

rdisp/mshost = <Solution_Manager_hostanme>

rdisp/msserv = sapms<Solution_Manager_SID>

ms/http_port = 81<Solution_Manager_Instance_Number>

And the port on which your webdispatcher listens from outside world.

icm/server_port_0 = PROT=HTTP,PORT=8050

For additional security you can use the https port also.

I dont think you need to maintain any other file manually.

I had configured web dispatcher but for 640 stack. It should be more or less the same.

An example file sapwebdisp.pfl

  1. Profile generated by sapwebdisp bootstrap

  1. unique instance number

SAPSYSTEM = 1

  1. Accessibility of Message Servers

rdisp/mshost = <hostname>

ms/http_port = 8101

ms/https_port = 8005

  1. SAP Web Dispatcher Parameter

wdisp/auto_refresh = 120

wdisp/max_servers = 100

wdisp/shm_attach_mode = 6

  1. configuration for default scenario (medium size)

icm/max_conn = 500

icm/max_sockets = 1024

icm/req_queue_len = 500

icm/min_threads = 10

icm/max_threads = 50

mpi/total_size_MB = 80

#maximum number of concurrent connections to one server

wdisp/HTTP/max_pooled_con = 500

wdisp/HTTPS/max_pooled_con = 500

wdisp/shm_attach_mode = 6

  1. SAP Web Dispatcher Ports

icm/server_port_0 = PROT=HTTPS,PORT=1443

icm/server_port_1 = PROT=HTTP,PORT=1081

icm/HTTPS/verify_client = 0

  1. SAP Web Dispatcher Web Administration

icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=./admin

DIR_INSTANCE = C:\Secudir

ssl/ssl_lib = C:\Secudir\sapcrypto.dll

ssl/server_pse= C:\Secudir\SAPSSLS.pse

wdisp/ssl_cred = SAPSSLS.pse

Former Member
0 Kudos

Hello Yatindra Mehta,

thank you for replying.

More details about my configuration:

On the SAP Router/WebDispatcher, there is no SAP System so no Stack ABAP and no Stack JAVA.

The message Server will be the Solution Manager 7.00 (Stack ABAP + JAVA)

Isn't the Message Server HTTPS Port 444<NN>?

Your parameter is ms/https_port = 8005. What does 05 refer to? Isn't your SAP System 01?

Could you please explain me those command lines:

icm/server_port_0 = PROT=HTTPS,PORT=1443 Why 1443 and not 44301?

icm/server_port_1 = PROT=HTTP,PORT=1081 Why 1081 and not 8001?

icm/HTTPS/verify_client = 0

Thank you very much.

Best regards.

Former Member
0 Kudos

Thank you for your help but i don't need anymore of the SAP Webdispatcher.

Best regards.

Pascal.

Answers (0)