cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dispatcher configuration issue - cascade and ssl

bernd_speckmann
Contributor
0 Kudos

Hi there,

we want to access our SAP systems from our internal LAN and from the internet. For this I want to configure some Web Dispatchers.

The following scenario:

===DMZ ===

Web Dispatcher W00 (internet access)

== internal LAN ===

Web Dispatcher W01 (for system X)

Web Dispatcher W02 (for system Y)

Internal users should access system X or Y through W01 or W02. Internet user should access both systems through W00. AFAIK I have to configure a cascade of Web Dispatchers. I am using Web Dispatcher 7.2 and installed them with SAPInst.

For this I have the following configuration files:

====WD00=== WD0_W00_sapweb.pfl

SAPSYSTEMNAME = WD0

SAPGLOBALHOST = sapweb

SAPSYSTEM = 00

INSTANCE_NAME = W00

DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64

DIR_EXECUTABLE = $(DIR_CT_RUN)

DIR_PROFILE = $(DIR_INSTALL)\profile

PF = $(DIRPROFILE)\WD0_W00_sapweb

SETENV_00 = PATH=$(DIR_EXECUTABLE);%PATH%

wdisp/server_info_location = file://$(DIR_PROFILE)/info.icr

wdisp/group_info_location = file://$(DIR_PROFILE)/icrgroups.txt

wdisp/url_map_location = file://$(DIR_PROFILE)/urlinfo.txt

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

icm/server_port_0 = PROT=HTTP,PORT=81$$

WD = $(DIREXECUTABLE)\sapwebdisp$(FT_EXE)

Start_Program_00 = local $(_WD) pf=$(_PF)

SETENV_01 = SECUDIR=$(DIR_INSTANCE)/sec

ssl/ssl_lib = $(DIR_EXECUTABLE)$(DIR_SEP)$(FT_DLL_PREFIX)sapcrypto$(FT_DLL)

sec/libsapsecu = $(ssl/ssl_lib)

ssf/ssfapi_lib = $(ssl/ssl_lib)

====WD00=== info.icr

version 1.0

WDINTERNAL WD1W01

HTTP WDINTERNAL 8101

DIAG WDINTERNAL 8101 DIA=2

WDINTERNAL WD2W02

HTTP WDINTERNAL 8102

DIAG WDINTERNAL 8102 DIA=2

====WD00=== icgroups.txt

version 1.0

WDINTERNAL WD1W01

WDINTERNAL WD2W02

SX1: WDINTERNAL WD1W01

SX2: WDINTERNAL WD2W02

====WD00=== urlinfo.txt

version 1.0

PREFIX=/sap/bc/&GROUP=SX1

PREFIX=/sap/public/&GROUP=SX2

When I want to connect, the dev_wdisp shows the following errors:

Thr 4636] Fri May 06 11:00:25 2011

[Thr 4636] *** ERROR => missing host name [ictxxroute_r 3611]

[Thr 4636] *** ERROR => syntax error in text description near line 2 [ictxxroute_r 4202]

[Thr 4636] *** ERROR => IcrUpdateServerPoolFromDescrString() failed 6 [icrxx.c 3892]

and

[Thr 4864] Fri May 06 11:35:22 2011

[Thr 4864] *** ERROR => no valid destination server available for 'SX1' rc=14 [http_route.c 3360] [Thr 4864] *** WARNING => redirect failed request to foreign destination '!ALL' [http_route.c 3384] [Thr 4864] *** WARNING => original destination was 'SX1' [http_route.c 3387] [Thr 4864] *** ERROR => no valid destination server available for '!ALL' rc=13 [http_route.c 3360]

[Thr 4864] *** WARNING => redirect failed request to foreign destination '!ALL' [http_route.c 3384]

[Thr 4864] *** WARNING => original destination was '!ALL' [http_route.c 3387]

[Thr 4864] *** ERROR => no valid destination server available for '!ALL' rc=13 [http_route.c 3360]

Can anybody help me to find the problem?

How can I configure SSL in this scenario?

Thanks a lot.

Accepted Solutions (0)

Answers (2)

Answers (2)

bernd_speckmann
Contributor
0 Kudos

Issue solved.

Former Member
0 Kudos

Hi Bernd,

It would be nice to share how this was solved !

Regards,

Olivier

bernd_speckmann
Contributor
0 Kudos

Hi,

it as a problem regarding the info.icr and icrgroups.txt. I did not provide the right server and instance there.

You have to take server and instance like this:

version 1.0

<ABAP_ERP_SERVER_HOST>_<ABAP_SID>_<ABAP__INSTANCE_NUMBER>

HTTP <SECOND_WEB_DISPATCHER_FQDN> 80

DIAG <SECOND_WEB_DISPATCHER_FQDN> 80 DIA=2

Hope this helps...

Regards, Bernd

Former Member
0 Kudos

version 1.0

<ABAP_ERP_SERVER_HOST>_<ABAP_SID>_<ABAP__INSTANCE_NUMBER>

HTTP <SECOND_WEB_DISPATCHER_FQDN> 80

DIAG <SECOND_WEB_DISPATCHER_FQDN> 80 DIA=2

With this configuration, you must have a Web Dispatcher running on Host: ABAP_ERP_SERVER_HOST and Port: 80,

Which means Web Dispatcher is running on Central Instance of ERP System?

Thanks

SM

bernd_speckmann
Contributor
0 Kudos

No, I did not have a Web Dispatcher runnning on Central Instance of ERP System...

Regards, Bernd

Former Member
0 Kudos

Thanks, Bernd !

Former Member
0 Kudos

The reason I asked you was according to note:https://service.sap.com/sap/support/notes/740234

The file should be

info.icr:

Version 1.0

P54880_BIN_66 (THe backend erp system host binmain)

HTTP P54880 8083

DIAG P54880 8083 DIA=2

<blank line>

P54880_BCE_77 (THe backend erp system host bcemain)

HTTP P54880 8084

DIAG P54880 8084 DIA=2

As you have not obeyed the above note, and still it works, which is good for you as long as SAP supports.

I was wondering W00 might be Directly hitting the backend ERP systems bypassing INTRANET Webdispatchers, do you see any sessions on the Intranet Web Dispatcher?

Thanks

SM

Edited by: SM on Jun 14, 2011 10:10 PM

bernd_speckmann
Contributor
0 Kudos

Yes, I see the sessions on the intranet Web Dispatcher. And when I shut down the intranet Web Dispatcher, I does not work any longer.

SAP tolds me, that the hostname and SID set for the instance name does not have to be the hostname and SID of the second WDP.

Regards,

Bernd

Former Member
0 Kudos

agree, please share knowledge.

EDIT: Our issue was resolved by reviewing the forward rules int he dispatcher profile.

For a certain call no rule did exist and resulted in a bad forward

//Stefan

Edited by: Stefan Molzen on Feb 27, 2012 3:31 PM

Former Member
0 Kudos

1. edit the sapwebdisp profile using a editor, remove the SAPGLOBHOST and enter this value icm/host_name_full = W00 webdispatcher hostname

2. I would go with SSL Termination at W00 level so input this parameter: wdisp/ssl_encrypt = 0

3. W00 require a port to listen HTTPS connections, so put icm/server_port_1 = PROT=HTTPS, PORT=XXXX, TIMEOUT=15, PROCTIMEOUT=45

Restart the webdispatcher.

Let me know.

Regards

SM.

bernd_speckmann
Contributor
0 Kudos

Hi,

thanks for your answer. I tried it, but the problem still exists. Can anybody provide a complete working configuration?

Thanks ahead,

Bernd

Former Member
0 Kudos

Paste the dev_webdisp here.

Thanks

SM

bernd_speckmann
Contributor
0 Kudos

-


trc file: "dev_webdisp", trc level: 1, release: "720"

-


sysno 00

sid WD0

systemid 562 (PC with Windows NT)

relno 7200

patchlevel 0

patchno 24

intno 20020600

make multithreaded, Unicode, 64 bit, optimized

profile C:\usr\sap\WD0\SYS\profile\WD0_W00_sapweb

pid 4012

[Thr 3140] Wed May 11 16:54:12 2011

[Thr 3140] started security log to file ./dev_icm_sec

[Thr 3140] SAP Web Dispatcher running on: sapweb.emgl.loc

[Thr 3140] MtxInit: 30001 0 2

[Thr 3140] ***LOG IM1=> IcmInit, Startup (SAP Web Dispatcher&sapweb.emgl.loc&4012&) [icxxrout.c 1871]

[Thr 3140] IcmInit: listening to admin port: 65000

[Thr 3140] MPI: dynamic quotas disabled.

[Thr 3140] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%

[Thr 3140] CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

[Thr 3140] CCMS: Initalized shared memory of size 60000000 for monitoring segment.

[Thr 3140] CCMS: Checking Downtime Configuration of Monitoring Segment.

[Thr 3140] IcrCoreInitSessionTable: Session table initialized

[Thr 4712] HttpExtractArchive: files from archive
sapweb\sapmnt\WD0\SYS\exe\uc\NTAMD64/wdispadmin.SAR in directory C:/usr/sap/WD0/W00/data/icmandir are up to date

[Thr 4712] HttpISubHandlerAdd: Added handler HttpAdminHandler(0000000001AC2F30), slot=0, flags=36869) for /sap/admin, active: 1, table 0000000001AC3370

[Thr 4712] HttpISubHandlerAdd: Added handler HttpModHandler(0000000001AC37D0), slot=1, flags=12293) for /, active: 1, table 0000000001AC3370

[Thr 4712] CsiInit(): Initializing the Content Scan Interface

[Thr 4712] PC with Windows NT (mt,unicode,SAP_CHAR/size_t/void* = 16/64/64)

[Thr 4712] CsiInit(): CSA_LIB = "
sapweb\sapmnt\WD0\SYS\exe\uc\NTAMD64\sapcsa.dll"

[Thr 4712] HttpISubHandlerAdd: Added handler HttpAuthHandler(0000000001AC3A70), slot=2, flags=12293) for /, active: 1, table 0000000001AC3370

[Thr 4712] HttpISubHandlerAdd: Added handler HttpWebDispHandler(0000000001ACCCC0), slot=3, flags=1060869) for /, active: 1, table 0000000001AC3370

[Thr 4712] Started service 8100 for protocol HTTP on host "sapweb.emgl.loc"(on all adapters) (processing timeout=60, keep_alive_timeout=60)

[Thr 3140] IcmCreateWorkerThreads: created worker thread 0

[Thr 3140] IcmCreateWorkerThreads: created worker thread 1

[Thr 3140] IcmCreateWorkerThreads: created worker thread 2

[Thr 3140] IcmCreateWorkerThreads: created worker thread 3

[Thr 3140] IcmCreateWorkerThreads: created worker thread 4

[Thr 3140] IcmCreateWorkerThreads: created worker thread 5

[Thr 3140] IcmCreateWorkerThreads: created worker thread 6

[Thr 3140] IcmCreateWorkerThreads: created worker thread 7

[Thr 3140] IcmCreateWorkerThreads: created worker thread 8

[Thr 3140] IcmCreateWorkerThreads: created worker thread 9

[Thr 4300] IcmWatchDogThread: watchdog started

[Thr 1504] *** ERROR => missing host name [ictxxroute_r 3611]

[Thr 1504] *** ERROR => syntax error in text description near line 2 [ictxxroute_r 4202]

[Thr 1504] *** ERROR => IcrUpdateServerPoolFromDescrString() failed 6 [icrxx.c 3892]

[Thr 3192] Wed May 11 16:54:38 2011

[Thr 3192] *** ERROR => missing host name [ictxxroute_r 3611]

[Thr 3192] *** ERROR => syntax error in text description near line 2 [ictxxroute_r 4202]

[Thr 3192] *** ERROR => IcrUpdateServerPoolFromDescrString() failed 6 [icrxx.c 3892]

[Thr 3496] Wed May 11 16:55:03 2011

[Thr 3496] *** ERROR => missing host name [ictxxroute_r 3611]

[Thr 3496] *** ERROR => syntax error in text description near line 2 [ictxxroute_r 4202]

[Thr 3496] *** ERROR => IcrUpdateServerPoolFromDescrString() failed 6 [icrxx.c 3892]

[Thr 4028] Wed May 11 16:55:09 2011

[Thr 4028] *** ERROR => no valid destination server available for 'DE1' rc=14 [http_route.c 3360] [Thr 4028] *** WARNING => redirect failed request to foreign destination '!ALL' [http_route.c 3384] [Thr 4028] *** WARNING => original destination was 'DE1' [http_route.c 3387] [Thr 4028] *** ERROR => no valid destination server available for '!ALL' rc=13 [http_route.c 3360]

[Thr 4028] *** WARNING => redirect failed request to foreign destination '!ALL' [http_route.c 3384]

[Thr 4028] *** WARNING => original destination was '!ALL' [http_route.c 3387]

[Thr 4028] *** ERROR => no valid destination server available for '!ALL' rc=13 [http_route.c 3360]

Edited by: Bernd Speckmann on May 11, 2011 4:58 PM

Former Member
0 Kudos

Thr 1504 *** ERROR => missing host name ictxxroute_r 3611

Still complaining about hostname and about DE1 system did you placed the system info in icrgroups and info.icr file?

Thr 4028 Wed May 11 16:55:09 2011

Thr 4028 *** ERROR => no valid destination server available for 'DE1' rc=14 http://http_route.c 3360

Thr 4028 *** WARNING => redirect failed request to foreign destination '!ALL' http://http_route.c 3384

Thanks

SM

bernd_speckmann
Contributor
0 Kudos

My icrgroups:

version 1.0

SAPWEB1_WD3_W02

SAPWEB1_WD2_W01

QS1:SAPWEB1_WD3_W02

DE1:SAPWEB1_WD2_W01

my info.icr:

version 1.0

SAPWEB1_WD3_W02

HTTP SAPWEB1.COMP.LOC 8102

DIAG SAPWEB1.COMP.LOC 8102 DIA=2

SAPWEB1_WD2_W01

HTTP SAPWEB1.COMP.LOC 8101

DIAG SAPWEB1.COMP.LOC 8101 DIA=2

Former Member
0 Kudos

I believe this has to be System Number of INTRANET Web Dispatchers:

SAPWEB1_WD3_W02 <PLACE web disp System Number here>

SAPWEB1_WD2_W01 <PLACE web disp System Number here>

Tahnks

SM

bernd_speckmann
Contributor
0 Kudos

I tried it with the system number instead. But it didn't work either.

Any other solutions?

Regards, Bernd

Former Member
0 Kudos

Can you try

1. Disable the SSL and SSL termination parameters on the W00 Web Dispatcher and restart the W00.

2. The above would will be http --> http scenario and this should reveal issues in Dev_webdisp.

3. In reply paste the dev_webdisp of the INTRANET web dispatchers and W00 web disp.

Thanks

SM

bernd_speckmann
Contributor
0 Kudos

This is from dev_wdisp on internal Web Dispatcher:

[Thr 3768] Fri May 13 10:50:40 2011

[Thr 3768] *** ERROR => no valid destination server available for '!J2EE' rc=13 [http_route.c 3360] [Thr 3768] *** WARNING => redirect failed request to foreign destination '!ALL' [http_route.c 3384] [Thr 3768] *** WARNING => original destination was '!J2EE' [http_route.c 3387] [Thr 3768] *** ERROR => no valid destination server available for '!ALL' rc=4 [http_route.c 3360]

[Thr 3768] *** WARNING => redirect failed request to foreign destination '!ALL' [http_route.c 3384]

[Thr 3768] *** WARNING => original destination was '!ALL' [http_route.c 3387]

[Thr 3768] *** ERROR => no valid destination server available for '!ALL' rc=4 [http_route.c 3360]

Former Member
0 Kudos

According to your url.info

PREFIX=/sap/bc/&GROUP=SX1

PREFIX=/sap/public/&GROUP=SX2

This means the intranet web dispatcher only support ABAP as their backend system.

Once you startup WD00, what do you see under 'MONITOR SERVER GROUPS'?

Thanks

SM

bernd_speckmann
Contributor
0 Kudos

Hi,

I see several tabs (SX1, SX2).

SX1:

Numbers of Servers in this group: 0

Hosts in Group: emtpy

URL Prefixes: /sap/bc/ ABAP

The same for SX2.

Regards, Bernd