Professional Documents
Culture Documents
Operation Modes
Operation Modes
Servers at the SAP application level are referred to as instance servers or application
servers in the SAP system architecture. The SAP application (application server) and
the database usually share a server. More powerful system landscapes have an SAP
system and a database running on two separate servers. The next step up from
this configuration is to create instance clusters, in other words, to set up various
SAP instances, which can run on different servers. This enhances the capabilities
of the system at the application level. However, the individual instances all still
access the same database.
Each instance provides a configurable number of work processes. These processes
are responsible for the actual processing of the tasks that are transferred to the
system. These may include executing a transaction in a user dialog or processing a
background job, for example. Work processes are divided into various types based
on the tasks for which they are reserved:
• Dialog work processes- execute ASAP dialog programs
• Batch work processes- execute background jobs
• Update work processes- control asynchronous database changes
• Enqueue work processes-execute lock operations
• Spool work processes- process print data
you can use operation modes to influence the type distribution of the work processes
dynamically
(in other words. during live operation). As a rule. work processes are switched in
synchronization with different times of the day. For example, more dialog processes
can be made available during daytime hours to handle the higher number of users
logging on. At night, when only a small number of users at most are using the
system, and the focus is on the processing of scheduled background jobs, the dialog
processes can be switched to batch processes. This ensures that more processes are
available for background processing.
3. On the following screen. position the cursor on the first operation mode row
5. Enter one of the operation modes you created (for example, DAYTIME) in the
OPERATION MODE field, or use the input help to select an operation mode. You
can use the 0 and GJ buttons to change the number of work processes. When
you've finished, choose SAVE
The number of dialog work processes is always determined by the other work process
types. In other words, you can't configure the dialog processes using the plus and minus
buttons. You can, for example, reduce the number of batch processes so that the number
of dialog processes increases.
6. Repeat steps 3 and 4, and select the next operation mode (for example, NIGHTTIME).
Configure the work process distribution, and click on Save
Minimum Number of Dialog Work Processes
Note that an instance must have at least two dialog work processes. The system will not
allow you to configure fewer dialog processes for any operation mode.
7. In the table view, position your cursor on the"*" entry, which is not needed,
and select the menu option INSTANCE • DELETE ENTRY to delete it.
8. Choose YES to confirm the dialog box, and then choose Save.
By following these steps. you have assigned the relevant operation modes to the
instance and defined how the work processes are to be distributed for each operation
mode. Next, you need to configure time-dependent operation mode switching.
3. On the next screen, you define the time interval for which the operation mode
is to be valid. Position your cursor at the start of the period (for example,
08.00-09.00. if daytime operations are to start at 8.00 a.m.). Select the menu
option OPERATION MODE • SELECT INTERVAL, Or press the [F2) key.
4. Then position your cursor at the end of the interval (for example, 19.00- 20.00,
if daytime operations are to end at 20.00). Once again, select the menu option
OPERATION MODE • SELECT INTERVAL Or press the [F2) key.
9. The status bar displays a message indicating that the operation mode set has
been saved for normal operation.
From this point on, the operation modes will be switched using this timetable.
A log entry is generated in the system log (Transaction SM21) when a switch has been
made. Both the old and new process types are recorded for each work process that is
switched. However, the type of work process can't be switched until the process becomes
available. In other words. a delay may be experienced while the work process is still
occupied. For example, if all background processes to be switched are still executing jobs,
the processes are switched one by one. as soon as the corresponding jobs have been
completed. Processing is not interrupted, and normal system operation proceeds without
disruption during switching.
4. The view switches back to the screen showing the server statuses and alerts.
Your selected operation mode is now displayed as the active operation mode.
Position the cursor on the relevant server, and select the menu option CONTROL ·
SWITCH OPERATION MODE • SELECTED SERVERS.