Show TOC

Example documentationSample Profiles for the ICM Locate this document in the navigation structure

 

A number of example profiles for the SAP NetWeaver Application Server are presented below. It displays only those parts that are relevant for the ICM and the ICM server cache.

You can transfer the following parameter values directly into the instance profile of a SAP NetWeaver Application Server.

Application Server with HTTP, HTTPS and SMTP Access

If you want to configure the SAP NetWeaver Application Server for HTTP, HTTPS, and SMTP, add (for example), the following lines to your instance profile.

Example Example

  1. # Definition of the ports
    icm/server_port_0 = PROT=HTTP, PORT=1080
    icm/server_port_1 = PROT=HTTPS, PORT=1443
    icm/server_port_2 = PROT=SMTP, PORT=1025
    
    # Parameters for SSL support
    sec/libsapsecu = $(DIR_EXECUTABLE)/libsapcrypto.so
    ssl/ssl_lib = $(DIR_EXECUTABLE)/libsapcrypto.so
    
End of the code.

For more information, see: icm/server_port_<xx>

Application Server with an Anticipated Small Load

If the anticipated load for the ICM is low, you can keep the number of threads small.

Example Example

  1. # Number of threads
    icm/min_threads = 10
    icm/max_threads = 20
    
End of the code.

More information:

icm/min_threads

icm/max_threads

Application Server with a High Expected Load

If you anticipate a high load for your SAP NetWeaver Application Server, you can set the following parameters to large values.

Syntax Syntax

  1. # Number of worker threads
    icm/min_threads = 50
    icm/max_threads = 250
    
    # Increase MPI memory area
    mpi/total_size_MB = 400
    
    # Max. number of connections, length of request queue
    icm/max_conn = 1000
    icm/req_queue_len = 1000
    
End of the code.

Caution Caution

The high-load recommendations are based on a 64-bit system. These settings could cause memory or address space bottlenecks on 32-bit platforms.

End of the caution.

For more information, see:

Memory Pipes and MPI Buffers

icm/max_conn

icm/req_queue_len

Binding Ports < 1024 on UNIX

If you want to bind ports less than 1024 on UNIX, you can use the external additional program icmbnd.

Syntax Syntax

  1. # Use default ports 
    # icmbnd needs root permissions
    # "chown root icmbnd" and "chmod 4755 icmbnd
      icm/server_port_0    = PROT=HTTP, PORT=80, EXTBIND=1
      icm/server_port_1    = PROT=HTTPS, PORT=443, EXTBIND=1
      icm/server_port_2    = PROT=SMTP, PORT=25, EXTBIND=1
      exe/icmbnd    = <path of executable>
End of the code.

For more information, see:

Binding Ports < 1024 on UNIX

icm/server_port_<xx>

Activating the HTTP Logfile

Working with an HTTP logfile is described in Logging in the ICM and Web Dispatcher. In the following example, the file is rewritten every month.

icm/HTTP/logging_0 = PREFIX=/, LOGFILE=access_log, MAXSIZEKB=4000, SWITCHTF=month, FILEWRAP=on

For more information, see: icm/HTTP/logging_<xx>