SAP R/3系统的启动和关闭

简介: SAP R/3系统的启动和关闭

SAP R/3系统的启动

SAP R/3系统的启动:

1.以<sid>adm用户执行startsap_<host>_<instance_no>,它还有一个alias叫startsap.

2.startsapstarts the saposcol进程,它是OS资源数据的statistics collector。

3.startsapcalls the script.startdb,

4.startsapthen starts the central instance.

5.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有以下选项:

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

SAP R/3 instance的启动:

1.脚本startsap调用叫作SAPSTART的程序.

2.Program SAPSTART reads the START PROFILE and starts the R/3 components and/or services listed in /usr/sap/<SID>/SYS/profile/START_<instance>_<hostname>.

-On a central instance, SAPSTART starts the message server, dispatcher, collector, and the sender.

-On a dialog instance, only the sender and the dispatcher are started. The collector and sender are used to implement the central R/3 System log.

(sapstartcreates the dispatcher, collector, and sender.saposcolis started directly from the script.startsap.)

3.The dispatcher forks and creates child processes:

-The work processes (dialog, background, spool, update, . . .) are created according to the information in the profiles /usr/sap/<SID>/SYS/profile/<SID>_<instance>_<hostname> and /usr/sap/<SID>/SYS/profile/DEFAULT.PFL.

-The gateway reader. This does not depend on the profiles, and it is always started.

4.All the work processes except the gateway reader connect to the database.

R/3启动的时候读取parameter的顺序:

1.C source in the R/3 kernel

2./usr/sap/<SID>/SYS/profile/DEFAULT.PFL

3. /usr/sap/<SID>/SYS/profile/<SID>_<instance>_<hostname>

4. The R/3 kernel (disp+work) reads the default and instance profile. If you change one of these profiles, you must restart the corresponding R/3 instance.

R3 startup logs and Traces

$HOME/<sid>adm/

stderr1 … mStandard error files of program SAPSTART

sapstart<m>.trcTrace files of program SAPSTART

sapstart.logStartup log of program SAPSTART

/sapmnt/<SID>/<Instance><No>/work/

dev_msTrace file of the message server

dev_dispTrace file of the dispatcher

dev_w0 … nTrace files of the work processes

Trace的Level可以在instance parameter中定义。

0: Write only errors (no traces)

1: Write error messages and warnings (default)

2: Write error messages and a short trace

3: Write error messages and the complete trace

如何查看这些Trace文件?

1.在OS level, you can use UNIX command ‘page’, ‘more’, or ‘cat’.

- In R/3, you can use transactionAL11.

- In R/3, you can use transactionSM50to see the developer trace for a particular work rocess:

chooseProcess→Trace→Display file(or click onDisplay file).

SAP R/3系统的关闭

SAP R/3系统的关闭:

1.用rz03关闭instance。

2. os level的关闭:stopsap [r3all]

从功能上讲,可以先关闭db(比如用brbackup进行offline备份的时候关闭db,而r3开着,但是不推荐)。

SAP不能关闭的排查:

1.If the database cannot be stopped when the R/3 System is stopped, this may be because:

nThe database is performing a rollback of aborted transactions caused by the shutdown of the R/3 System. Depending on the last commit and the application, this can take a long time.

nAn online backup is running. You should wait until the online backup is finished.nThe archiver becomes stuck at exactly the time you are stopping the R/3 System. To free the file system, you should save the archives in the correct order to tape.

2.If there is no obvious reason why the database cannot be stopped, the database administrator shoulduse transactionSM21to check the R/3 System log and the database alert file.

3.Before you try again to stop the database, ensure that the problem is solved.

4.For further information, see the R/3 Online Documentation on database backup, reorganization, and recovery.

相关文章
|
6月前
|
数据库
SAP系统不能启动解决方案
SAP系统不能启动解决方案
254 1
|
6月前
|
Oracle 关系型数据库 Unix
SAP系统拷贝 UNIX + Oracle
SAP系统拷贝 UNIX + Oracle
54 1
|
运维 小程序 Unix
SAP 关于一些日常运维用到的系统小程序
主要介绍处理一些系统数据,或者查询日志用到的小工具程序或函数
238 0
|
数据库
SAP ABAP——学生信息系统demo
本文是一个ABAP学生信息系统的demo,废话不多说直接看demo场景
199 0
SAP ABAP——学生信息系统demo
|
SQL JavaScript 前端开发
浅谈 SAP ABAP 系统里的 ALV 输出方式实现
浅谈 SAP ABAP 系统里的 ALV 输出方式实现
629 3
浅谈 SAP ABAP 系统里的 ALV 输出方式实现
|
数据安全/隐私保护
SAP系统邮件功能配置
相信SAP顾问或多或少都会接到用户要求SAP系统能够定时发送邮件的功能,定时将用户需要的信息已邮件的方式发送给固定的人员。很多初级的小伙伴不知道该如何配置这个邮件功能,下面就来讲一下SAP发送邮件应该如何配置。
SAP系统邮件功能配置
SAP BASIS如何查询指定的用户在SAP系统上做了哪些操作?
SAP BASIS如何查询指定的用户在SAP系统上做了哪些操作?
SAP BASIS如何查询指定的用户在SAP系统上做了哪些操作?
SAP QM 创建ROS维护检验工序,系统报错:Work center NMDC_QA plant NMDC does not exist for task list type S
SAP QM 创建ROS维护检验工序,系统报错:Work center NMDC_QA plant NMDC does not exist for task list type S
SAP QM 创建ROS维护检验工序,系统报错:Work center NMDC_QA plant NMDC does not exist for task list type S
SAP QM初阶之检验批系统状态中的CTCM该如何消除?
SAP QM初阶之检验批系统状态中的CTCM该如何消除?
SAP QM初阶之检验批系统状态中的CTCM该如何消除?
SAP QM 执行事务代码QS51维护使用决策的选择集,系统报错 – Transaction no longer valid for catalog ‘3’ -
SAP QM 执行事务代码QS51维护使用决策的选择集,系统报错 – Transaction no longer valid for catalog ‘3’ -
SAP QM 执行事务代码QS51维护使用决策的选择集,系统报错 – Transaction no longer valid for catalog ‘3’ -