RAC DATABASE關機步驟

tom_xieym發表於2011-08-03

1.srvctl relocate service -d nb -s web -i devdb2 -t devdb1

2.OEM伺服器開啟(oracle)
emctl start dbconsole
emctl stop dbconsole

DATABASE關機步驟

crs_stat -t
1.在第一個節點上操作
root#su - oracle
oracle$srvctl stop service -d nb -s web
oracle$srvctl stop service -d nb -s ap
oracle$srvctl stop database -d nb
oracle$srvctl stop nodeapps -n nbrac1
oracle$srvctl stop nodeapps -n nbrac2
oracle$exit
root#shutdown now
關閉第一個節點電源
2.在第二個節點上操作
root#shutdown now
關閉第二個節點電源
3.關閉磁碟櫃電源

DATABASE開機步驟
1.服務srvctl relocate service -d nb -s web -i devdb2 -t devdb1

2.OEM伺服器開啟(oracle)
emctl start dbconsole
emctl stop dbconsole

1.開啟磁碟櫃電源,一直等到磁碟櫃所有燈變綠
2.開啟節點
開啟節點時,資料庫會自動啟動,若沒有正常啟動,請按以下步驟操作:
root#su - oracle
oracle$srvctl start database -d nb
oracle$srvctl start service -d nb -s web
oracle$srvctl start service -d nb -s ap

注意事項:
請記住一定要把服務web,ap啟動起來
web: SFC查詢系統,SCM系統,SFC通報所連服務名稱
ap:  工程,生管,檢測所用周邊程式所用服務名稱

srvctl relocate service -d nb -s web -i devdb2 -t devdb1

srvctl start instance –I instance_name on hostname–d database_name

emctl start dbconsole
emctl stop dbconsole

OEM伺服器開啟(oracle)

srvctl relocate service -d nb -s web -i devdb2 -t devdb1

srvctl start instance –I instance_name on hostname–d database_name

emctl start dbconsole
emctl stop dbconsole

OEM伺服器開啟(oracle)

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25850100/viewspace-703951/,如需轉載,請註明出處,否則將追究法律責任。

相關文章