Stoping RAC Services
=====================
Lnx01:
$export ORACLE_SID=hrms1
$emctl stop dbconsole
Lnx02:
$export ORACLE_SID=hrms2
$emctl stop dbconsole
Lnx01:
$srvctl stop service -d hrms
$srvctl stop database -d hrms
$srvctl stop asm -n lnx01
$srvctl stop asm -n lnx02
$srvctl stop nodeapps -n lnx01
$srvctl stop nodeapps -n lnx02
To check the status:
$srvctl status nodeapps -n lnx01
NOTE:
Nodeapps includes-
1: GSD (Global Service Domain)
2: ONS (Oracle Notification Service)
3: VIP (Virtual IP)
4: Listener
STOPPING CLUSTER
(Require Root privilege but in industry we will use pseudo)
Two methods to stop
===================
lnx01:
$cd /etc/init.d
#./init.crs stop
lnx02:
STOP CLUSTER BY USING DIFFERENT COMMAND
#cd /u01/app/oracle/product/10.2.0/crs_home/bin
#./crsctl check crs
#./crsctl stop crs
STARTING CLUSTER
lnx01:
#cd /etc/init.d
#./init.crs start
lnx02:
#cd /u01/app/oracle/product/10.2.0/crs_home/bin
#./crsctl start crs
First we have to shutdown the first node
Lnx01 #init 0
Lnx02 #init 0
./crsctl stat res -t
./crsctl check crs
Then stop the storage
If you do not have root password, we can login as oracle user & do, with the help of sudo.
$sudo /etc/init.d/init.crs start/stop
It will ask for password, i.e., Oracle Password.
=====================
Lnx01:
$export ORACLE_SID=hrms1
$emctl stop dbconsole
Lnx02:
$export ORACLE_SID=hrms2
$emctl stop dbconsole
Lnx01:
$srvctl stop service -d hrms
$srvctl stop database -d hrms
$srvctl stop asm -n lnx01
$srvctl stop asm -n lnx02
$srvctl stop nodeapps -n lnx01
$srvctl stop nodeapps -n lnx02
To check the status:
$srvctl status nodeapps -n lnx01
NOTE:
Nodeapps includes-
1: GSD (Global Service Domain)
2: ONS (Oracle Notification Service)
3: VIP (Virtual IP)
4: Listener
STOPPING CLUSTER
(Require Root privilege but in industry we will use pseudo)
Two methods to stop
===================
lnx01:
$cd /etc/init.d
#./init.crs stop
lnx02:
STOP CLUSTER BY USING DIFFERENT COMMAND
#cd /u01/app/oracle/product/10.2.0/crs_home/bin
#./crsctl check crs
#./crsctl stop crs
STARTING CLUSTER
lnx01:
#cd /etc/init.d
#./init.crs start
lnx02:
#cd /u01/app/oracle/product/10.2.0/crs_home/bin
#./crsctl start crs
First we have to shutdown the first node
Lnx01 #init 0
Lnx02 #init 0
./crsctl stat res -t
./crsctl check crs
Then stop the storage
If you do not have root password, we can login as oracle user & do, with the help of sudo.
$sudo /etc/init.d/init.crs start/stop
It will ask for password, i.e., Oracle Password.
No comments:
Post a Comment