服务器 *** 作系统启动完成(硬件和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用户将系统由4.1升级为5后,发现安装SAPGUI后,无法像在4.1系统中一样顺利的使用SAPGUI客户端,这个问题该如何解决呢?今天我就帮大家解决这个问题。解决方法:首先介绍一下红旗低版本的安装。在红旗桌面版4.1中安装和使用SAPGUI,还是很简单的,通常你只需要三个步骤:(一)安装JAVA环境,其实红旗桌面版4.1中已经自带了JAVA环境,如果你喜欢可以直接使用它,当然你也可以使用IBMJAVA的软件包。(二)安装SAPGUI for LINUX的软件包。安装时需要使用。/java -jar 对软件包进行安装。(三)进行参数设置。需要对etc下的profile文件进行修改,增加两个语句。export PLATIN_JAVA=/usr/bin/javaexport PLATIN_JAVA_VER=1.5.0需要说明的是第一个语句是设置java的安装位置;第二个语句是设置java的版本。在完成上述三个步骤后,就可以使用sap的客户端了。而在红旗桌面版5中,由于缺少了一个标准C语言函数库,如果不进行添加,仍不能使用sap客户端。这个标准的C语言函数库,你可以在compat-libstdc++-7.3-2.96.118.i386.rpm中得到。在安装上面的文件包后,就可以像红旗桌面4.1一样使用sap的客户端。以上就是如何在红旗桌面5中顺利使用SAPGUI的方法了,还在为这个问题烦恼的用户,不妨试试我的这种方法吧。欢迎分享,转载请注明来源:内存溢出
评论列表(0条)