Vous êtes sur la page 1sur 3

RAC Start and stop

Prerequisite for stop a RAC instances

1. Cecking pfile created with updated parameters or create a latest pfile;


2. Latest controlfile trace backup had taken (alert log) 3. Check alert log before shut down 4. Check for all CRS components are ONLINE Shutting down RAC instance 1. shut instances on Node1 Check alert log parallel with tail f in linux and use textpad in windows srvctl stop instance -d e115 -i e1151 srvctl stop nodeapps -n emgdbp61 Check crs stat all other commponets in Node2 should be online then do crs_stat t

2. shut instances on Node2 (There no need to login node2 for shutting down)
srvctl stop instance -d e115 -i e1152 srvctl stop nodeapps -n emgdbp62 3. Stoping RAC D:\crs1110\BIN>crsctl stop crs 4. d

Startin oracle RAC instances Pre requiste for starting a RAC instance 1. Check the updated pfile is placed in $ORACLE_HOME\dbs path 2. Check the ORA_CRS_HOME patch 3. Start CRS D:\crs1110\BIN>crsctl start crs (This takes few time Wait for 2- 3 minutes or wait till
crs_stat t output comes)

4. Check RAC services D:\crs1110\BIN>crsctl check crs Cluster Synchronization Services appears healthy Cluster Ready Services appears healthy Event Manager appears healthy D:\crs1110\BIN>crsctl check cssd Cluster Synchronization Services appears healthy D:\crs1110\BIN>crsctl check crsd

Cluster Ready Services appears healthy D:\crs1110\BIN>crsctl check evmd Event Manager appears healthy

5. If all above are healthy then you can start Node1


srvctl start nodeapps -n emgdbp61 srvctl start instance -d e115 -i e1151 6. Start Node2 srvctl start nodeapps -n emgdbp62 srvctl start instance -d e115 -i e1152 7. Check crs_stat t output D:\crs1110\BIN>crs_stat -t Name Type Target State Host -----------------------------------------------------------ora....52.inst application ONLINE ONLINE emgdbp62 ora.E115.db application ONLINE ONLINE emgdbp61 ora....51.inst application ONLINE ONLINE emgdbp61 ora....61.lsnr application ONLINE ONLINE emgdbp61 ora....p61.gsd application ONLINE ONLINE emgdbp61 ora....p61.ons application ONLINE ONLINE emgdbp61 ora....p61.vip application ONLINE ONLINE emgdbp61 ora....62.lsnr application ONLINE ONLINE emgdbp62 ora....p62.gsd application ONLINE ONLINE emgdbp62 ora....p62.ons application ONLINE ONLINE emgdbp62 ora....p62.vip application ONLINE ONLINE emgdbp62 8. Also check other services also D:\crs1110\BIN>crsctl check crs Cluster Synchronization Services appears healthy Cluster Ready Services appears healthy Event Manager appears healthy D:\crs1110\BIN>crsctl check cssd Cluster Synchronization Services appears healthy D:\crs1110\BIN>crsctl check crsd Cluster Ready Services appears healthy D:\crs1110\BIN>crsctl check evmd Event Manager appears healthy 9. .

crsctl check crs crsctl check cssd crsctl check crsd crsctl check evmd crsctl stop crs crsctl start crs

D:\crs1110\BIN>crs_Stat -t Name Type Target State Host -----------------------------------------------------------ora....52.inst application ONLINE ONLINE emgdbp62 ora.E115.db application ONLINE ONLINE emgdbp61 ora....51.inst application ONLINE ONLINE emgdbp61 ora....61.lsnr application ONLINE ONLINE emgdbp61 ora....p61.gsd application ONLINE ONLINE emgdbp61 ora....p61.ons application ONLINE ONLINE emgdbp61 ora....p61.vip application ONLINE ONLINE emgdbp61 ora....62.lsnr application ONLINE ONLINE emgdbp62 ora....p62.gsd application ONLINE ONLINE emgdbp62 ora....p62.ons application ONLINE ONLINE emgdbp62 ora....p62.vip application ONLINE ONLINE emgdbp62 D:\crs1110\BIN>

Vous aimerez peut-être aussi