Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Script to shutdown/startup ASM,DATABASE,LISTENER in Windows

krishnakripOct 8 2016 — edited Oct 12 2016

Hi Everyone,

Kindly help me in making a scrip in Windows to shutdown database,listener,ASM and then to startup ASM,database,Listener.

I tried in below way..I am not sure whether a single scrip can do all 3 shutdowns...

shutdown  asm.bat

SET ORACLE_SID=+ASM

SET ORACLE_HME=m:\oracle\product\11.2.0.2\grid

sqlplus "/as sysdba"

show parameter instance;

shutdown immediate;

This post has been answered by EdStevens on Oct 8 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 9 2016
Added on Oct 8 2016
9 comments
1,582 views