Capítulo 3. Diseño y simulación del convertidor
3.4 Diseño y selección de los componentes del convertidor
Monitor the ICM work threads under a generated workload.
1. At operating system level of your server, start the icmon pf=<instance profile name>command and enter an instance profile of your SAP system for instance profile name.
Launch the menu (by pressing m) and generate load with the following values:
Continued on next page
Host Host on which your SAP system is running, such as twdfSSSS.wdf.sap.corp (default setting)
Port An ICM Port valid for your system, such as 8011
'1.x'=HTTP/1.x or '9.x' HTTPS
1.0(default setting)
Get request data from file
No(default setting)
Path /sap/public/icman/mime/theme.jpg
Optional Attributes No(default setting) Expected OK-Code 0(default setting) Think time in millisecs 0(default setting) Number of requests 5000
Number of threads 10
2. Observe in the ICM monitor how the requests generated by icmon are processed by the worker threads.
Result
You can use the icmon tool to monitor the ICM and to start workload simulations.
Solution 1: Administration of the ICM
Task 1: Checking the ICM Settings
Figure 18: Complete Scenario of the Training Landscape
Number, port, and release of the ICM processes in the training environment 1. How many ICM processes are running in your SAP system?
a) In the server overview (transaction SM51), count the application servers for which the ICM process is listed. An ICM process should be configured for each of your ABAP instances.
Continued on next page
2. Determine the port through which requests in the HTTP protocol are processed for the application server to which you are currently logged on.
a) Check the value of the profile parameter icm/server_port_0, for example:
• In the ICM Monitor (transaction SMICM) by choosing Services or Goto → Services
• In the ICM Monitor (transaction SMICM) by choosing Goto → Parameters → Display
• By executing report RSPFPAR
• In transaction RZ10
Hint: The determined port is instance-specific. In the training systems, the parameter icm/server_port_0 has the value PROT=HTTP,PORT=80$$ (and further timeout settings). The variable $$ is replaced by the instance number when the ICM is started, ensuring that ports are unique per host in all cases.
3. Which release of the ICM is used on the training system?
a) You can determine the ICM release in the ICM monitor by choosing Release Notes or Goto → Release Notes.
The information that you are looking for is at the start of the list. At the end of the list, all problems that are solved with the current patch level are listed (with associated SAP Notes).
Result
You know the port and release for the ICM process on the training system.
Task 2: Simple HTTP Requests
Start a request in the Web browser and monitor it with the ICM monitor.
1. Launch the following URL in your local Web Browser (in the training room or via the training WTS): http://<server with domain>:<ICM port>/sap/public/ping(example for group QAS and server twdf0042: http://twdf0042.wdf.sap.corp:8010/sap/pub-lic/ping).
The message “Server reached successfully” appears.
Note: The ICM port may not be available from your training room or the training WTS. In this case, use the Web browser available on your server.
a) Enter the specified URL in your local Web browser and choose Enter.
Hint: All services under /sap/public use a predefined user;
therefore, no logon is required for this request.
As of AS ABAP 6.20, services must be explicitly activated.
This has already been done in the training system for the services specified in this exercise.
2. Open the ICM monitor and note how many requests from your Web browser (you may have to Refresh the URL above) have been processed by the worker threads.
Hint: The data in the ICM monitor is instance-specific.
a) In the ICM monitor (transaction SMICM), choose the Refresh button after you have sent a few requests to the ICM.
3. Launch the following URL in your local Web Browser (in the training room): http://<server with domain>:<ICM port>/sap/public/icman/ping.
a) See task description. The message “server on host twdfSSSS system twdfSSSS_<SID>_<Instance> (000) successfully reached ” appears.
4. Launch the following URL in your local Web Browser (in the training room): http://<server with domain>:<ICM Port>/sap/public/icman/mime/theme.jpg.
a) See task description. A small image should appear.
Result
You can monitor the activity of the ICM.
Task 3: Load Test with icmon Tool
Monitor the ICM work threads under a generated workload.
1. At operating system level of your server, start the icmon pf=<instance profile name>command and enter an instance profile of your SAP system for instance profile name.
Continued on next page
Launch the menu (by pressing m) and generate load with the following values:
Host Host on which your SAP system is running, such as twdfSSSS.wdf.sap.corp (default setting)
Port An ICM Port valid for your system, such as 8011
Optional Attributes No(default setting) Expected OK-Code 0(default setting) Think time in millisecs 0(default setting) Number of requests 5000
Number of threads 10
a) If you have not already done so, log onto the Terminal Services Client (also known as the RDP Client) at operating-system level using the user <sid>adm.
b) Open Windows Explorer and navigate to the directory
G:\usr\sap\<SID>\SYS\profile. Click the profile directory with the right mouse button and choose Command Prompt Here.
c) Start the icmon program by specifying an instance profile:
icmon pf=<instance profile name>(example for the dialog instances of group QAS on server twdf0042: icmon pf=QAS_D11_twdf0042).
Hint: You can drag&drop a file name from the Windows explorer into the command prompt window.
d) Enter the command m to switch to the Monitor-Menue and generate load by entering the command g and the parameters specified in the task description.
2. Observe in the ICM monitor how the requests generated by icmon are processed by the worker threads.
a) In transaction SMICM, choose the Refresh function to observe the activity of the worker threads. You may notice that the ICM starts further worker threads.
Remember that the display in transaction SMICM is not system-wide, but only applies to your instance.
Note: The default load data generates 50,000 requests (that is, requests multiplied by threads).
Result
You can use the icmon tool to monitor the ICM and to start workload simulations.
Lesson Summary
You should now be able to:
• Describe the implementation area of the ICM
• Configure and monitor the ICM Related Information
• SAP NetWeaver 7.01 online documentation, path SAP NetWeaver Library
→ SAP NetWeaver by Key Capability → Application Platform by Key Capability → Platform-Wide Services → Architecture of the SAP NetWeaver Application Server → Internet Communication Manager (ICM)
• SAP NetWeaver 7.01 online documentation, path SAP NetWeaver Library
→ SAP NetWeaver by Key Capability → Solution Life Cycle Management by Key Capability → System Management → Administration of the Internet Communication Manager
• SAP Note 737625: Parameter Recommendations for the ICM
• SAP Note 421359: Binding <1024 on Unix
• SAP Note 634006: Preclarification of ICM Messages