Stop DB
sudo -iu oracle
default :- srvctl stop database -d PUNEDB ---------> will stop database on all nodes
srvctl stop database -d PUNEDB -o normal
srvctl stop database -d PUNEDB -o immediate
srvctl stop database -d PUNEDB -o transactional
srvctl stop database -d PUNEDB -o abort
START DB
sudo -iu oracle
default :- srvctl start database -d PUNEDB ----------------> will start database on all nodes
srvctl start database -d PUNEDB -o nomount
srvctl start database -d PUNEDB -o mount --------> for standby db, backup task
srvctl start database -d PUNEDB -o open ---------> default behaviour
STOP / START INSTANCE
sudo -iu oracle
srvctl stop instance -d PUNEDB -i PUNE1
srvctl start instance -d PUNEDB -i PUNE2
To Stop CLUSTERWARE / CRS :-
sudo -iu root
ps -ef | grep -i d.bin
cd ~/bin
~/bin # ./crsctl disable crs
~/bin # ./crsctl stop crs -f
To Start CLUSTERWARE /CRS :-
sudo -iu root
ps -ef | grep -i d.bin
cd ~/bin
~/bin # ./crsctl enable crs
~/bin # ./crsctl start crs

No comments:
Post a Comment