Sap Basis Questions: Starting and Stopping The SAP System (Unix)

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Sap Basis Questions

Sunday, January 20, 2008

How do you start SAP R/3?


A. To start R/3, run the shell script startsap from the home directory of user adm. startsap starts the saposcol process, which is the statistics collector for operating system resource data, if it is not yet running. startsap calls the script startdb, which starts the database if it is not already started. startsap then starts the central instance. The R/3 System administrator can start additional instances and application servers.

To start the instances independently of the database, use the script startsap. startsap has the following options: startsap r3: Checks if the database is running; if it is, only the instance is started startsap db: Starts only the database startsap all: Default entry; starts both the database and the R/3 instance

What are the step involved before stopping R/3 system


A) Before stopping any R/3 system following steps are basic steps to be performed. Before the R/3 System is stopped, the R/3 System administrator should check the: Check if any background jobs from any application server are active or have been triggered externally. Use transaction SM37 Check if the background work process BTC is running in any application server. Check if any update records are open when the system is stopped, the records are rolled back and set to status init. At startup, the records are processed again. The administrator must decide whether to interrupt the jobs or wait until they are finished. Give system users advance warning of the system shutdown. To create a system message, you can use transaction SM02. Before shutting down the system, use transaction SM04 to check whether users are still logged on, and ask them to log off. The R/3 System administrator and administrators of external systems should also inform one another about data transfers between their respective systems.

Starting and Stopping the SAP System (Unix)

Use
You can use the following commands under UNIX to start and to stop the SAP central instance and the database system.

Starting the SAP System


1. 1. Log on in UNIX as a user with SAP administrator authorization (<SID>adm). 1. Enter the command startsap [DB|R3|ALL] from your home directory. The following applies to this command: DB starts the database system
R3

starts the instances and associated processes of the SAP System (using the sapstartprogram)

starts both the database system and the SAP System. ALL is the default value and can be left out. 2. After you have started the database and the central instance, you can perform other actions within the CCMS.

ALL

To check whether all application servers of an SAP System were started correctly, start the Alert Monitor (transaction RZ20) or the Overview of SAP Application Servers (transaction SM51)

Stopping the SAP System


1. 1. Log on in UNIX as a user with SAP administrator authorization ( <SysID>adm). 1. 2. Enter the command stopsap [DB|R3|ALL] from your home directory. The following applies to this command: DB stops the database system
R3

stops the instances and associated processes of the SAP System

ALL

stops both the database system and the SAP System. ALL is the default value and can be left out.

You might also like