The RAC database running on my laptop has two nodes RAC1 and RAC2.
The instance names are brij1 and brij2.
The binary files to start-stop (srvctl, crsctl) can be located under $ORA_CRS_HOME/bin directory
SHUTDOWN PROCESS
@@@@@@@@@@@
First take down your database
1) STOP DATABASE ON ALL NODES
==============================
$ ./srvctl stop database -d brij
OR
1) STOP ALL INSTNACES
=======================
./srvctl stop instance -d brij -i brij1
./srvctl stop instance -d brij -i brij2
Second turn is of ASM instance.
2) Shut down all ASM instances on all nodes.
=========================================
./srvctl stop asm -n rac1
./srvctl stop asm -n rac2
Then you will shutdown all node applications
3) Stop all node applications on all nodes.
========================================
$ ./srvctl stop nodeapps -n rac1
$ ./srvctl stop nodeapps -n rac2
Verification >>>> Run ./crs_stat -t and it should show 'target' and 'state' for all components as "OFFLINE"
And the last step is ...
4) Shut down the Oracle Clusterware or CRS process by entering the following command on all nodes as the root user
=======================================================
/etc/init.d/init.crs stop
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
STARTUP PROCESS
@@@@@@@@@@
1) Start up the Oracle Clusterware or CRS process by entering the following command on all nodes as the root user
=======================================================
/etc/init.d/init.crs start
2) Start all node applications on all nodes
===========================================
./srvctl start nodeapps -n rac1
./srvctl start nodeapps -n rac2
3) Start up all ASM instances on all nodes.
=========================================
./srvctl start asm -n rac1
./srvctl start asm -n rac2
4) START ALL INSTNACES
=======================
./srvctl start instance -d brij -i brij1
./srvctl start instance -d brij -i brij2
OR
4) START DATABASE ON ALL NODES
==============================
$ ./srvctl start database -d brij
Verification >>>> Run ./crs_stat -t and it should show 'target' and 'state' for all components as "ONLINE"