Stop SAP Production for Maintain SAP & Oracle profile
#Central Instance and/or cluster without Monitoring by cluster
#SID=PRD
#sapuser=prdadm
#orauser=oraprd
#SAP Inst=DVEBMSGS02
#ASCS Inst=00
#SCS Inst=01
#host= vhost
Stop SAP Only
logon root
su - prdadm
stopsap R3 <vhost> stopsap r3;
stopsap sapstartsrv ASCS00 <vhost>
stopsap sapstartsrv SCS01 <vhost>
stopsap sapstartsrv DVEBMGS02 <vhost> saposcol -k
-or-
su - prdadm
stopsap r3;
stopsap sapstartsrv ASCS00 <vhost>
stopsap sapstartsrv SCS01 <vhost>
stopsap sapstartsrv DVEBMGS02 <vhost>
saposcol -k
-or-
stopsap ASCS00 <vhost> stopsap SCS01 <vhost>
stopsap DVEBMGS02 <vhost>
stopsap sapstartsrv ASCS00 <vhost>
stopsap sapstartsrv SCS01 <vhost>
stopsap sapstartsrv DVEBMGS02 <vhost>
saposcol -k
Stop SAP with Oracle DB
logon root
su - prdadm
stopsap
stopsap sapstartsrv DVEBMGS02 <vhost>
stopsap sapstartsrv ASCS00 <vhost>
stopsap sapstartsrv SCS01 <vhost>
stopsap sapstartsrv DVEBMGS02 <vhost>
saposcol -ksu - oraprd
lsnrctl stop
Start SAP Production for Maintain SAP & Oracle profile
logon root
# for listener oracle not start
su - oraprd
lsnrctl start
exit
su - prdadm
startsap SCS01 <vhost>
startsap ASCS00 <vhost>
startsap DVEBMGS02 <vhost>
-or-
su - prdadm
startsap
0 comments:
Post a Comment