To Shutdown oracle RAC databases.
Execute following on Primary or node1
$ srvctl stop database -d {database name}
To Shutdown ASM
Execute following on each node.
$ srvctl stop asm -n {Hostname}
Execute following on node1/Primary to stop node apps.
$ srvctl stop nodeapps -n host1
Finally Stop CRS on each RAC node.
switch user to root and execute following
set environment of CRS_HOME and cd to $CRS_HOME/bin
# ./crsctl stop crs
To check crs
# ./crsctl check crs
__________________________________________________________________
Start CRS on each RAC node. (CRS auto starts as part of init script if it does not start then use following command)
Make sure CRS is up on all nodes before starting node apps,ASM,Database.
To check crs
# ./crsctl check crs
switch user to root and execute following
set environment of CRS_HOME and cd to $CRS_HOME/bin
# ./crsctl start crs
Execute following on node1/Primary to start node apps.
$ srvctl start nodeapps -n host1
To start ASM
Execute following on each node.
srvctl start asm -n {Hostname}
To start oracle RAC databases.
Execute following on Primary or node1
srvctl start database -d {database name}
Execute following on Primary or node1
$ srvctl stop database -d {database name}
To Shutdown ASM
Execute following on each node.
$ srvctl stop asm -n {Hostname}
Execute following on node1/Primary to stop node apps.
$ srvctl stop nodeapps -n host1
Finally Stop CRS on each RAC node.
switch user to root and execute following
set environment of CRS_HOME and cd to $CRS_HOME/bin
# ./crsctl stop crs
To check crs
# ./crsctl check crs
__________________________________________________________________
Start CRS on each RAC node. (CRS auto starts as part of init script if it does not start then use following command)
Make sure CRS is up on all nodes before starting node apps,ASM,Database.
To check crs
# ./crsctl check crs
switch user to root and execute following
set environment of CRS_HOME and cd to $CRS_HOME/bin
# ./crsctl start crs
Execute following on node1/Primary to start node apps.
$ srvctl start nodeapps -n host1
To start ASM
Execute following on each node.
srvctl start asm -n {Hostname}
To start oracle RAC databases.
Execute following on Primary or node1
srvctl start database -d {database name}
No comments:
Post a Comment