You are on page 1of 4

SAP WEB Dispatcher

The SAP Web dispatcher is used for Load Balancing and as a Software Web Switch, in a SAP
system with several SAP NetWeaver Application Servers for Web applications. It lies between the
Internet and SAP system in the DMZ. It is the entry point for HTTP(S) requests into the SAP system,
which consists of one or more Web application servers. As a "software Web switch", the SAP Web
dispatcher can reject or accept HTTP connections. When it accepts a connection, it balances the
load
to
ensure
an
even
distribution
across
the
servers.

Planning
:
Sizing
a
SAP
WEB
Dispatcher
Memory
usage
for
internal
tables
->
Server
tables
->>
Holding
information
about
connected
servers
->>
Usually
very
small
(90
kBdefault,
few
MB
for
very
large
system)
->
Connection
tables
->>
Holding
information
about
the
open
connections
->>
concurrent_conn=
(users
*
req_per_dialog_step*conn_keepalive_sec)/
(thinktime_per_diastep_sec)
->>
mpi/total_size_mb=
(concurrent_conn*
mpi_buffer_size)/(1024*
1024)
->>>
Default:
mpi_buffer_size=
32kB
->>>
Default:
mpi/total_size_mb=
500
->End
to
End
SSL
table
->>1.8
MB
for
10.000
entries
Installation
Media
for
the
web
dispatcher
is
"/usr/sap/SID/Central-Instance/exe/sapwebdisp"
"/usr/sap/SID/Central-Instance/exe/icmadmin.SAR"
1.Download
2.Extract
$
$
$
$
sapcar

kernel

files

from

SAP
kernel

cp
xvf

provided

mkdir
dw_??_########.SAR
cd
dw_??_########.SAR

with

service

the

J2EE

market

Steps
kernel:

place

using
/tmp/sapwebdisp
/tmp/sapwebdisp
/tmp/sapwebdisp
(disp+work
Package)

3.Copy the sapwebdisp and icmadmin.SAR files to a directory on what is to be the Web Dispatcher
host.
$
mkdir
/usr/sap/sapwebdisp
$
cp
/tmp/sapwebdisp/sapwebdisp
/usr/sap/sapwebdisp/.
$
cp
/tmp/sapwebdisp/icmadmin.SAR
/usr/sap/sapwebdisp/.
4.Extract
$
5.Generate
$

6.Start
$
$

Profile
These

the

icmadmin.SAR
sapcar

an

initial

profile

the

file

for

into

the Web
./sapwebdisp

cd

the

Dispatcher

web

./sapwebdisp

are

that
directory
xvf
by

using

the
command
icmadmin.SAR

running

the

dispatcher
pf=sapwebdisp.pfl

most

basic

profile

command
bootstrap

with
/usr/sap/sapwebdisp
auto_restart

Parameters
parameters

->SAPSYSTEM
->>Must be unique on the host and must be in the range between 0 98
->>Used to distinguish shared memory segments of different SAP WebDispatchers on the same host
->rdisp/mshost
->>Hostname of the host where the message server is running (in case of double stack installation
the
ABAP
MS
has
to
be
used)
->ms/http_port
->>Port
of
the
message
server
->wdisp/auto_refresh
->>Time
to
refresh
internal
routing
tables
->icm/server_port_0

->>protocol and port where


->icm/http_admin_0
->>Configuration of admin access

the

dispatcher

is

listening

for

incoming

requests

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@

Installing SAP Webdispatcher


1.

Read SAP Note 538405

2. Read SAP
Help:http://help.sap.com/saphelp_nw70/helpdata/en/b4/9aa8862e714e6db8e74e48e5d3283b/frameset.htm

3. Download the webdispatcher from http://service.sap.com/ ->Support Packages and Patches-> Entry by
Application Group-> Additional Components-> SAP Kernel-> SAP Kernel 32 Bit or SAP Kernel 64 Bit-> SAP
Kernel 7.01 -> Operating system platform-> Database independent ->The package is called sapwebdisp_<><...>.SAR, where <> indicates the patch level

4. Create a direactory /usr/sap/SID/webdisp on server and copy the downloaded webdispatcher sapwebdisp_3510006297.sar

5.

Uncar the downloaded file

6. /usr/sap/SID/SYS/exe/run/SAPCAR -xvf sapwebdisp_35-10006297.sar


7.

8.

chown SIDadm:sapsys *

9. Run this commnad to install webdispatcher: sapwebdisp.pfl -cleanup -shm_attach_mode 4


-auto_restart -bootstrap
10. Installation process provide the values to below parameters:
11. Hostname of Message Server (rdisp/mshost):messageserver hostname
12. HTTP Port of Message Server (ms/http_port): 81Instance_Number
13. Unique Instance Number for SAP Web Dispatcher (SAPSYSTEM): Give a unique name
14. HTTP port number for SAP Web Dispatcher: 280_Instance_Number
15. Create configuration for s(mall), m(edium), l(arge) system (default: medium): l
16. At the end you will see this message, SAP Web Dispatcher bootstrap ended (rc=0), *** SAP Web
Dispatcher up and operational (pid: 12956) ***
17. Then start the webdispatcher: sapwebdisp pf=sapwebdisp.pfl -checkconfig
18. Make sure the dispatcher started :
19. ps -ef grep webdisp
20. SIDadm 14561 11954 0 16:32:13 pts/2 0:00 grep sapwebdisp
21. SIDadm 12956 1 0 16:26:29 pts/1 0:01 sapwebdisp pf=sapwebdisp.pfl -shm_attach_mode 6

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@

You might also like