1. Start
SAP and Oracle
Connect to the operating system as user sidadm and start the
following commands :
rimprd:orasid 1>
lsnrctl start
LSNRCTL for IBM/AIX
RISC System/6000: Version 10.2.0.4.0 - Production on 22-JUL-2016 13:30:57
Copyright (c) 1991,
2007, Oracle. All rights reserved.
Starting /oracle/SID/102_64/bin/tnslsnr:
please wait...
TNSLSNR for IBM/AIX
RISC System/6000: Version 10.2.0.4.0 - Production
System parameter file
is /oracle/SID/102_64/network/admin/listener.ora
Log messages written
to /oracle/SID/102_64/network/log/listener.log
Listening on: (DESCSIDTION=(ADDRESS=(PROTOCOL=ipc)(KEY=SID.WORLD)))
Listening on: (DESCSIDTION=(ADDRESS=(PROTOCOL=ipc)(KEY=SID)))
Listening on: (DESCSIDTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1527)))
Connecting to
(ADDRESS=(PROTOCOL=IPC)(KEY=SID.WORLD))
STATUS of the LISTENER
------------------------
Alias
LISTENER
Version
TNSLSNR for IBM/AIX RISC
System/6000: Version 10.2.0.4.0 - Production
Start Date
22-JUL-2016 13:31:00
Uptime
0 days 0 hr. 0 min. 1
sec
Trace Level
off
Security
ON: Local OS Authentication
SNMP
ON
Listener Parameter
File /oracle/SID/102_64/network/admin/listener.ora
Listener Log File
/oracle/SID/102_64/network/log/listener.log
Listening Endpoints
Summary...
(DESCSIDTION=(ADDRESS=(PROTOCOL=ipc)(KEY=SID.WORLD)))
(DESCSIDTION=(ADDRESS=(PROTOCOL=ipc)(KEY=SID)))
(DESCSIDTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1527)))
Services Summary...
Service "SID"
has 1 instance(s).
Instance "SID",
status UNKNOWN, has 1 handler(s) for this service...
The command completed
successfully
hostname:orasid 2>
exit
hostname:orasid 3>
logout
# su - sidadm
hostname:sidadm 4>
startsap all
Checking SID Database
Database is not
available via R3trans
-------------------------------------------
Trying to start SID
database ...
Log file: /home/sidadm/startdb.log
SID database started
Starting Startup Agent
sapstartsrv
OK
Instance Service on
host hostname started
-------------------------------------------
starting SAP Instance
DVEBMGS00
Startup-Log is written
to /home/sidadm/startsap_DVEBMGS00.log
-------------------------------------------
/usr/sap/SID/DVEBMGS00/exe/sapcontrol
-prot NI_HTTP -nr 00 -function Start
Instance on host hostname
started
The SAP instance is then up and running.
You should be able to connect it through SAPGUI
2. Stop SAP
and Oracle
Connect to the operating system as user sidadm and start the
following commands :
sapdev:devadm > stopsap all (stopsap
stops the SAP instance and the Oracle database)
Checking
DEV Database
------------------------------
ABAP
Database is running
Stopping
the SAP instance DVEBMGS01
----------------------------------
Shutdown-Log
is written to /home/devadm/stopsap_DVEBMGS01.log
Instance
on host sapdev stopped
Waiting
for cleanup of resources....................
Running
/usr/sap/DEV/SYS/exe/run/stopdb
Trying
to stop DEV database ...
Log
file: /home/devadm/stopdb.log
DEV
database stopped
/usr/sap/DEV/SYS/exe/run/stopdb
completed successfully
Checking
DEV Database
------------------------------
ABAP
Database is not available via R3trans
As orasid user :
sapdev:oradev
2> lsnrctl stop
LSNRCTL
for HPUX: Version 10.2.0.2.0 - Production on 05-OCT-200 09:12:55
Copyright
(c) 1991, 2005, Oracle. All rights reserved.
Connecting
to (ADDRESS=(PROTOCOL=IPC)(KEY=DEV.WORLD))
The
command completed successfully
The
SAP instance and the Oracle database are then fully stopped.
There
should not be any SAP or Oracle processes running anymore.
now you can shutdown or reboot server for maintenence.