Some useful RAC 11G commands are documented below.
STOP SEQUENCE
COMMAND DESCRIPTION ------------------------------------------------------------------------------------------ srvctl stop database -d ORCL STOP DATABASE srvctl stop instance -d ORCL -i ORCL1 STOP first INSTANCE (skip it if running 'stop database' as that will stop both instances) srvctl stop instance -d ORCL -i ORCL2 STOP second INSTANCE (skip it if running 'stop database' as that will stop both instances) srvctl stop asm -n NODE1 STOP ASM INSTANCES on NODE 1 (In 11G , we have OCR on ASM so we cannot stop ASM, but if you have OCR in NON-ASM you should stop it) srvctl stop asm -n NODE2 STOP ASM INSTANCES on NODE 2 (In 11G , we have OCR on ASM so we cannot stop ASM, but if you have OCR in NON-ASM you should stop it) srvctl stop nodeapps -n NODE1 STOP NODEAPPS on NODE 1 srvctl stop nodeapps -n NODE2 STOP NODEAPPS on NODE 2 /etc/init.d/init.crs stop STOP CRS PROCESSES (AS ROOT USER)
START SEQUENCE
COMMAND DESCRIPTION ------------------------------------------------------------------------------------------- /etc/init.d/init.crs start START CRS PROCESS (AS ROOT USER) srvctl start asm -n NODE1 START ASM INSTANCE on node 1 srvctl start asm -n NODE2 START ASM INSTANCE on node 2 srvctl start database -d ORCL START DATABASE srvctl start instance -d ORCL -i ORCL1 START first INSTANCE (skip it if running 'start database' as that will start both instances) srvctl start instance -d ORCL -i ORCL2 START second INSTANCE (skip it if running 'start database', as taht will start both instances) srvctl start nodeapps -n NODE1 START NODEAPPS on NODE1 srvctl start nodeapps -n NODE2 START NODEAPPS ON NODE2
OTHER USEFUL COMMANDS
11gR2 Clusterware and Grid Home – What you need to know [ID 1053147.1]
Latest posts by Brijesh Gogia (see all)
- Oracle Multitenant DB 4 : Parameters/SGA/PGA management in CDB-PDB - July 18, 2020
- Details of running concurrent requests in Oracle EBS - May 26, 2020
- Oracle Multitenant DB 3 : Data Dictionary Architecture in CDB-PDB - March 20, 2020
Nice post, Thanks….
first of all i would like to say thanks for sharing this valuable information.
Thank you very much
I have a question that,how to stop the RAC database without using SRVCTL utility?
@Goutami
log in to individual nodes as sys and stop each instance – (shut immediate) will shutdown the Instance. Do this in all nodes – the last node with shut the database as well. (cumbersome approach). Recommended way is to use SRVCTL interface –
Thanks.., it will be very helpful…
Realy it would be helpful.Thanks Gr8 Job..
very nice and gd information thanks a lot………………..
nice post… Thank you
please provide me rac interview questions
mail id: srinivas498.dba@gmail.com
Very useful .
Hi ,
it would be more useful if we get the actual screenshots of these commands .
first of all i would like to say thanks for sharing this valuable information.
Thank you very much
Really very much useful
Thanks a lot
Thanks a lot.
Could you please share the RAC interview questions.
shaabdulhameed@gmail.com
Thank you it is very useful