Show TOC

Function documentationServer Functions Locate this document in the navigation structure

 

The server functions are used to deactivate or close down SAP servers without jeopardizing the requests the server is currently processing. They enable the server to complete all the requests it is currently processing without accepting any new requests.

Integration

These functions allow the state of an SAP server to be changed. The possible server states are described in SAP Application Server States.

Prerequisites

The functions in question are system administration functions that may only be used when a valid user name and password are given.

Features

The following functions can be used for the selected servers.

The functions described here are available in the message server monitor and in the server overview.

  • In the initial screen of the message server monitor (transaction SMMS), choose   Go To   Expert Functions   Server Administration  .

  • On the initial screen of the server overview (transaction SM51) choose   Goto   Server Name   Administration  .

Shut Down Server (Hard)

A hard termination is equivalent to a signal 2 at operating system level. The dispatcher and all its work processes are terminated; requests in the queue are ignored, and requests that are currently being processed are terminated.

Shut Down Server (Soft)

All services that the application server provides (updates, batches, and so on) are no longer available, but all requests that are still in the queue are completed by the work processes. Once all requests are completed, the application server terminates.

The corresponding server state is shutdown.

The Activate function can no longer be used to activate the server.

Test Connection

Tests the connection from the message server to the server on which the cursor is positioned.

In the status bar you can see whether the connection test was successful.

Close Connection

In this case, the connection between the selected server and the message server is terminated. No more requests from other application servers can reach the server.

This function tests the connection to the message server, because normally the connection has to be re-established immediately.

Deactivate

This is similar to Shut Down Server (Soft), but in this case the server does not shut down if it is not processing any more requests. Instead, the server has the state passive and can be reactivated at any time with the Activate function.

Activation

This is used to re-activate servers in the passive state. The state then returns to active.

Activate/Deactivate Trace

These functions relate to the NI (Network Interface) trace of the message servers. You can activate and deactivate the trace for the connection between the message server and the selected server.

More information: SAP Protocol

You can find the trace information in the trace file of the dev_ms message server.

More information: Trace Functions.