Show TOC

Procedure documentationAdding and Removing Server Processes Locate this document in the navigation structure

 

The installation procedure configures the optimal number of server processes in an instance based on the available hardware resources. This enables optimal utilization of the hardware resources and of the capacity of the ICM to handle multiple server processes.

Note Note

When planning the number of server processes you want to have in an AS Java instance, you can allocate one of them for debugging. This means that when you start AS Java, this debuggable server process will not be operational in order to reduce the system resources consumption. When a problem appears in AS Java, you can start this server process using the SAP MC and connect to it with debugger.

The debug server process is not included in the load balancing so end users will not experience stale requests (due to debugger breakpoints). However, you will still be able to monitor how your application/components behave in a cluster, inspect data and evaluate expressions.

More information: Enabling Debugging

End of the note.

If you need to add more server processes to an existing Java instance, you can do that manually using the Config Tool.

You can configure the number of server processes on two levels:

  • template level

    If you define a number of server processes on a template level, the number will be relevant for all Java instances in the cluster.

  • Java instance level

    If you specify a number of server processes for a particular Java instance, the number will be relevant only for this particular Java instance.

This graphic is explained in the accompanying text.

Prerequisites

  • You have installed the basic components of the cluster.

  • Make sure the AS Java is stopped.

More information: Starting and Stopping Systems and Instances.

Procedure

  1. Start the Config Tool by double-clicking the configtool script file in <SAP_install_dir>/<system_name>/<instance_name>/j2ee/configtool directory.

  2. From the tree-structure, choose the template or a Java instance according to the level you want to make configurations.

  3. Choose the Servers tab.

  4. In the Custom Number of Server Processes field, enter the number of server processes you want to have.

  5. Choose Check Value to verify that your server is capable of handling the number of server processes you entered. Correct the value if necessary.

    Note Note

    This option is available at instance level only.

    End of the note.

    If the template configuration allows you to enter a formula instead of an exact value, then the Check Value option calculates the formula and displays the value.

  6. Choose Set.

  7. If you want a server process (in a particular instance) to be debuggable, select the Debug a Server Process checkbox.

    Note Note

    You can set only one node for debugging in an instance. For more information, see the NOTE paragraph at the beginning of this page.

    End of the note.
  8. Choose Apply Changes (Apply Changes).

  9. In order the changes to take effect, restart AS Java.