cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dispatcher configuration for Analytical Apps

juancarlos_camachogarduo
Active Participant
0 Kudos

Hi everyone!

We are configuring SAP WebDispatcher with SimpleFinance to work with analitycs apps but we have an 503 issue in the Web Dispatcher -checkconfig and when we test the next xsodata through the Web Dispatcher

*testing the hana odata through dispatcher

*WebDispatcher -checkconfig

*Test of the hana service directly, its working fine

*Fiori through Dispatcher works fine too

*The IP of host sap4hana02-tn1.com can be resolved in the web dispatcher server, we do tracert with success...

Our landscape & webdispatcher.pfl;

a. SAP Web Dispatcher is installed on SAP4HANA03 and listening on HTTPs port 44306.

b. SAP Back/Front-end Server is installed on SAP4HANA02.

c. The public url for the SAP HANA tenant database is http://vmesap4hana02-tn1.com:8000,we apply the settings for the XS Engine & HTTP (S) Access to multitenant database containers, the XS Engine of the SYSTEMDB and the TN1 works fine.

wdisp/system_0 = SID=PW2, NR=00, MSHOST=sap4hana02.com, MSPORT=8102, SRCSRV=*:*, SRCURL=/sap/opu/odata, SSL_ENCRYPT=0

wdisp/system_1 = SID=PW2, NR=00, MSHOST=sap4hana02.southcentralus.cloudapp.azure.com, MSPORT=8102, SRCSRV=*:*, SRCURL=/sap/public/bc/;/sap/bc/, SSL_ENCRYPT=0

wdisp/system_2 = SID=TN1, EXTSRV=http://sap4hana02-tn1.com:8000,SRCSRV=*:*, SRCURL=/sap/hba/;/sap/hana/

Any suggestions?,

Accepted Solutions (0)

Answers (1)

Answers (1)

kirankola
Advisor
Advisor
0 Kudos

Hi Juan,


Try following parameters in your WD profile, restart, and retest:


wdisp/ssl_encrypt = 0

icm/accept_forwarded_cert_via_http = true


Also, Refer to SAP Web Dispatcher for Fiori guide: http://scn.sap.com/docs/DOC-62723

Regards,

Kiran

juancarlos_camachogarduo
Active Participant
0 Kudos

Hi Kiran!

Thanks for your suggestion, I added the parameters, restart and retest but still have the same issue.

Here our webdispatcher.pfl;

SAPSYSTEMNAME = PW8

SAPGLOBALHOST = SAP4HANA03

SAPSYSTEM = 06

INSTANCE_NAME = W06

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

DIR_EXECUTABLE = $(DIR_CT_RUN)

DIR_PROFILE = $(DIR_INSTALL)\profile

_PF = $(DIR_PROFILE)\PW8_W06_SAP4HANA03

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

#-----------------------------------------------------------------------

# Back-end system configuration

#-----------------------------------------------------------------------

wdisp/system_0 = SID=PW2, NR=00, MSHOST=sap4hana02.com, MSPORT=8102, SRCSRV=*:*, SRCURL=/sap/opu/odata, SSL_ENCRYPT=0

wdisp/system_1 = SID=PW2, NR=00, MSHOST=sap4hana02.com, MSPORT=8102, SRCSRV=*:*, SRCURL=/sap/public/bc/;/sap/bc/, SSL_ENCRYPT=0

wdisp/system_2 = SID=PW2, EXTSRV=http://sap4hana02-tn1.com:8000,SRCSRV=*:*, SRCURL=/sap/hba/;/sap/hana/, SSL_ENCRYPT=0

#wdisp/system_2 = SID=PW2, XSSRV=http://sap4hana02-tn1.com:8000,SRCSRV=*:*, SRCURL=/sap/hba/;/sap/hba*;/sap/hba/*/;/sap/hana/;/sap/bi/;/sap/viz/;/sap/vi/;/sap/ui5/;/sap/hba/apps/qtpl/s/odata/qtpl.xsodata

#-----------------------------------------------------------------------

# Configuration of maximum number of concurrent connections

#-----------------------------------------------------------------------

icm/max_conn = 2000

#-----------------------------------------------------------------------

# Tuning parameters that usually do not need to be adjusted

#-----------------------------------------------------------------------

icm/max_sockets = ($(icm/max_conn) * 2)

icm/req_queue_len = 500

icm/min_threads = 10

icm/max_threads = 50

mpi/total_size_MB = (min(0.06 * $(icm/max_conn) + 50, 2000))

mpi/max_pipes = ($(icm/max_conn) * 2)

wdisp/HTTP/max_pooled_con = ($(icm/max_conn))

wdisp/HTTPS/max_pooled_con = ($(icm/max_conn))

ssl/server_cache_size = (min($(icm/max_conn) * 4, 100000))

#-----------------------------------------------------------------------

# SAP Web Dispatcher Ports

#-----------------------------------------------------------------------

icm/server_port_1 = PROT=HTTPS,PORT=44306,TIMEOUT=120

icm/server_port_0 = PROT=HTTP,PORT=8006,TIMEOUT=120

#-----------------------------------------------------------------------

# SAP Web Dispatcher Administration

#-----------------------------------------------------------------------

icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=$(DIR_DATA)$(DIR_SEP)icmandir,AUTHFILE=$(icm/authfile),PORT=8006

#-----------------------------------------------------------------------

# Start webdispatcher

#-----------------------------------------------------------------------

_WD = $(DIR_EXECUTABLE)\sapwebdisp$(FT_EXE)

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

SETENV_01 = SECUDIR=$(DIR_INSTANCE)/sec

#-----------------------------------------------------------------------

# Configuring SAP Web Dispatcher

# To enable HTTPS

#-----------------------------------------------------------------------

DIR_INSTANCE = C:\usr\sap\PW8\W06

ssl/ssl_lib = C:\usr\sap\PW8\SYS\exe\nuc\NTAMD64\sapcrypto.dll

ssl/server_pse = C:\usr\sap\PW8\W06\sec\SAPSSLS.pse

ssl/client_pse = C:\usr\sap\PW8\W06\sec\SAPSSLC.pse

#wdisp/ssl_encrypt = 1

wdisp/ssl_auth = 1

#wdisp/add_client_protocol_header = 1

wdisp/ping_protocol = https

icm/HTTPS/verify_client = 0

wdisp/shm_attach_mode = 6

wdisp/ssl_encrypt = 0

wdisp/system_conflict_resolution = 1

wdisp/add_client_protocol_header = true

icm/accept_forwarded_cert_via_http = true

Now, we are trying to understand this with these notes;

1855097 - SAP Web Dispatcher support for SAP HANA XS load distribution and failover

2209246 - SAP Web Dispatcher for Multitenant Database Containers


2088121 - Web Dispatcher - Access to /sap/hana/xs/internal/topology.xscfunc is denied



Regards!

former_member655349
Discoverer
0 Kudos

This message was moderated.