on 10-15-2009 11:11 AM
HI
We are editing 2 scripts to work on starting & stopping SAP service for daily backup without OS reboot (on a 2003 windows server).
The sequence we tried in the starting sap script is :
STOP SQL*Plus ->STOP Oracle Listener ->OracleService->SAPOSCOL ->startsap
We thought startsap can intrigue the start of Oracle DB & Oscol but obviously we have to first start these 2 servcies 1st (then only starting instances from MMC works)
However, with the command "startsap", the instance could be started but the Disp+Work wp ends in STOPPED status after trying running for a while. The Msg_server & igsdw could be staretd without problem.
Upon checking from the MMC, the instance is shown in yellow color.
(Does it have anything to do with the sapstartsrv.exe running as we can't kill this service)
Please advice for solutions.
Thanks in advance
Hi,
U cane check with this script to take offilne backup
____________________________________________________________
stopsap name=SID nr=** SAPDIAHOST=HOSTNAME
sqlplus.exe /nolog <shutdown.sql
brbackup -u / -t offline_force -c -v TAPE-ID -p Backupprofileid(initsid.sap)
startsap name=SID nr=** SAPDIAHOST=HOSTNAME
_____________________________________________________________
copies this script in the notepad and save it batch file. If u need , u can schedule.
Try it and reply.
Regards
MLN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
dispatcher is in yellow colour becuase oracle is not up.
so after oracle DB start, you go ahead with the startsap pf=<instance profile> .
Check and let us know.
Thanks
R.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I thought Net Start OracleServicexxx was for starting the oracle?
Also, by specifying the pf, do you mean sapstart pf=... ?
we ahven't got to try sapstart coz we thought startsap could do the trick.
1 mroe question : we have 1 central instance 00 and one more 10, does the starting sequence matter?
Thanks
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.