This lesson explains the significance of the Instance ID and the order the system evaluates parameters and where these are stored.
Business Example
You want to determine the parameters for your SAP system and understand the usage of the Instance ID.
Introduction
Server Processes
The server processes of AS Java actually execute the Java application. They are responsible for processing incoming requests which are assigned to them by the ICM.
Each server process is multi-threaded, and can therefore process a large number of requests simultaneously.
When more than one server processes run inside a Java instance, all of them have the same capabilities.
During installation, the installation procedure configures the number of server processes in an instance based on the available hardware resources. You can add more server processes to an existing Java instance.
Server processes in an instance have a shared memory which enables much faster interaction. In the shared memory, server processes and the ICM store all their monitoring information, which can be used for detailed analysis of the current internal status of each Java instance.
All VMs in the instance have access to a shared memory area used as a session store, which is also a safeguard against VM failures. This is enabled by the use of SAP's own implementation of a Java Virtual Machine.
Configuration of Server Processes
To configure the Server Processes you could use different tools
- SAP NetWeaver Administrator (NWA)
- Config Tool
- Shell Console Administrator
Understand the Instance ID
To find the right place where to begin the configuration you need to understand the Instance ID.

Each SAP Java system contains the so-called box number, which is composed by 3 values: <SID> + <Instance Number> + <Hostname>. The Java ID is then generated from the box number.
The table above shows the information of each system and the ID they generated, which is stored at database level.
Hint
In case of an inconsistency in the box number or with the instance ID during a system copy, Software Provisioning Manager 1.0 SP10 and higher offers the option to easily correct it in your system.
Understanding the Parameter Evaluation Sequence
SAP systems can consist of an ASCS instance and one or more application server instances. We are focusing here on Application Server Instances because we want to configure Server notes.

A SAP instance is started with an operating system user (Windows: SAPService<SID> or Unix: sap<sid>). It's environment variables are evaluated when a SAP instance is started.
Also the SAP Java system and its instances are configured by profile parameters that are stored in profile files like SAP ABAP Systems. You differentiate between the default profile, and instance profiles. The profiles get's generated during SAP Installation.
When configuring Java Server Processes you find a Template within the Configuration Tools which can be changed in the Template Custom sections.
Each Instance passes the parameter to the Instance Default which can be changed in the Instance Custom sections.
Most of the configuration effort in connection with Java server processes arises on the template custom or instance custom level. Rather in exceptional cases, parameters are stored in the profiles.
Java Instance Homogeneity
The Java instance itself is homogeneous - all server processes running inside it have the same components deployed on each one of them. Moreover, they have the same:
- Configuration: all server processes use the same configuration template and share the instance custom settings
- Lifecycle: The status of all components is the same. When one component is started/stopped on one server process, it is started/stopped on all server processes in the Java instance. Hence, to guarantee homogeneity, if one component fails to start on one server process, it is stopped on all server process.
In the tool used, the presentation of the template custom and the instance custom differs.
Configuration Areas
The settings that can be configured on the different levels and could be divided into the following areas:
Configuration areas
Number of Server Processes
Properties for Managers (Kernel)
Properties for Services
JVM Parameters
- Filters
Log Configuration
Properties on an Application
- Shared Tables
- ...
The filters for example are used to determine which applications and services are started when the system is started. This can be done using the SAP NetWeaver Adminstrator or the Config Tool. The log configuration severity settings usually changed online using the SAP NetWeaver Administrator (NWA) but in case you need to change the format of the logs you have to use the Config Tool. The configuration of the applications is usually carried out using a special UI of the application, in some cases online in the NWA. Some services, for example the User Management Engine, provide an individual UI for online configuration.
Some of these settings options are described in more detail below. We will first take a look at the SAP JVMmemory management to get a better understanding of these parameters as an example.