哪位大虾能提供下在Linux环境下启动SAP的具体 *** 作步骤

哪位大虾能提供下在Linux环境下启动SAP的具体 *** 作步骤,第1张

SAP服务器启动顺序:

服务器 *** 作系统启动完成(硬件和linux *** 作系统), 数据库启动完成, SAP应用程序启动完成

SAP服务器关闭顺序:

SAP应用程序关闭完成, 数据库关闭完成, 服务器 *** 作系统关闭完成 (硬件和linux *** 作系统)

启动SAP系统:登陆系统 (nbq是系统标识)

启动sap数据库服务器

su – oranbq

lsnrctl starus (检查数据库 ,可以不做)

lsnrctl start

启动sap应用服务器

su – nbqadm

startsap

关闭SAP系统:登陆系统

关闭sap应用服务器

su – nbqadm

stopsap

saposcol –k

sapstartsrv DVEBMGS00

stopsap sapstartsrv SCS01

关闭sap数据库

su – oranbq

lsnrctl stop

一、启动:

1、数据库启动

sapqas:su oraqas切换到数据管理帐号 (QAS应该是系统标识)

sapqas:oraqas 29>lsnrctl start 启动监听服务

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 04-JUL-2013 16:20:30

Copyright (c) 1991, 2011, Oracle. All rights reserved.

Starting /oracle/ECQ/112_64/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.3.0 - Production

System parameter file is /oracle/ECQ/112_64/network/admin/listener.ora Log messages written to /oracle/ECQ/saptrace/diag/tnslsnr/sapqas/listener/alert/log.xml

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ECQ.WORLD))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ECQ))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sapqas.site)(PORT=1521)))

Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=ECQ.WORLD)) STATUS of the LISTENER

------------------------

Alias LISTENER

Version TNSLSNR for Linux: Version 11.2.0.3.0 -

Production Start Date04-JUL-2013 16:20:54

Uptime0 days 0 hr. 0 min. 0 sec

Trace Level off

Security ON: Local OS Authentication

SNMP OFF

Listener Parameter File /oracle/ECQ/112_64/network/admin/listener.ora Listener Log File /oracle/ECQ/saptrace/diag/tnslsnr/sapqas/listener/alert/log.xml Listening Endpoints Summary...

(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ECQ.WORLD))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ECQ)))

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sapqas.site)(PORT=1521))) Services Summary...

Service "ECQ" has 1 instance(s).

Instance "ECQ", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully

sapqas:oraecq 30>sqlplus /nolog 连接数据库

SQL*Plus: Release 11.2.0.3.0 Production on Thu Jul 4 16:21:41 2013

Copyright (c) 1982, 2011, Oracle. All rights reserved.

SQL>conn /as sysdba 连接数据库实例

Connected to an idle instance.

SQL>startup 启动数据库

ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

ORACLE instance started.

Total System Global Area 4576575488 bytes

Fixed Size 2235848 bytes

Variable Size2298479160 bytes

Database Buffers 2264924160 bytes

Redo Buffers 10936320 bytes

Database mounted.

Database opened.

SQL>exit 数据启动完成,退出数据库连接

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

sapqas:oraecq 31>exit 退出用户

logout

2、应用服务器启动

sapqas: su qasadm 切换到SAP管理帐号 (QAS应该是系统标识)

sapqas:qasadm 51>startsap启动SAP应用程序

Checking ECQ Database Database is running

-------------------------------------------

Starting Startup Agent sapstartsrv

OK

Instance Service on host sapqas started

-------------------------------------------

starting SAP Instance DVEBMGS00

Startup-Log is written to /home/ecqadm/startsap_DVEBMGS00.log

-------------------------------------------

/usr/sap/ECQ/DVEBMGS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function

Start Instance on host sapqas started

sapqas:qasadm 51>exit SAP应用程序启动完成,退出用户

logout

二、关闭:

关闭SAP应用之前,请先登陆SAP,使用SM04查看是否还有在线用户,如有请通知退出。

1、关闭sap应用服务器

sapqas:su qasadm 切换到SAP管理帐号(QAS应该是系统标识)

sapqas:qasadm 50>stopsap停止SAP应用程序

Checking ECQ Database Database is running

-------------------------------------------

stopping the SAP instance DVEBMGS00

Shutdown-Log is written to /home/ecqadm/stopsap_DVEBMGS00.log

-------------------------------------------

/usr/sap/ECQ/DVEBMGS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Stop Instance on host sapqas stopped Waiting for cleanup of resources

..............

Trying to stop ECQ database ...

Log file: /home/ecqadm/stopdb.log ECQ database stopped Checking ECQ Database

Database is not available via R3trans

-------------------------------------------

sapqas:ecqadm 51>exit SAP应用程序和数据库关闭完成,退出用户。

Logout

2、关闭数据库服务器

sapqas:su qasecq切换到数据库管理用户(QAS应该是系统标识)

sapqas:oraqas 41>lsnrctl stop关闭监听

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 04-JUL-2013 16:49:03

Copyright (c) 1991, 2011, Oracle. All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=ECQ.WORLD)) The command completed successfully

sapqas:oraqas 42>exit 退出用户

logout sapqas:~ #

更多Linux知识可参考: https://www.linuxprobe.com/zhidao

Linux搭建服务器

1.

基础环境配置 1.1配置centos7 1.2安装xshall 1.3安装xftp7

2.

配置jdk 1.8 ==第一步 卸载系统自带的OpenJDK以及相关的java文件。


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/7245850.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-03
下一篇 2023-04-03

发表评论

登录后才能评论

评论列表(0条)

保存