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.
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
# 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
For more information, see: icm/server_port_<xx>
If the anticipated load for the ICM is low, you can keep the number of threads small.
Example
# Number of threads icm/min_threads = 10 icm/max_threads = 20
More information:
If you anticipate a high load for your SAP NetWeaver Application Server, you can set the following parameters to large values.
Syntax
# 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
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.
For more information, see:
If you want to bind ports less than 1024 on UNIX, you can use the external additional program icmbnd.
Syntax
# 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>
For more information, see:
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>