哪位大虾能提供下在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

具体操作如下:我将虚拟机网卡采用NAT的方式连接,同时将虚拟机里面的网卡地址(假设为192.168.122.1)设置与VMnet8下的IP在一个网段内(为192.168.122.3,网关设置为192.168.122.2)。打开虚拟机的编辑-虚拟网卡设置,将虚拟机里面的3201端口映射到服务器的3201端口上(因为我虚拟机里面的实例编号为01,一般设置3200的是因为实例编号为00),再将服务器的3201端口开放。就可以通过GUI7.2新建连接条目访问虚拟机上的系统了。应用服务器程序就是服务器的对外IP地址,实例编号是01,系统标识要打开虚拟机的SAP控制台看一下是什么了。

此方式可以让局域网内的其他机器访问这台服务器的系统。因为我的服务器有公网IP所以,我可以在家访问了!!速度很快

我为此花费了一天的时间,希望能对其他朋友有帮助!!

纠结的问题为一直打开3200端口,而忽略了是01号实例。


欢迎分享,转载请注明来源:夏雨云

原文地址:https://www.xiayuyun.com/zonghe/666396.html

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

发表评论

登录后才能评论

评论列表(0条)

    保存