Hiển thị các bài đăng có nhãn dispatcher. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn dispatcher. Hiển thị tất cả bài đăng

Thứ Ba, 6 tháng 3, 2012

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 DispatcherMemory 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 StepsMedia for the web dispatcher is provided with the J2EE kernel:
"/usr/sap/SID/Central-Instance/exe/sapwebdisp"
"/usr/sap/SID/Central-Instance/exe/icmadmin.SAR"

1.Download kernel files from SAP service market place

2.Extract kernel using
$ mkdir /tmp/sapwebdisp
$ cp dw_??_########.SAR /tmp/sapwebdisp
$ cd /tmp/sapwebdisp
$ sapcar –xvf dw_??_########.SAR (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 the icmadmin.SAR file into that directory using the command
$ sapcar –xvf icmadmin.SAR

5.Generate an initial profile for the Web Dispatcher by running the command
$ ./sapwebdisp –bootstrap



6.Start the web dispatcher with
$ cd /usr/sap/sapwebdisp
$ ./sapwebdisp pf=sapwebdisp.pfl –auto_restart


Profile ParametersThese are the most basic profile 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 the dispatcher is listening for incoming requests
->icm/http_admin_0
->>Configuration of admin access

link :
http://help.sap.com/saphelp_nw70/helpdata/en/42/5cfd3b0e59774ee10000000a114084/frameset.htm

Thứ Năm, 29 tháng 12, 2011

SAP R/3 dispatcher and work processes


Types of work processes:
Message : Coordinates the communication between different instances of a single SAP R/3 system. Used for Logon purpose and load balancing.
Dispatcher : Redirect the request from GUI client to free process.
Dialog : Interpreting the ABAP code and execute the business logic. Used for interactive online processing.
Batch : For Background jobs.
Enqueue : Single “Central Lock Management Service” that controls the locking mechanism between the different application servers and the database.
Update : Responsible for consistency in asynchronous data changes.
Gateway : Used for transport of bigger amount of data between application servers as well as external (non SAP) systems that communicate with SAP.