Sample Profile for the ICM

The following section specifies a few sample profiles of the SAP NW Application Server.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 NW Application Server.

Application Server with HTTP, HTTPS and SMTP Access

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

# Port Definition

   icm/server_port_0    = PROT=HTTP, PORT=1080

   icm/server_port_1    = PROT=HTTPS, PORT=1443

   icm/server_port_2    = PROT=SMTP, PORT=1025

# Parameter Values for SSL Support

   sec/libsapsecu   = $(DIR_EXECUTABLE)/libsapcrypto.so

   ssl/ssl_lib      = $(DIR_EXECUTABLE)/libsapcrypto.so

See also:

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.

# Number of usable threads

icm/min_threads         = 10

icm/max_threads         = 10

See also:

icm/min_threads

icm/max_threads

Application Server with a High Expected Load

If you anticipate too much load for your SAP NW Application Server, you can set the following parameters to large values.

# Number of usable threads

icm/min_threads         = 50

icm/max_threads         = 100

# Increase the size of the MPI memory area

mpi/total_size_MB       = 80

# Number of maximum connections, length of the wait queue

icm/max_conn            = 1000

   icm/req_queue_len   = 250

See also:

Memory Pipes

icm/max_conn

icm/req_queue_len

Binding Ports Lower Than 1024 on UNIX

If you want to bind ports less than 1024 on UNIX, you can use the external additional program icmbnd. For more information, see Binding Ports Lower Than 1024 on UNIX.

# Use default ports

# icmbnd must have superuser authorizations:

# "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>

See also:

icm/server_port_<xx>

Activating the HTTP Logfile

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

# HTTP logfile: Bei einer DateigrцЯe von 4MB und beim Monatswechsel

# at the start of each new month

   icm/HTTP/logging_0  = PREFIX=/, LOGFILE=access_log,

                         MAXSIZEKB=4000, SWITCHTF=month, FILEWRAP=on

See also:

icm/HTTP/logging_<xx>