cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dispatcher COnfig to HANA XS

Former Member
0 Kudos

Hi,

I'm looking for some advice on this as I hit a road block:

I've done the following:

1. Install Web Dispatcher and point it to my back end and front end

#Connection to backend

wdisp/system_0 = SID=YYY, MSHOST=hostname, MSPORT=8100, SRCURL=/,SRCULF=/sap/opu/odata;/sap/public/bc/;/sap/bc/

2. Access via Web Dispatcher to my Fiori Launcher and it went as it should (means my web dispatcher is working for front end and back end)

3. Configure the web dispatcher to HANA XS but it does not seem working since I cannot access /sap/hana/ via web dispatcher (meaning my routing was not working)

I define the sapwebdisp.pfl as the following

#parameters defined

wdisp/system_conflict_resolution = 1

wdisp/add_clientprotocol_header = 1

wdisp/handle_webdisp_ap_header = 1

wdisp/add_xforwardedfor_header = true

#HANA XS System

wdisp/system_1= SID=EXT, EXTSRV=http://hanalocalhost-XXX:8001, SRCSRV=*:*, SRCURL=/sap/hba/;/sap/hana


Note: XXX is the tenant SID, and I've tested I can access directly via HANA hostname

Is this correct?

Thank you

Accepted Solutions (0)

Answers (2)

Answers (2)

feng_shi
Active Participant
0 Kudos

Hi,

Currently, it seems that the following configuration is ok.

#HANA XS System

wdisp/system_1= SID=EXT, EXTSRV=http://hanalocalhost-XXX:8001, SRCSRV=*:*, SRCURL=/sap/hba/;/sap/hana

The integrated HANA Web Dispatcher is responsible for routing HTTP requests to the XS Engine(s).

is the integrated HANA Web Dispatcher up and running without any problem ?

what's SAP HANA SPS version ?

what error did you get when access /sap/hana/ via web dispatcher ?

what trace log output in webdispatcher trace file ?

please also see:

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

Best regards,

Shi Feng

isaias_freitas
Advisor
Advisor
0 Kudos

Hello,

It seems that the definition for the system 0 is incorrect.

Maybe it was a copy/past issue?


wdisp/system_0 = SID=YYY, MSHOST=hostname, MSPORT=8100, SRCURL=/,SRCULF=/sap/opu/odata;/sap/public/bc/;/sap/bc/

Please confirm that the actual parameter is like:


wdisp/system_0 = SID=YYY, MSHOST=hostname, MSPORT=8100, SRCURL=/sap/opu/odata;/sap/public/bc/;/sap/bc/

Otherwise, all requests will be sent to system 0 (because of SRCURL=/).

Regards,

Isaías

Former Member
0 Kudos

I changed to

wdisp/system_0 = SID=YYY, MSHOST=hostname, MSPORT=8100, SRCURL=/sap/opu/odata;/sap/public/bc/;/sap/bc/

also won't work.

I check web dispatcher admin console the external is detected as active but it just wont direct there.

any other thing that I can troubleshoot?

the other thing is when I look at my system_0 it says the URL MAPPING /sap/ to ABAP

maybe this one is the causing the redirection won't work? any intake?