Adding - Removing Java Servers
Adding - Removing Java Servers
Prerequisites
Context
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
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
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.
Procedure
1.
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
This option is available at instance level only.
If the template configuration allows you to enter a formula instead of an exact value, then
the Check Valueoption 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 Processcheckbox.
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.
8.
9.
Choose
.
In order the changes to take effect, restart AS Java.